mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
24 lines
837 B
Plaintext
24 lines
837 B
Plaintext
#import <DOM/EventTarget.idl>
|
|
#import <DOM/EventHandler.idl>
|
|
#import <HTML/WindowOrWorkerGlobalScope.idl>
|
|
#import <HTML/WorkerLocation.idl>
|
|
#import <HTML/WorkerNavigator.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/workers.html#workerglobalscope
|
|
[Exposed=Worker, UseNewAKString]
|
|
interface WorkerGlobalScope : EventTarget {
|
|
readonly attribute WorkerGlobalScope self;
|
|
readonly attribute WorkerLocation location;
|
|
readonly attribute WorkerNavigator navigator;
|
|
undefined importScripts(USVString... urls);
|
|
|
|
attribute OnErrorEventHandler onerror;
|
|
attribute EventHandler onlanguagechange;
|
|
attribute EventHandler onoffline;
|
|
attribute EventHandler ononline;
|
|
attribute EventHandler onrejectionhandled;
|
|
attribute EventHandler onunhandledrejection;
|
|
};
|
|
|
|
WorkerGlobalScope includes WindowOrWorkerGlobalScope;
|