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

The other thing that would be useful here is some shorthands around it. When you check against the list of platform brands, there's a difference if the matched  value is first in the list or somewhere else (or last and somewhere else, depending on order).

E.g., in DOM we sometimes want to match DocumentFragment, but not ShadowRoot (a subclass).

-- 
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-321555999

Received on Thursday, 10 August 2017 13:47:59 UTC