1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:47:46 +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:
Luke Wilde 2021-09-02 02:12:49 +01:00 committed by Andreas Kling
parent dd1a49ff93
commit 1d8f8ea5b1
11 changed files with 254 additions and 0 deletions

View file

@ -38,6 +38,8 @@ set(SOURCES
CSS/ValueID.cpp
CSS/ValueID.h
Cookie/ParsedCookie.cpp
DOM/AbortController.cpp
DOM/AbortSignal.cpp
DOM/CharacterData.cpp
DOM/CharacterData.idl
DOM/Comment.cpp
@ -299,6 +301,8 @@ libweb_js_wrapper(CSS/CSSStyleSheet)
libweb_js_wrapper(CSS/Screen)
libweb_js_wrapper(CSS/StyleSheet)
libweb_js_wrapper(CSS/StyleSheetList)
libweb_js_wrapper(DOM/AbortController)
libweb_js_wrapper(DOM/AbortSignal)
libweb_js_wrapper(DOM/CharacterData)
libweb_js_wrapper(DOM/Comment)
libweb_js_wrapper(DOM/Document)