mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
LibWeb: Add initial support for AbortController and AbortSignal
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
This commit is contained in:
parent
dd1a49ff93
commit
1d8f8ea5b1
11 changed files with 254 additions and 0 deletions
|
@ -32,6 +32,8 @@ enum class Display;
|
|||
}
|
||||
|
||||
namespace Web::DOM {
|
||||
class AbortController;
|
||||
class AbortSignal;
|
||||
class CharacterData;
|
||||
class Comment;
|
||||
class Document;
|
||||
|
@ -203,6 +205,8 @@ class XMLHttpRequestEventTarget;
|
|||
}
|
||||
|
||||
namespace Web::Bindings {
|
||||
class AbortControllerWrapper;
|
||||
class AbortSignalWrapper;
|
||||
class CSSStyleDeclarationWrapper;
|
||||
class CSSStyleSheetWrapper;
|
||||
class CanvasRenderingContext2DWrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue