1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

LibWeb: Add initial implementation for WorkerGlobalScope

This initial implementation stubs out the WorkerGlobalScope,
WorkerLocation and WorkerNavigator classes. It doesn't take into account
all the things that actually need passed into the constructors for these
objects, nor the extra abstract operations that need to be performed on
them by the rest of the Browser infrastructure. However, it does create
bindings that compile and link :^)
This commit is contained in:
Andrew Kaster 2022-02-06 19:12:57 -07:00 committed by Andreas Kling
parent 8b38df72a3
commit 820e99f97d
Notes: sideshowbarker 2024-07-17 19:06:15 +09:00
11 changed files with 527 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[Exposed=Worker]
interface WorkerLocation {
stringifier readonly attribute USVString href;
readonly attribute USVString origin;
readonly attribute USVString protocol;
readonly attribute USVString host;
readonly attribute USVString hostname;
readonly attribute USVString port;
readonly attribute USVString pathname;
readonly attribute USVString search;
readonly attribute USVString hash;
};