-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Editorial: Accommodate changes to InitializeHostDefinedRealm #11962
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
base: main
Are you sure you want to change the base?
Conversation
... rather that pushing it onto the execution context stack.
annevk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll also have to change Service Workers which calls creating a new realm.
I guess we should have a follow-up issue on actually using realm to allocate the various global objects. I think Web IDL does allow for it now.
I'm wondering if there's a problem there. I gather that (e.g.) "a new |
|
Nice catch! I filed whatwg/webidl#1547. I think it might be beneficial if we could set realm.[[GlobalObject]] ourselves while we are building the global object, but it seems there's further issues as well that will need a different kind of change. |
... that I proposed in tc39/ecma262#3728.
(Creating this as a draft because that one hasn't been approved.)
/document-lifecycle.html ( diff )
/document-sequences.html ( diff )
/infrastructure.html ( diff )
/webappapis.html ( diff )
/workers.html ( diff )
/worklets.html ( diff )