Re: [whatwg/webidl] Ensure [Expose=*] works when the global object is not defined using IDL (PR #1177)

@domenic commented on this pull request.



> @@ -9430,26 +9430,33 @@ The <dfn>own exposure set</dfn> is the [=/set=] of identifiers defined as follow
     1.  Let |H| be |C|'s [=host interface=] if |C| is an [=interface mixin member=], or null otherwise.
     1.  If |C| is an [=interface member=], [=interface mixin member=], or [=namespace member=], then:
         1.  If the [{{Exposed}}] [=extended attribute=] is specified on |C|, then:
-            1.  If |H| is set, return the [=set/intersection=] of |C|'s [=own exposure set=]
-                and |H|'s [=exposure set=].
-            1.  Otherwise, return |C|'s [=own exposure set=].
-        1.  Otherwise, set |C| to be the
+            1.  If |H| is null, return |C|'s [=own exposure set=].
+            1.  If |C|'s [=own exposure set=] is <code>*</code>, return |H|'s [=exposure set=].
+            1.  If |H|'s [=exposure set=] is <code>*</code>, return |C|'s [=own exposure set=].
+            1.  Return the [=set/intersection=] of |C|'s [=own exposure set=] and |H|'s
+                [=exposure set=].

Seems reasonable otherwise!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1177#discussion_r941913302
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1177/review/1067527671@github.com>

Received on Wednesday, 10 August 2022 00:43:53 UTC