Skip to content

Conversation

@pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Dec 18, 2025

  • load dotnet.diagnostics.js early when available in the boot config
  • add internal support for unit testing via dotnet.diagnostics.js
    • skeleton of symbolicateStackTrace
    • exitOnUnhandledError
    • appendElementOnExit
    • logExitCode
    • asyncFlushOnExit
    • forwardConsole
  • new internal MSbuild property <WasmTestSupport>true</WasmTestSupport> which deploys dotnet.diagnostics.js
  • new internal MSbuild properties WasmTestExitOnUnhandledError, WasmTestAppendElementOnExit, WasmTestLogExitCode, WasmTestAsyncFlushOnExit, WasmTestForwardConsole
  • set WasmTestSupport for library tests and WBT
  • implemented abortStartup(), abortTimers(), abortPosix()
  • implemented isExited(), isRuntimeRunning()
  • invoke LoadBootResourceCallback for Blazor
  • invoke Module.onConfigLoaded and Module.onDotnetReady
  • captures ExitStatus type
  • capture posix/emscripten abort()/exit() events
  • fixed locateFile - for query string propagation
  • hides BrowserHost_InitializeCoreCLR, BrowserHost_ExecuteAssembly from Module exports
  • reporting not found assemblies to debug log
  • make dotnet.run() to not call exit() and keep runtime alive.
    • This will be breaking change for CoreCLR vs Mono.
    • Because previous behavior was just confusing everyone.

Fixes #101169
Fixes #75335
On top of #122616
On top of #122495

@pavelsavara pavelsavara added this to the 11.0.0 milestone Dec 18, 2025
@pavelsavara pavelsavara self-assigned this Dec 18, 2025
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Host os-browser Browser variant of arch-wasm labels Dec 18, 2025
@pavelsavara pavelsavara force-pushed the browser_diag branch 2 times, most recently from a663d34 to 2fd14de Compare December 19, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-Host os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[browser] move console proxy from runtime code into test-main [wasm] Better communication between apphost and browser

1 participant