Thanks to visit codestin.com
Credit goes to github.com

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 support for unit testing via dotnet.diagnostics.js
    • skeleton of symbolicateStackTrace
    • exitOnUnhandledError
    • appendElementOnExit
    • logExitCode
    • asyncFlushOnExit
    • forwardConsole
  • implemented abortStartup(), abortTimers()
  • implemented isExited(), isRuntimeRunning()
  • captures ExitStatus type
  • capture posix/emscripten abort()/exit() events
  • propagate JS exit into posix
  • fixed locateFile - for query string propagation
  • hides BrowserHost_InitializeCoreCLR, BrowserHost_ExecuteAssembly from Module exports
  • reporting not found assemblies to debug log

TODO

  • new MSbuild flag similar to <EnableDiagnostics> which would include dotnet.diagnostics.js but not enable other runtime features
  • set the flag on for library tests and WBT

Fixes #101169
On top of #122616

pavelsavara and others added 6 commits December 17, 2025 20:01
…m Module exports

- reporting not found assemblies to debug log
- load dotnet.diagnostics.js early when available in the boot config
- add support for unit testing dotnet.diagnostics.js
  - skeleton of symbolicateStackTrace
  - exitOnUnhandledError
  - appendElementOnExit
  - logExitCode
  - asyncFlushOnExit
  - forwardConsole
- implemented abortStartup()
- implemented isExited(), isRuntimeRunning(),
- captures ExitStatus type
- capture posix/emscripten abort/exit events
- propagate JS exit into posix
- fixed locateFile - for query string propagation
@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
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

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

1 participant