Skip to content

Conversation

@pavelsavara
Copy link
Member

  • add asserts for JSObject and JSException that they could be used only on original thread where they are bound to JS.
  • add asserts that legacy interop only works on main thread - ID 1

@pavelsavara pavelsavara added this to the 8.0.0 milestone Apr 18, 2023
@pavelsavara pavelsavara requested a review from lambdageek April 18, 2023 14:27
@pavelsavara pavelsavara self-assigned this Apr 18, 2023
@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@pavelsavara pavelsavara force-pushed the browser_jsobject_thread_owner branch from 5c67568 to fd383b6 Compare April 18, 2023 14:29
@ghost
Copy link

ghost commented Apr 18, 2023

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

Issue Details
  • add asserts for JSObject and JSException that they could be used only on original thread where they are bound to JS.
  • add asserts that legacy interop only works on main thread - ID 1
Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript

Milestone: 8.0.0

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

CI failures are unrelated

@pavelsavara pavelsavara marked this pull request as ready for review April 18, 2023 17:10
@pavelsavara pavelsavara requested review from kg and lewing as code owners April 18, 2023 17:10
@pavelsavara pavelsavara requested a review from maraf April 18, 2023 17:10
Copy link
Member

@ilonatommy ilonatommy left a comment

Choose a reason for hiding this comment

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

Looks good, only small copy-paste errors.

pavelsavara and others added 6 commits April 19, 2023 09:39
…stem/Runtime/InteropServices/JavaScript/Legacy/LegacyHostImplementation.cs

Co-authored-by: Ilona Tomkowicz <[email protected]>
# Conflicts:
#	src/libraries/System.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/JSObject.References.cs
@pavelsavara pavelsavara merged commit bf27d92 into dotnet:main Apr 19, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 19, 2023
@pavelsavara pavelsavara deleted the browser_jsobject_thread_owner branch September 2, 2024 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants