Skip to content

Conversation

@pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Jan 12, 2024

get rid of legacy JS interop in unit tests, so that we can #96841
this implements

  • fake bind_static_method via [JSExport] and C# reflection (this always catches managed exceptions and marshals it)
  • bind_static_method_native which uses mono_wasm_invoke_method_raw, this let's exceptions unhandled, same way as legacy interop.

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Debugger-mono os-browser Browser variant of arch-wasm labels Jan 12, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Jan 12, 2024
@pavelsavara pavelsavara requested review from maraf and thaystg January 12, 2024 16:04
@pavelsavara pavelsavara self-assigned this Jan 12, 2024
@ghost
Copy link

ghost commented Jan 12, 2024

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

get rid of legacy JS interop in unit tests, so that we can #96841
this implements fake bind_static_method via [JSExport] and C# reflection

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-Debugger-mono, os-browser

Milestone: 9.0.0

@ghost
Copy link

ghost commented Jan 12, 2024

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

get rid of legacy JS interop in unit tests, so that we can #96841
this implements fake bind_static_method via [JSExport] and C# reflection

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-Debugger-mono, os-browser

Milestone: 9.0.0

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@pavelsavara pavelsavara marked this pull request as ready for review January 12, 2024 17:06
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

image
image

The MT debugger test fail is known #89409, the actual tests passed Log

@pavelsavara pavelsavara merged commit 72604a4 into dotnet:main Jan 14, 2024
@pavelsavara pavelsavara deleted the browser_debugger_invoke branch January 14, 2024 18:01
tmds pushed a commit to tmds/runtime that referenced this pull request Jan 23, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

arch-wasm WebAssembly architecture area-Debugger-mono os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants