-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[browser] enable JsImportTaskTypes test #88728
Conversation
Assert.Same(e, await JavaScriptTestHelper.echopromise_Exception(e)); | ||
Assert.Same(j, await JavaScriptTestHelper.echopromise_JSObject(j)); | ||
GC.Collect(); | ||
await Task.Delay(10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious. Is an explicit GC.Collect
needed if we have a delay here, that should effectively yield?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this will yield to browser main loop, which I hope would give it a chance to run JS GC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delay(1) will also work (only 0 completes immediately) I think Task.Yield() should work as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW: on V8 the setTimeout
value is always ignored.
It also passed on CI, Log I don't know what fixed it, so it may appear again when running regularly on CI, but that would be better than not testing it at all. |
It re-appears here I will roll this back |
Diff: https://github.com/dotnet/runtime/compare/e4c5b3eda1952af05a4592fbe093a2e396d1902e..ae99bb2e7a0a5db7c2bff129322965fd3c6e820d From: dotnet/runtime@e4c5b3e To: dotnet/runtime@ae99bb2 Commits: - [mono][tests] Attempt to enable test (#88722) dotnet/runtime@c6e8726 - [LoongArch64] Implement Inline TLS field access for LoongArch64. (#88819) dotnet/runtime@76a7d1e - revert active issue dotnet/runtime#88728 (#88831) dotnet/runtime@2f853d1 - Skip RC2 encrypted PKCS12 files on Android for iteration counting dotnet/runtime@dedaf46 - JSON: Add support for {ReadOnly}Memory<T> (#88713) dotnet/runtime@4d5d2dc - [browser] Migrate more Blazor features, prepare JavaScript API for Blazor cleanup (#87959) dotnet/runtime@acccc01 - Ensure DOTNET_MaxVectorTBitwidth is interpreted as a decimal based input, not hexadecimal (#88761) dotnet/runtime@33e0669 - Add Keyed Services Support to Dependency Injection (#87183) dotnet/runtime@138cb59 - Deduplicate diagnostics emitted for managed->unmanaged and unmanaged->managed stubs (#88803) dotnet/runtime@ff7157b - Don't generate Unmanaged-to-Managed stubs with diagnostics (#88679) dotnet/runtime@e0acb9d - Ensure Vector256.Dot produces a V256 result (#88712) dotnet/runtime@620bd3e - Do not say the wrong default behavior for blittable arrays in ComInterfaceGenerator warning (#88212) dotnet/runtime@d361507 - [PERF] Explicitly set dotnet root when building tools (#88801) dotnet/runtime@58cd4d2 - Update enum value and assert (#88830) dotnet/runtime@563a549 - Add EnumBuilder implementation and other changes (#88503) dotnet/runtime@3eb6eef - [libs][Unix] Fix UTC alias lookup (#88641) dotnet/runtime@218d2ef - HttpClientHandler request metrics (#87319) dotnet/runtime@28a4c95 - Add missing sections in implicit machine.config (#88553) dotnet/runtime@62d6335 - [JIT] Added BEGIN and END anchors for disasm output (#88782) dotnet/runtime@36e32f8 - [mono][tests] Fix deadlock in pinvoke detach test (#88855) dotnet/runtime@31b1fd4 [... commit list trimmed ...] [[ commit created by automation ]]
Fixes #77334
I can't reproduce it anymore