Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / webidl / WorkerNavigator.webidl
blob0134df5d5b23c4a8c7dec3e2cd1639d3ee73a16c
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 [Exposed=Worker,
7  InstrumentedProps=(permissions)]
8 interface WorkerNavigator {
9 };
11 WorkerNavigator includes NavigatorID;
12 WorkerNavigator includes NavigatorLanguage;
13 WorkerNavigator includes NavigatorOnLine;
14 WorkerNavigator includes NavigatorConcurrentHardware;
15 WorkerNavigator includes NavigatorStorage;
16 WorkerNavigator includes GlobalPrivacyControl;
18 // http://wicg.github.io/netinfo/#extensions-to-the-navigator-interface
19 [Exposed=Worker]
20 partial interface WorkerNavigator {
21     [Pref="dom.netinfo.enabled", Throws]
22     readonly attribute NetworkInformation connection;
25 // https://wicg.github.io/media-capabilities/#idl-index
26 [Exposed=Worker]
27 partial interface WorkerNavigator {
28   [SameObject, Func="mozilla::dom::MediaCapabilities::Enabled"]
29   readonly attribute MediaCapabilities mediaCapabilities;
32 // https://w3c.github.io/web-locks/#navigator-mixins
33 WorkerNavigator includes NavigatorLocks;
35 // https://gpuweb.github.io/gpuweb/#navigator-gpu
36 WorkerNavigator includes NavigatorGPU;