mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Partial fix for 12415
This commit is contained in:
parent
887507b6f8
commit
ab0ddf9040
51 changed files with 35 additions and 115 deletions
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#navigator
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Navigator {
|
||||
// objects implementing this interface also implement the interfaces given below
|
||||
};
|
||||
|
@ -28,7 +27,7 @@ interface NavigatorID {
|
|||
readonly attribute DOMString userAgent;
|
||||
};
|
||||
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
[NoInterfaceObject]
|
||||
interface NavigatorBluetooth {
|
||||
readonly attribute Bluetooth bluetooth;
|
||||
};
|
||||
|
@ -47,7 +46,7 @@ interface NavigatorLanguage {
|
|||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#navigatorplugins
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
[NoInterfaceObject]
|
||||
interface NavigatorPlugins {
|
||||
[SameObject] readonly attribute PluginArray plugins;
|
||||
[SameObject] readonly attribute MimeTypeArray mimeTypes;
|
||||
|
@ -55,7 +54,7 @@ interface NavigatorPlugins {
|
|||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#navigatorcookies
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
[NoInterfaceObject]
|
||||
interface NavigatorCookies {
|
||||
readonly attribute boolean cookieEnabled;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue