Luke Wilde
1a5bf15b4d
LibWeb: Implement AbortSignal.throwIfAborted
...
See: cfe2f1e
2021-12-10 23:05:36 +02:00
Luke Wilde
64040c136e
LibWeb: Add support for AbortSignal.reason
2021-12-10 23:05:36 +02:00
Luke Wilde
971d60c329
LibWeb: Implement AbortSignal.onabort
2021-10-01 02:10:56 +02:00
Andreas Kling
0ee457dfdf
LibWeb: Provide a default DOM::EventTarget::dispatch_event()
...
All EventTarget subclasses except Window do the same exact thing in
their overrides, so let's just share an implementation in the base.
2021-09-25 23:36:43 +02:00
Andreas Kling
90cdeebfb3
LibWeb: Rename DOM::Window::document() => associated_document()
...
Match the spec nomenclature.
2021-09-09 21:25:10 +02:00
Luke Wilde
1d8f8ea5b1
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
2021-09-02 09:12:17 +02:00