
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 :^)
12 lines
426 B
Text
12 lines
426 B
Text
[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;
|
|
};
|