-
Notifications
You must be signed in to change notification settings - Fork 67
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
Expose some Web APIs on ShadowRealms #331
Comments
Depends on whatwg/webidl#526 |
That sounds reasonable to me. |
I put a checklist in the issue summary |
How did we get this list of things to expose everywhere? There are some very surprising APIs in the list. |
@smaug---- Anything in particular? |
Especially Scheduling API, but possibly also resource timing, if fetch isn't really exposed. |
@smaug---- on the scheduling API we followed the advice we got there and decided to not add it (that issue is now closed and removed). We had a sync with some implementers and other stakeholders that resolved into this list. I believe we can work this out. Perhaps a similar flexibility can be observed to resource timing. @Ms2ger WDYT? |
Happy to reconsider, of course. I don't claim to fully understand resource timing, but perhaps it is useful for tracking module loading? |
… a=testonly Automatic update from web-platform-tests Add tests for Web APIs in ShadowRealms. (#32800) Ref. tc39/proposal-shadowrealm#331. -- wpt-commits: 0e5b126cd0a8da9186b738b8c9278d19b594c51f wpt-pr: 32800
… a=testonly Automatic update from web-platform-tests Add tests for Web APIs in ShadowRealms. (#32800) Ref. tc39/proposal-shadowrealm#331. -- wpt-commits: 0e5b126cd0a8da9186b738b8c9278d19b594c51f wpt-pr: 32800
… a=testonly Automatic update from web-platform-tests Add tests for Web APIs in ShadowRealms. (#32800) Ref. tc39/proposal-shadowrealm#331. -- wpt-commits: 0e5b126cd0a8da9186b738b8c9278d19b594c51f wpt-pr: 32800
… a=testonly Automatic update from web-platform-tests Add tests for Web APIs in ShadowRealms. (#32800) Ref. tc39/proposal-shadowrealm#331. -- wpt-commits: 0e5b126cd0a8da9186b738b8c9278d19b594c51f wpt-pr: 32800
It looks like all of the relevant PRs to various specs have landed, with the sole exception of console (just blocking on manual tests--maybe we should just push back on that request). The only thing I see missing is some machinery in WebIDL: I don't think these APIs are actually exposed to ShadowRealm at the moment, as ShadowRealm is not an interface. We should probably add some plumbing in WebIDL to handle it specially. |
I think it would be better to make the relevant requirements in HTML, as that already deals with most of the globals of the web platform and integration with ShadowRealm. |
Everything I wanted to do in this issue is done. |
Meta issue - relevant changes will be made to the Web specs.
The text was updated successfully, but these errors were encountered: