Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
[Exposed=Worker,
InstrumentedProps=(permissions)]
interface WorkerNavigator {
};
WorkerNavigator includes NavigatorID;
WorkerNavigator includes NavigatorLanguage;
WorkerNavigator includes NavigatorOnLine;
WorkerNavigator includes NavigatorConcurrentHardware;
WorkerNavigator includes NavigatorStorage;
WorkerNavigator includes GlobalPrivacyControl;
[Exposed=Worker]
partial interface WorkerNavigator {
[Pref="dom.netinfo.enabled", Throws]
readonly attribute NetworkInformation connection;
};
[Exposed=Worker]
partial interface WorkerNavigator {
[SameObject]
readonly attribute MediaCapabilities mediaCapabilities;
};
WorkerNavigator includes NavigatorLocks;
WorkerNavigator includes NavigatorGPU;
[Exposed=(Worker)]
partial interface WorkerNavigator {
[SameObject] readonly attribute Permissions permissions;
};
[Exposed=Worker]
partial interface WorkerNavigator {
[Func="ServiceWorkersEnabled", SameObject]
readonly attribute ServiceWorkerContainer serviceWorker;
};