Commit 582ee7d0 authored by Yuki Shiino's avatar Yuki Shiino Committed by Commit Bot

v8bindings: Remove unused [Exposed] from Navigator-related IDL

HTML specifies no [Exposed] on interface mixins as there is no
need of it.  Basically interface mixins do not need [Exposed]
because the exposure is already controllable with 'includes'
declarations.

Bug: 839389
Change-Id: I1267c34b96d5240f690e47b1ba37a8c9c2654bd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2186880Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#766380}
parent 2d8ae602
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
// https://w3c.github.io/webdriver/#interface // https://w3c.github.io/webdriver/#interface
[ [
Exposed=Window,
RuntimeEnabled=AutomationControlled RuntimeEnabled=AutomationControlled
] interface mixin NavigatorAutomationInformation { ] interface mixin NavigatorAutomationInformation {
readonly attribute boolean webdriver; readonly attribute boolean webdriver;
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
// https://html.spec.whatwg.org/C/#navigator.hardwareconcurrency // https://html.spec.whatwg.org/C/#navigator.hardwareconcurrency
[ interface mixin NavigatorConcurrentHardware {
Exposed=(Window, Worker)
] interface mixin NavigatorConcurrentHardware {
[HighEntropy, MeasureAs=NavigatorHardwareConcurrency] readonly attribute unsigned long long hardwareConcurrency; [HighEntropy, MeasureAs=NavigatorHardwareConcurrency] readonly attribute unsigned long long hardwareConcurrency;
}; };
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
// https://github.com/w3c/device-memory#the-web-exposed-api // https://github.com/w3c/device-memory#the-web-exposed-api
[ interface mixin NavigatorDeviceMemory {
Exposed=(Window, Worker)
] interface mixin NavigatorDeviceMemory {
[HighEntropy,MeasureAs=NavigatorDeviceMemory,SecureContext] [HighEntropy,MeasureAs=NavigatorDeviceMemory,SecureContext]
readonly attribute float deviceMemory; readonly attribute float deviceMemory;
}; };
...@@ -30,9 +30,7 @@ ...@@ -30,9 +30,7 @@
// https://html.spec.whatwg.org/C/#client-identification // https://html.spec.whatwg.org/C/#client-identification
[ interface mixin NavigatorID {
Exposed=(Window,Worker)
] interface mixin NavigatorID {
readonly attribute DOMString appCodeName; // constant "Mozilla" readonly attribute DOMString appCodeName; // constant "Mozilla"
readonly attribute DOMString appName; // constant "Netscape" readonly attribute DOMString appName; // constant "Netscape"
[HighEntropy, MeasureAs=NavigatorAppVersion] readonly attribute DOMString appVersion; [HighEntropy, MeasureAs=NavigatorAppVersion] readonly attribute DOMString appVersion;
......
...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
// https://html.spec.whatwg.org/C/#language-preferences // https://html.spec.whatwg.org/C/#language-preferences
[ interface mixin NavigatorLanguage {
Exposed=(Window, Worker)
] interface mixin NavigatorLanguage {
[HighEntropy, MeasureAs=NavigatorLanguage] readonly attribute DOMString language; [HighEntropy, MeasureAs=NavigatorLanguage] readonly attribute DOMString language;
[CachedAttribute=IsLanguagesDirty, HighEntropy, MeasureAs=NavigatorLanguages] readonly attribute FrozenArray<DOMString> languages; [CachedAttribute=IsLanguagesDirty, HighEntropy, MeasureAs=NavigatorLanguages] readonly attribute FrozenArray<DOMString> languages;
}; };
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
// https://html.spec.whatwg.org/C/#navigator.online // https://html.spec.whatwg.org/C/#navigator.online
[ interface mixin NavigatorOnLine {
Exposed=(Window,Worker)
] interface mixin NavigatorOnLine {
readonly attribute boolean onLine; readonly attribute boolean onLine;
}; };
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
// https://github.com/WICG/is-input-pending // https://github.com/WICG/is-input-pending
[ [
Exposed=Window,
ImplementedAs=NavigatorScheduling, ImplementedAs=NavigatorScheduling,
RuntimeEnabled=ExperimentalIsInputPending RuntimeEnabled=ExperimentalIsInputPending
] partial interface Navigator { ] partial interface Navigator {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment