Re: [heycam/webidl] Define "implements" checks using internal slots (#654)

bzbarsky approved this pull request.



> @@ -12364,6 +12359,20 @@ The value of the [=function object=]’s <code class="idl">name</code> property
 
 <h3 id="es-platform-objects">Platform objects implementing interfaces</h3>
 
+<div algorithm>
+    An ECMAScript value |value| <dfn id="es-is-platform-object">is a platform object</dfn>
+    if [$Type$](|value|) is Object and if |value| has a \[[PrimaryInterface]] internal slot.

So here is an interesting question:  How should WindowProxy interact with all this?  Probably followup fodder...

-- 
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/pull/654#pullrequestreview-207448602

Received on Monday, 25 February 2019 15:16:22 UTC