These no longer serve any purpose now that we run the IDLGenerator on all of these files at once.
13 lines
504 B
Text
13 lines
504 B
Text
// https://dom.spec.whatwg.org/#interface-AbortSignal
|
|
[Exposed=*]
|
|
interface AbortSignal : EventTarget {
|
|
[NewObject] static AbortSignal abort(optional any reason);
|
|
[Exposed=(Window,Worker), NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);
|
|
[NewObject] static AbortSignal _any(sequence<AbortSignal> signals);
|
|
|
|
readonly attribute boolean aborted;
|
|
readonly attribute any reason;
|
|
undefined throwIfAborted();
|
|
|
|
attribute EventHandler onabort;
|
|
};
|