Closed
Description
This was on an unrelated #70814 . Log:
[16:33:48] info: Starting: System.Security.Cryptography.Tests.dll
[16:33:52] warn: worker sent an error! http://127.0.0.1:32939/dotnet.worker.js:1: Uncaught Error: Assert failed: subtle crypto not initialized
[16:33:52] fail: [out of order message from the browser]: http://127.0.0.1:32939/dotnet.worker.js 0 worker.js onmessage() captured an uncaught exception: Error: Assert failed: subtle crypto not initialized
[16:33:52] fail: [out of order message from the browser]: http://127.0.0.1:32939/dotnet.worker.js 0 Error: Assert failed: subtle crypto not initialized
at Object.dotnet_browser_simple_digest_hash (http://127.0.0.1:32939/dotnet.js:3:69212)
at _dotnet_browser_simple_digest_hash (http://127.0.0.1:32939/dotnet.js:12:114039)
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[9008]:0x1d483e
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[345]:0x1e6f6
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[313]:0x1daf2
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[249]:0xf9aa
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[248]:0xe87a
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[8173]:0x1a5409
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[2050]:0x87ef2
at http://127.0.0.1:32939/dotnet.wasm:wasm-function[2048]:0x87e68
[16:33:52] fail: [out of order message from the browser]: http://127.0.0.1:32939/dotnet.js 11:25125 Uncaught ErrorEvent: Uncaught Error: Assert failed: subtle crypto not initialized
[16:33:52] fail: [out of order message from the browser]: http://127.0.0.1:32939/dotnet.worker.js 0 Uncaught Error: Assert failed: subtle crypto not initialized
[16:34:12] warn: Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread
[16:48:42] fail: Application has finished with exit code TIMED_OUT but 0 was expected
I found other instances of this issue via runfo.
cc @eerhardt