Skip to content

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Mar 25, 2024

  • renamed BindJSImport to BindJSImportST and changed signature
    • it now returns null pointer to UTF16 buffer when there is no error
    • or zero terminated UTF16 buffer with error message, freed by receiver
  • renamed mono_wasm_bind_js_import to mono_wasm_bind_js_import_ST
  • implemented stringToUTF16Ptr
  • moved wrap_error_root to hybrid-globalization
  • makes failed binding JSException rather than abort

Contributes to #98365

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm labels Mar 25, 2024
@pavelsavara pavelsavara added this to the 9.0.0 milestone Mar 25, 2024
@pavelsavara pavelsavara requested a review from ilonatommy March 25, 2024 12:21
@pavelsavara pavelsavara self-assigned this Mar 25, 2024
Copy link
Contributor

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

@pavelsavara pavelsavara marked this pull request as ready for review March 25, 2024 14:09
@pavelsavara pavelsavara requested a review from lewing as a code owner March 25, 2024 14:09
@pavelsavara
Copy link
Member Author

I will wait with merging of this until #100271 is merged first

@pavelsavara pavelsavara added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Mar 26, 2024
@pavelsavara pavelsavara force-pushed the browser_drop_wrap_error_root branch from 9f5d587 to 9237222 Compare March 27, 2024 11:50
@pavelsavara pavelsavara removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Mar 27, 2024
@ilonatommy ilonatommy merged commit 40a6b1d into dotnet:main Mar 27, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript os-browser Browser variant of arch-wasm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants