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
41 lines
1.4 KiB
Plaintext
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;
|
|
};
|