Re: [heycam/webidl] [WIP] Add mixins (#433)

tobie commented on this pull request.



> +                and |H|'s [=exposure set=].
+            1.  Otherwise, return |C|'s [=own exposure set=].
+        1.  Otherwise, set |C| to be the original [=interface=], [=mixin=], or [=namespace=]
+            definition of |C|.
+    1.  If |C| is a [=mixin=], then:
+        1.  If the [{{Exposed}}] [=extended attribute=] is specified on |C|, then:
+            1.  Return the [=set/intersection=] of |C|'s [=own exposure set=]
+                and |H|'s [=exposure set=].
+        1.  Otherwise, return |H|'s [=exposure set=].
+    1.  If |C| is a [=interface=] or [=namespace=], then:
+        1.  If the [{{Exposed}}] [=extended attribute=] is specified on |C|, then:
+            1.  Return |C|'s [=own exposure set=].
+        1.  Otherwise:
+            1.  Let |defaults| be a new [=list=].
+            1.  [=list/Append=] the [=primary global interface=] to |defaults|.
+            1.  Return |defaults|.

It is, but then you get to delete fewer lines when merging #423. ;)

-- 
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/433#discussion_r142009268

Received on Saturday, 30 September 2017 16:12:15 UTC