1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:17:45 +00:00

LibWeb: Add support for AbortSignal.reason

This commit is contained in:
Luke Wilde 2021-12-10 20:05:12 +00:00 committed by Idan Horowitz
parent 4dbda2d5b4
commit 64040c136e
6 changed files with 40 additions and 14 deletions

View file

@ -1,8 +1,9 @@
[Exposed=(Window,Worker)]
[Exposed=(Window,Worker), CustomVisit]
interface AbortSignal : EventTarget {
// FIXME: [NewObject] static AbortSignal abort();
// FIXME: [NewObject] static AbortSignal abort(optional any reason);
readonly attribute boolean aborted;
readonly attribute any reason;
attribute EventHandler onabort;
};