Re: [heycam/webidl] Add [[PlatformBrand]] internal slot to all platform objects (#97)

It sounds like we'd have two "entrypoints" to `[[PlatformBrand]]`:
- In WebIDL, when evaluating the phrase, "is a platform object that implements"
- In all the other specs, when they use the phrase, "a new XYZ object"

Is that what you were picturing, @annevk? The first one will be pretty easy to update, but the second would be a lot of work to go around fixing up. Would it be reasonable to add a "create a new platform object of interface |interface|" algorithm to WebIDL and update all the other specs to call into that?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/97#issuecomment-445468795

Received on Saturday, 8 December 2018 15:53:30 UTC