commit 9919de3b9d15e8f33f28a34f39144ad4a7b06f5e
parent 80a64cafaec0e16cb56d2ce7e064a3412f79dc0c
Author: Mike West <mkwst@chromium.org>
Date: Thu, 20 Nov 2025 09:54:11 +0000
Bug 2000950 [wpt PR 56100] - [<geolocation> element] Fixing minor IDL misalignment., a=testonly
Automatic update from web-platform-tests
[<geolocation> element] Fixing minor IDL misalignment.
We can rely on `[Reflect]` to correctly handle the boolean `autolocate`
and `watch` attributes, and treat `position` and `error` as explicitly
nullable.
Bug: 461543463
Change-Id: Ia8918aa2fa69649cdf95110779271c67e73f10bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7167053
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Thomas Nguyen <tungnh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1546990}
--
wpt-commits: a45baf0f62b9f4b6dd5257c6a38352ccf241570d
wpt-pr: 56100
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testing/web-platform/tests/interfaces/geolocation-element.tentative.idl b/testing/web-platform/tests/interfaces/geolocation-element.tentative.idl
@@ -30,8 +30,8 @@ interface mixin InPagePermissionMixin {
interface HTMLGeolocationElement : HTMLElement {
[HTMLConstructor] constructor();
- readonly attribute GeolocationPosition position;
- readonly attribute GeolocationPositionError error;
+ readonly attribute GeolocationPosition? position;
+ readonly attribute GeolocationPositionError? error;
[CEReactions, Reflect] attribute boolean autolocate;
[CEReactions, Reflect] attribute boolean watch;