Commit 65dbb500 authored by Reilly Grant's avatar Reilly Grant Committed by Commit Bot

[geolocation] Add [Exposed=Window] attribute to interfaces

This is a no-op since [Exposed=Window] is the default for interfaces. It
updates Blink's WebIDL to match the specification as modified in,

https://github.com/w3c/geolocation-api/pull/32

Bug: 931847
Change-Id: I5084d84f9c5558ca64ee7aeaef87e00b791a90ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766005
Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Reviewed-by: default avatarMatt Reynolds <mattreynolds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689739}
parent 0e327686
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
*/ */
[ [
Exposed=Window,
NoInterfaceObject NoInterfaceObject
] interface Coordinates { ] interface Coordinates {
readonly attribute double latitude; readonly attribute double latitude;
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
// https://www.w3.org/TR/geolocation-API/#geolocation_interface // https://www.w3.org/TR/geolocation-API/#geolocation_interface
[ [
ActiveScriptWrappable, ActiveScriptWrappable,
Exposed=Window,
NoInterfaceObject NoInterfaceObject
] interface Geolocation { ] interface Geolocation {
[ [
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
// https://www.w3.org/TR/geolocation-API/#position_interface // https://www.w3.org/TR/geolocation-API/#position_interface
[ [
Exposed=Window,
NoInterfaceObject, NoInterfaceObject,
ImplementedAs=Geoposition ImplementedAs=Geoposition
] interface Position { ] interface Position {
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
*/ */
[ [
Exposed=Window,
NoInterfaceObject NoInterfaceObject
] interface PositionError { ] interface PositionError {
readonly attribute unsigned short code; readonly attribute unsigned short code;
......
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