Files
sousa-gecko/testing/web-platform/tests/interfaces/geolocation-element.idl
T
github-actions[bot] faee33e7f8 Bug 2022642 [wpt PR 58427] - Sync interfaces/ with @webref/idl 3.74.0, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.74.0 (#58427)

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--

wpt-commits: 84dd573da13cf45272052c3663936cec59650ade
wpt-pr: 58427
2026-03-16 10:12:07 +00:00

41 lines
1.4 KiB
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: The HTML Geolocation Element (https://wicg.github.io/PEPC/geolocation-element.html)
[Exposed=Window]
interface HTMLGeolocationElement : HTMLElement {
[HTMLConstructor] constructor();
readonly attribute GeolocationPosition? position;
readonly attribute GeolocationPositionError? error;
[CEReactions, Reflect] attribute boolean autolocate;
[CEReactions, Reflect] attribute boolean watch;
attribute EventHandler onlocation;
};
HTMLGeolocationElement includes ActivationBlockersMixin;
HTMLGeolocationElement includes PowerfulFeatureObserver;
interface mixin ActivationBlockersMixin {
readonly attribute boolean isValid;
readonly attribute ActivationBlockersMixinBlockerReason invalidReason;
attribute EventHandler onvalidationstatuschange;
};
enum ActivationBlockersMixinBlockerReason {
"", // No blocker reason.
"illegal_subframe", "unsuccessful_registration",
"recently_attached", "intersection_changed",
"intersection_out_of_viewport_or_clipped",
"intersection_occluded_or_distorted", "style_invalid",
"type_invalid",
};
interface mixin PowerfulFeatureObserver {
readonly attribute PermissionState initialPermissionStatus;
readonly attribute PermissionState permissionStatus;
attribute EventHandler onpromptaction;
attribute EventHandler onpromptdismiss;
};