mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
LibWeb: Add support for AbortSignal.reason
This commit is contained in:
parent
4dbda2d5b4
commit
64040c136e
6 changed files with 40 additions and 14 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
// https://dom.spec.whatwg.org/#dom-abortcontroller-signal
|
||||
NonnullRefPtr<AbortSignal> signal() const { return m_signal; }
|
||||
|
||||
void abort();
|
||||
void abort(JS::Value reason);
|
||||
|
||||
private:
|
||||
AbortController(Document& document);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue