2013-07-24 11:38:23 +04:00
|
|
|
/* 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
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2014-08-05 06:20:34 +04:00
|
|
|
|
|
|
|
[Exposed=Worker]
|
2013-07-24 11:38:23 +04:00
|
|
|
interface WorkerNavigator {
|
|
|
|
};
|
2013-11-20 18:29:01 +04:00
|
|
|
|
|
|
|
WorkerNavigator implements NavigatorID;
|
2014-09-05 18:26:34 +04:00
|
|
|
WorkerNavigator implements NavigatorLanguage;
|
2013-11-20 03:08:50 +04:00
|
|
|
WorkerNavigator implements NavigatorOnLine;
|
2016-03-16 22:41:38 +03:00
|
|
|
WorkerNavigator implements NavigatorConcurrentHardware;
|
2016-06-14 15:57:36 +03:00
|
|
|
WorkerNavigator implements NavigatorStorage;
|
2016-12-16 10:50:23 +03:00
|
|
|
|
|
|
|
// http://wicg.github.io/netinfo/#extensions-to-the-navigator-interface
|
2018-05-31 15:32:51 +03:00
|
|
|
[Exposed=Worker]
|
2016-12-16 10:50:23 +03:00
|
|
|
partial interface WorkerNavigator {
|
2018-01-08 16:05:05 +03:00
|
|
|
[Func="mozilla::dom::DOMPrefs::NetworkInformationEnabled", Throws]
|
2016-12-16 10:50:23 +03:00
|
|
|
readonly attribute NetworkInformation connection;
|
|
|
|
};
|
2018-05-31 15:32:51 +03:00
|
|
|
|
|
|
|
// https://wicg.github.io/media-capabilities/#idl-index
|
|
|
|
[Exposed=Worker]
|
|
|
|
partial interface WorkerNavigator {
|
|
|
|
[SameObject, Func="mozilla::dom::MediaCapabilities::Enabled"]
|
|
|
|
readonly attribute MediaCapabilities mediaCapabilities;
|
|
|
|
};
|