Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[blazor][wasm] Remove legacy interop #52732

Merged
merged 4 commits into from
Jan 9, 2024

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Dec 11, 2023

  • drop obsolete C# API IJSUnmarshalledObjectReference and IJSUnmarshalledRuntime
  • drop invokeJSFromDotNet()
  • drop toUint8Array()
  • drop readFloatField()
  • drop getArrayLength()
  • stop using BINDING.conv_string and BINDING.unbox_mono_obj
  • use MONO_INTERNAL.monoStringToStringUnsafe and MONO_INTERNAL.monoObjectAsBoolOrNullUnsafe instead

Depends on dotnet/runtime#95869
Fixes #48042

@pavelsavara

This comment was marked as outdated.

@pavelsavara pavelsavara requested a review from javiercn January 3, 2024 15:32
@pavelsavara pavelsavara marked this pull request as ready for review January 3, 2024 15:32
@pavelsavara pavelsavara requested a review from a team as a code owner January 3, 2024 15:32
@pavelsavara
Copy link
Member Author

Unrelated CI failure in IdentityUIScriptsTest.IdentityUI_ScriptTags_SubresourceIntegrityCheck
Log

Copy link
Member

@maraf maraf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me 👍

src/Components/Web.JS/src/Boot.WebAssembly.ts Show resolved Hide resolved
Copy link
Member

@javiercn javiercn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[blazor][wasm] Remaining legacy interop
3 participants