Skip to content

Commit 789e223

Browse files
committed
Expose AbortSignal.timeout on all globals
Delete the Exposed attribute from AbortSignal.timeout, letting it inherit [Exposed=*] from AbortSignal. Cf. whatwg/html#9893 where other timers are being exposed in ShadowRealm global contexts.
1 parent e1c9b00 commit 789e223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,7 @@ to <a for=AbortController>signal abort</a> on <a>this</a> with <var>reason</var>
18471847
[Exposed=*]
18481848
interface AbortSignal : EventTarget {
18491849
[NewObject] static AbortSignal abort(optional any reason);
1850-
[Exposed=(Window,Worker), NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);
1850+
[NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);
18511851
[NewObject] static AbortSignal _any(sequence&lt;AbortSignal> signals);
18521852

18531853
readonly attribute boolean aborted;

0 commit comments

Comments
 (0)