-
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
Reference IDL [Exposed] #312
Comments
I like this idea, but I need more information on how to do it. I'm opening this issue to avoid crossed discussions from #284. |
I agree that we should use [Exposed] editorially to expose web APIs to Realms. We will need to do a lot of plumbing in WebIDL to specify how this will actually work. cc @Ms2ger |
I want to be explicit that, at this time, I do not agree or disagree. I need to understand this first. |
Plumbing should be pretty limited; own exposure set would need to be updated to allow a particular value for Realms and exposed should interpret it, and then define the global property references should be called somewhere from the host when creating the Realm. Interfaces that opt in to being exposed in Realms would then need a change like -[Exposed=(Window,Worker)]
+[Exposed=(Window,Worker,Realm)]
interface TextDecoder { |
closing this in favor of #398 |
Originally posted by @codehag in #284 (comment)
The text was updated successfully, but these errors were encountered: