Skip to content

Commit 16a01dd

Browse files
authored
Expose events and aborting everywhere
See tc39/proposal-shadowrealm#331 for context. Tests: web-platform-tests/wpt#31852.
1 parent 92cbea4 commit 16a01dd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dom.bs

+5-5
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ been {{Event/AT_TARGET}}.
370370
<h3 id=interface-event>Interface {{Event}}</h3>
371371

372372
<pre class=idl>
373-
[Exposed=(Window,Worker,AudioWorklet)]
373+
[Exposed=*]
374374
interface Event {
375375
constructor(DOMString type, optional EventInit eventInitDict = {});
376376

@@ -785,7 +785,7 @@ workers or worklets, and is inaccurate for events dispatched in <a>shadow trees<
785785
<h3 id=interface-customevent>Interface {{CustomEvent}}</h3>
786786

787787
<pre class=idl>
788-
[Exposed=(Window,Worker)]
788+
[Exposed=*]
789789
interface CustomEvent : Event {
790790
constructor(DOMString type, optional CustomEventInit eventInitDict = {});
791791

@@ -933,7 +933,7 @@ for historical reasons.
933933
<h3 id=interface-eventtarget>Interface {{EventTarget}}</h3>
934934

935935
<pre class=idl>
936-
[Exposed=(Window,Worker,AudioWorklet)]
936+
[Exposed=*]
937937
interface EventTarget {
938938
constructor();
939939

@@ -1720,7 +1720,7 @@ example of an API where the latter made sense.
17201720
<h3 id=interface-abortcontroller>Interface {{AbortController}}</h3>
17211721

17221722
<pre class=idl>
1723-
[Exposed=(Window,Worker)]
1723+
[Exposed=*]
17241724
interface AbortController {
17251725
constructor();
17261726

@@ -1768,7 +1768,7 @@ to <a for=AbortSignal>signal abort</a> on <a>this</a>'s <a for=AbortController>s
17681768
<h3 id=interface-AbortSignal>Interface {{AbortSignal}}</h3>
17691769

17701770
<pre class=idl>
1771-
[Exposed=(Window,Worker)]
1771+
[Exposed=*]
17721772
interface AbortSignal : EventTarget {
17731773
[NewObject] static AbortSignal abort(optional any reason);
17741774

0 commit comments

Comments
 (0)