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
|
|
|
|
[Exposed=(Worker)]
|
|
|
|
partial interface WorkerNavigator {
|
|
|
|
[Func="mozilla::dom::network::Connection::IsEnabled", Throws]
|
|
|
|
readonly attribute NetworkInformation connection;
|
|
|
|
};
|