-
Notifications
You must be signed in to change notification settings - Fork 5
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
rfc: Preload Realm for Service Workers #8
rfc: Preload Realm for Service Workers #8
Conversation
more more details on ServiceWorkerMain preload realm scripts add more to rationale format and autowrap clarify questions clarifications move rfc update rfc metadata prefer ServiceWorkerMain.ipc over ipcMain drop 'initiator' terminology in favor of reusing 'main' world spelling
Recent changes:
|
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.
Since the ShadowRealms proposal is apparently still in stage 2.7, we should make sure we mark this API as experimental until the web platform API is fully locked in, but otherwise this RFC LGTM
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.
RFC LGTM
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.
RFC LGTM
Regarding ShadowRealm TC39 proposal status, there's been a couple updates this year.
Before the ShadowRealm proposal is able to move forward, more work is needed on confirming the selection of APIs to be included within the new realm. Also, more test coverage is needed with WPT mentioned. The good news is that the V8 implementation seems to be stable according to the February slides and I added a WPT test as part of this RFC :) Assuming no major changes regarding Blink's implementation, we may see more built-in APIs exposed within the ShadowRealm which would be beneficial for Preload Realms as well. |
Reopened from #4 as my fork somehow became unlinked
Read rendered document
Recommended prerequisite readings:
If you're curious, there's a very rough wip prototype being written in https://github.com/samuelmaddock/electron/tree/feat/preload-realm
Todo: