mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
29 lines
1 KiB
Text
29 lines
1 KiB
Text
#import <CSS/FontFaceSet.idl>
|
|
#import <DOM/EventTarget.idl>
|
|
#import <DOM/EventHandler.idl>
|
|
#import <HTML/MessagePort.idl>
|
|
#import <HTML/UniversalGlobalScope.idl>
|
|
#import <HTML/Window.idl>
|
|
#import <HTML/WindowOrWorkerGlobalScope.idl>
|
|
#import <HTML/WorkerLocation.idl>
|
|
#import <HTML/WorkerNavigator.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/workers.html#workerglobalscope
|
|
[Exposed=Worker]
|
|
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 FontFaceSource;
|
|
WorkerGlobalScope includes UniversalGlobalScope;
|
|
WorkerGlobalScope includes WindowOrWorkerGlobalScope;
|