mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
The DOM specification says that the primary use case for these is to give Promises abort semantics. It is also a prerequisite for Fetch, as it is used to make Fetch abortable. a
9 lines
209 B
Plaintext
9 lines
209 B
Plaintext
[Exposed=(Window,Worker)]
|
|
interface AbortSignal : EventTarget {
|
|
// FIXME: [NewObject] static AbortSignal abort();
|
|
|
|
readonly attribute boolean aborted;
|
|
|
|
// FIXME: attribute EventHandler onabort;
|
|
};
|