LibWeb: Implement AbstractWorker

This effectively implements Worker.onerror, and in future
SharedWorker.onerror.
This commit is contained in:
Jamie Mansfield 2024-09-01 12:52:14 +01:00 committed by Andreas Kling
commit 3440d2b843
Notes: github-actions[bot] 2024-09-02 11:12:17 +00:00
6 changed files with 65 additions and 1 deletions

View file

@ -1,5 +1,6 @@
#import <DOM/EventTarget.idl>
#import <DOM/EventHandler.idl>
#import <HTML/AbstractWorker.idl>
#import <HTML/MessagePort.idl>
// https://html.spec.whatwg.org/#worker
@ -21,3 +22,5 @@ dictionary WorkerOptions {
USVString credentials = "same-origin";
DOMString name = "";
};
Worker includes AbstractWorker;