@webref/idl 3.27.1 → 3.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ANGLE_instanced_arrays.idl +0 -12
- package/CSP.idl +0 -56
- package/DOM-Parsing.idl +0 -26
- package/EXT_blend_minmax.idl +0 -10
- package/EXT_color_buffer_float.idl +0 -8
- package/EXT_color_buffer_half_float.idl +0 -12
- package/EXT_disjoint_timer_query.idl +0 -30
- package/EXT_disjoint_timer_query_webgl2.idl +0 -14
- package/EXT_float_blend.idl +0 -8
- package/EXT_frag_depth.idl +0 -8
- package/EXT_sRGB.idl +0 -12
- package/EXT_shader_texture_lod.idl +0 -8
- package/EXT_texture_compression_bptc.idl +0 -12
- package/EXT_texture_compression_rgtc.idl +0 -12
- package/EXT_texture_filter_anisotropic.idl +0 -10
- package/EXT_texture_norm16.idl +0 -16
- package/FedCM.idl +0 -67
- package/FileAPI.idl +0 -100
- package/IndexedDB.idl +0 -226
- package/KHR_parallel_shader_compile.idl +0 -9
- package/OES_draw_buffers_indexed.idl +0 -26
- package/OES_element_index_uint.idl +0 -8
- package/OES_fbo_render_mipmap.idl +0 -8
- package/OES_standard_derivatives.idl +0 -9
- package/OES_texture_float.idl +0 -7
- package/OES_texture_float_linear.idl +0 -7
- package/OES_texture_half_float.idl +0 -9
- package/OES_texture_half_float_linear.idl +0 -7
- package/OES_vertex_array_object.idl +0 -18
- package/OVR_multiview2.idl +0 -14
- package/SVG.idl +0 -693
- package/WEBGL_blend_equation_advanced_coherent.idl +0 -23
- package/WEBGL_clip_cull_distance.idl +0 -20
- package/WEBGL_color_buffer_float.idl +0 -11
- package/WEBGL_compressed_texture_astc.idl +0 -41
- package/WEBGL_compressed_texture_etc.idl +0 -19
- package/WEBGL_compressed_texture_etc1.idl +0 -10
- package/WEBGL_compressed_texture_pvrtc.idl +0 -13
- package/WEBGL_compressed_texture_s3tc.idl +0 -13
- package/WEBGL_compressed_texture_s3tc_srgb.idl +0 -13
- package/WEBGL_debug_renderer_info.idl +0 -12
- package/WEBGL_debug_shaders.idl +0 -11
- package/WEBGL_depth_texture.idl +0 -9
- package/WEBGL_draw_buffers.idl +0 -46
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +0 -14
- package/WEBGL_lose_context.idl +0 -10
- package/WEBGL_multi_draw.idl +0 -32
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +0 -26
- package/WEBGL_provoking_vertex.idl +0 -13
- package/WebCryptoAPI.idl +0 -237
- package/accelerometer.idl +0 -40
- package/ambient-light.idl +0 -14
- package/anchors.idl +0 -35
- package/attribution-reporting-api.idl +0 -12
- package/audio-output.idl +0 -17
- package/autoplay-detection.idl +0 -19
- package/background-fetch.idl +0 -89
- package/background-sync.idl +0 -30
- package/badging.idl +0 -19
- package/battery-status.idl +0 -21
- package/beacon.idl +0 -8
- package/capture-handle-identity.idl +0 -27
- package/clipboard-apis.idl +0 -51
- package/close-watcher.idl +0 -19
- package/compat.idl +0 -13
- package/compression.idl +0 -16
- package/compute-pressure.idl +0 -40
- package/console.idl +0 -34
- package/contact-picker.idl +0 -44
- package/content-index.idl +0 -46
- package/cookie-store.idl +0 -110
- package/crash-reporting.idl +0 -10
- package/credential-management.idl +0 -105
- package/csp-embedded-enforcement.idl +0 -8
- package/csp-next.idl +0 -21
- package/css-animation-worklet.idl +0 -37
- package/css-animations-2.idl +0 -9
- package/css-animations.idl +0 -47
- package/css-cascade-6.idl +0 -10
- package/css-cascade.idl +0 -18
- package/css-color-5.idl +0 -12
- package/css-conditional.idl +0 -27
- package/css-contain-3.idl +0 -10
- package/css-contain.idl +0 -13
- package/css-counter-styles.idl +0 -23
- package/css-font-loading.idl +0 -134
- package/css-fonts.idl +0 -36
- package/css-highlight-api.idl +0 -27
- package/css-images-4.idl +0 -8
- package/css-layout-api.idl +0 -144
- package/css-masking.idl +0 -20
- package/css-nav.idl +0 -48
- package/css-nesting.idl +0 -10
- package/css-paint-api.idl +0 -39
- package/css-parser-api.idl +0 -76
- package/css-properties-values-api.idl +0 -23
- package/css-pseudo.idl +0 -16
- package/css-regions.idl +0 -29
- package/css-shadow-parts.idl +0 -8
- package/css-transitions-2.idl +0 -9
- package/css-transitions.idl +0 -25
- package/css-typed-om.idl +0 -425
- package/css-view-transitions.idl +0 -18
- package/cssom-view.idl +0 -200
- package/cssom.idl +0 -159
- package/custom-state-pseudo-class.idl +0 -14
- package/datacue.idl +0 -12
- package/deprecation-reporting.idl +0 -15
- package/device-memory.idl +0 -14
- package/device-posture.idl +0 -21
- package/digital-goods.idl +0 -44
- package/dom.idl +0 -645
- package/edit-context.idl +0 -113
- package/element-timing.idl +0 -22
- package/encoding.idl +0 -59
- package/encrypted-media.idl +0 -125
- package/entries-api.idl +0 -71
- package/event-timing.idl +0 -29
- package/eyedropper-api.idl +0 -18
- package/fetch.idl +0 -117
- package/fido.idl +0 -47
- package/file-system-access.idl +0 -72
- package/filter-effects.idl +0 -341
- package/font-metrics-api.idl +0 -42
- package/fs.idl +0 -97
- package/fullscreen.idl +0 -35
- package/gamepad-extensions.idl +0 -71
- package/gamepad.idl +0 -49
- package/generic-sensor.idl +0 -60
- package/geolocation-sensor.idl +0 -47
- package/geolocation.idl +0 -65
- package/geometry.idl +0 -290
- package/get-installed-related-apps.idl +0 -16
- package/gpc-spec.idl +0 -10
- package/gyroscope.idl +0 -24
- package/hr-time.idl +0 -19
- package/html-media-capture.idl +0 -8
- package/html.idl +0 -2717
- package/idle-detection.idl +0 -31
- package/image-capture.idl +0 -160
- package/image-resource.idl +0 -11
- package/ink-enhancement.idl +0 -32
- package/input-device-capabilities.idl +0 -24
- package/input-events.idl +0 -14
- package/intersection-observer.idl +0 -46
- package/intervention-reporting.idl +0 -14
- package/is-input-pending.idl +0 -16
- package/js-self-profiling.idl +0 -44
- package/keyboard-lock.idl +0 -14
- package/keyboard-map.idl +0 -15
- package/largest-contentful-paint.idl +0 -15
- package/layout-instability.idl +0 -20
- package/local-font-access.idl +0 -24
- package/longtasks.idl +0 -19
- package/magnetometer.idl +0 -46
- package/manifest-incubations.idl +0 -24
- package/mathml-core.idl +0 -9
- package/media-capabilities.idl +0 -115
- package/media-playback-quality.idl +0 -18
- package/media-source.idl +0 -91
- package/mediacapture-automation.idl +0 -36
- package/mediacapture-fromelement.idl +0 -17
- package/mediacapture-handle-actions.idl +0 -31
- package/mediacapture-region.idl +0 -15
- package/mediacapture-streams.idl +0 -248
- package/mediacapture-transform.idl +0 -23
- package/mediacapture-viewport.idl +0 -14
- package/mediasession.idl +0 -84
- package/mediastream-recording.idl +0 -60
- package/model-element.idl +0 -9
- package/mst-content-hint.idl +0 -18
- package/navigation-api.idl +0 -158
- package/navigation-timing.idl +0 -71
- package/netinfo.idl +0 -43
- package/notifications.idl +0 -101
- package/orientation-event.idl +0 -82
- package/orientation-sensor.idl +0 -35
- package/page-lifecycle.idl +0 -19
- package/paint-timing.idl +0 -7
- package/payment-handler.idl +0 -131
- package/payment-request.idl +0 -112
- package/performance-measure-memory.idl +0 -30
- package/performance-timeline.idl +0 -49
- package/periodic-background-sync.idl +0 -34
- package/permissions-policy.idl +0 -29
- package/permissions-request.idl +0 -8
- package/permissions-revoke.idl +0 -8
- package/permissions.idl +0 -41
- package/picture-in-picture.idl +0 -41
- package/pointerevents.idl +0 -64
- package/pointerlock.idl +0 -28
- package/portals.idl +0 -50
- package/prefer-current-tab.idl +0 -8
- package/prerendering-revamped.idl +0 -15
- package/presentation-api.idl +0 -95
- package/private-click-measurement.idl +0 -8
- package/proximity.idl +0 -18
- package/push-api.idl +0 -93
- package/raw-camera-access.idl +0 -18
- package/referrer-policy.idl +0 -16
- package/remote-playback.idl +0 -32
- package/reporting.idl +0 -39
- package/requestStorageAccessForOrigin.idl +0 -12
- package/requestidlecallback.idl +0 -20
- package/resize-observer.idl +0 -37
- package/resource-timing.idl +0 -39
- package/sanitizer-api.idl +0 -38
- package/savedata.idl +0 -10
- package/scheduling-apis.idl +0 -57
- package/screen-capture.idl +0 -85
- package/screen-orientation.idl +0 -35
- package/screen-wake-lock.idl +0 -24
- package/scroll-animations.idl +0 -41
- package/scroll-to-text-fragment.idl +0 -12
- package/secure-payment-confirmation.idl +0 -52
- package/selection-api.idl +0 -46
- package/serial.idl +0 -85
- package/server-timing.idl +0 -17
- package/service-workers.idl +0 -240
- package/shape-detection-api.idl +0 -69
- package/speech-api.idl +0 -202
- package/storage-access.idl +0 -9
- package/storage.idl +0 -25
- package/streams.idl +0 -222
- package/svg-animations.idl +0 -68
- package/testutils.idl +0 -9
- package/text-detection-api.idl +0 -18
- package/touch-events.idl +0 -79
- package/trusted-types.idl +0 -71
- package/ua-client-hints.idl +0 -44
- package/uievents.idl +0 -248
- package/url.idl +0 -44
- package/urlpattern.idl +0 -59
- package/user-timing.idl +0 -34
- package/vibration.idl +0 -10
- package/video-rvfc.idl +0 -27
- package/virtual-keyboard.idl +0 -21
- package/wai-aria.idl +0 -59
- package/wasm-js-api.idl +0 -110
- package/wasm-web-api.idl +0 -11
- package/web-animations-2.idl +0 -102
- package/web-animations.idl +0 -149
- package/web-app-launch.idl +0 -19
- package/web-bluetooth.idl +0 -251
- package/web-locks.idl +0 -50
- package/web-nfc.idl +0 -81
- package/web-otp.idl +0 -21
- package/web-share.idl +0 -16
- package/webaudio.idl +0 -674
- package/webauthn.idl +0 -349
- package/webcodecs-aac-codec-registration.idl +0 -17
- package/webcodecs-avc-codec-registration.idl +0 -17
- package/webcodecs-flac-codec-registration.idl +0 -13
- package/webcodecs-hevc-codec-registration.idl +0 -17
- package/webcodecs-opus-codec-registration.idl +0 -22
- package/webcodecs.idl +0 -494
- package/webcrypto-secure-curves.idl +0 -8
- package/webdriver.idl +0 -9
- package/webgl1.idl +0 -745
- package/webgl2.idl +0 -582
- package/webgpu.idl +0 -1265
- package/webhid.idl +0 -127
- package/webidl.idl +0 -48
- package/webmidi.idl +0 -91
- package/webnn.idl +0 -542
- package/webrtc-encoded-transform.idl +0 -127
- package/webrtc-ice.idl +0 -24
- package/webrtc-identity.idl +0 -97
- package/webrtc-priority.idl +0 -24
- package/webrtc-stats.idl +0 -288
- package/webrtc-svc.idl +0 -8
- package/webrtc.idl +0 -628
- package/websockets.idl +0 -48
- package/webtransport.idl +0 -151
- package/webusb.idl +0 -249
- package/webvtt.idl +0 -40
- package/webxr-ar-module.idl +0 -29
- package/webxr-depth-sensing.idl +0 -57
- package/webxr-dom-overlays.idl +0 -31
- package/webxr-gamepads-module.idl +0 -8
- package/webxr-hand-input.idl +0 -66
- package/webxr-hit-test.idl +0 -69
- package/webxr-lighting-estimation.idl +0 -39
- package/webxr.idl +0 -294
- package/webxrlayers.idl +0 -212
- package/window-controls-overlay.idl +0 -28
- package/window-placement.idl +0 -42
- package/xhr.idl +0 -99
package/wasm-js-api.idl
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: WebAssembly JavaScript Interface (https://webassembly.github.io/spec/js-api/)
|
|
5
|
-
|
|
6
|
-
dictionary WebAssemblyInstantiatedSource {
|
|
7
|
-
required Module module;
|
|
8
|
-
required Instance instance;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
[Exposed=*]
|
|
12
|
-
namespace WebAssembly {
|
|
13
|
-
boolean validate(BufferSource bytes);
|
|
14
|
-
Promise<Module> compile(BufferSource bytes);
|
|
15
|
-
|
|
16
|
-
Promise<WebAssemblyInstantiatedSource> instantiate(
|
|
17
|
-
BufferSource bytes, optional object importObject);
|
|
18
|
-
|
|
19
|
-
Promise<Instance> instantiate(
|
|
20
|
-
Module moduleObject, optional object importObject);
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
enum ImportExportKind {
|
|
24
|
-
"function",
|
|
25
|
-
"table",
|
|
26
|
-
"memory",
|
|
27
|
-
"global"
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
dictionary ModuleExportDescriptor {
|
|
31
|
-
required USVString name;
|
|
32
|
-
required ImportExportKind kind;
|
|
33
|
-
// Note: Other fields such as signature may be added in the future.
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
dictionary ModuleImportDescriptor {
|
|
37
|
-
required USVString module;
|
|
38
|
-
required USVString name;
|
|
39
|
-
required ImportExportKind kind;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
43
|
-
interface Module {
|
|
44
|
-
constructor(BufferSource bytes);
|
|
45
|
-
static sequence<ModuleExportDescriptor> exports(Module moduleObject);
|
|
46
|
-
static sequence<ModuleImportDescriptor> imports(Module moduleObject);
|
|
47
|
-
static sequence<ArrayBuffer> customSections(Module moduleObject, DOMString sectionName);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
51
|
-
interface Instance {
|
|
52
|
-
constructor(Module module, optional object importObject);
|
|
53
|
-
readonly attribute object exports;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
dictionary MemoryDescriptor {
|
|
57
|
-
required [EnforceRange] unsigned long initial;
|
|
58
|
-
[EnforceRange] unsigned long maximum;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
62
|
-
interface Memory {
|
|
63
|
-
constructor(MemoryDescriptor descriptor);
|
|
64
|
-
unsigned long grow([EnforceRange] unsigned long delta);
|
|
65
|
-
readonly attribute ArrayBuffer buffer;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
enum TableKind {
|
|
69
|
-
"externref",
|
|
70
|
-
"anyfunc",
|
|
71
|
-
// Note: More values may be added in future iterations,
|
|
72
|
-
// e.g., typed function references, typed GC references
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
dictionary TableDescriptor {
|
|
76
|
-
required TableKind element;
|
|
77
|
-
required [EnforceRange] unsigned long initial;
|
|
78
|
-
[EnforceRange] unsigned long maximum;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
82
|
-
interface Table {
|
|
83
|
-
constructor(TableDescriptor descriptor, optional any value);
|
|
84
|
-
unsigned long grow([EnforceRange] unsigned long delta, optional any value);
|
|
85
|
-
any get([EnforceRange] unsigned long index);
|
|
86
|
-
undefined set([EnforceRange] unsigned long index, optional any value);
|
|
87
|
-
readonly attribute unsigned long length;
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
enum ValueType {
|
|
91
|
-
"i32",
|
|
92
|
-
"i64",
|
|
93
|
-
"f32",
|
|
94
|
-
"f64",
|
|
95
|
-
"v128",
|
|
96
|
-
"externref",
|
|
97
|
-
"anyfunc",
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
dictionary GlobalDescriptor {
|
|
101
|
-
required ValueType value;
|
|
102
|
-
boolean mutable = false;
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
106
|
-
interface Global {
|
|
107
|
-
constructor(GlobalDescriptor descriptor, optional any v);
|
|
108
|
-
any valueOf();
|
|
109
|
-
attribute any value;
|
|
110
|
-
};
|
package/wasm-web-api.idl
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: WebAssembly Web API (https://webassembly.github.io/spec/web-api/)
|
|
5
|
-
|
|
6
|
-
[Exposed=(Window,Worker)]
|
|
7
|
-
partial namespace WebAssembly {
|
|
8
|
-
Promise<Module> compileStreaming(Promise<Response> source);
|
|
9
|
-
Promise<WebAssemblyInstantiatedSource> instantiateStreaming(
|
|
10
|
-
Promise<Response> source, optional object importObject);
|
|
11
|
-
};
|
package/web-animations-2.idl
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Web Animations Level 2 (https://drafts.csswg.org/web-animations-2/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
partial interface AnimationTimeline {
|
|
8
|
-
readonly attribute CSSNumberish? currentTime;
|
|
9
|
-
readonly attribute CSSNumberish? duration;
|
|
10
|
-
Animation play (optional AnimationEffect? effect = null);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
[Exposed=Window]
|
|
14
|
-
partial interface Animation {
|
|
15
|
-
attribute CSSNumberish? startTime;
|
|
16
|
-
attribute CSSNumberish? currentTime;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
[Exposed=Window]
|
|
20
|
-
partial interface AnimationEffect {
|
|
21
|
-
// Timing hierarchy
|
|
22
|
-
readonly attribute GroupEffect? parent;
|
|
23
|
-
readonly attribute AnimationEffect? previousSibling;
|
|
24
|
-
readonly attribute AnimationEffect? nextSibling;
|
|
25
|
-
|
|
26
|
-
undefined before (AnimationEffect... effects);
|
|
27
|
-
undefined after (AnimationEffect... effects);
|
|
28
|
-
undefined replace (AnimationEffect... effects);
|
|
29
|
-
undefined remove ();
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
partial dictionary EffectTiming {
|
|
33
|
-
double delay;
|
|
34
|
-
double endDelay;
|
|
35
|
-
double playbackRate = 1.0;
|
|
36
|
-
(unrestricted double or CSSNumericValue or DOMString) duration = "auto";
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
partial dictionary OptionalEffectTiming {
|
|
40
|
-
double playbackRate;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
partial dictionary ComputedEffectTiming {
|
|
44
|
-
CSSNumberish startTime;
|
|
45
|
-
CSSNumberish endTime;
|
|
46
|
-
CSSNumberish activeDuration;
|
|
47
|
-
CSSNumberish? localTime;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
[Exposed=Window]
|
|
51
|
-
interface GroupEffect {
|
|
52
|
-
constructor(sequence<AnimationEffect>? children,
|
|
53
|
-
optional (unrestricted double or EffectTiming) timing = {});
|
|
54
|
-
|
|
55
|
-
readonly attribute AnimationNodeList children;
|
|
56
|
-
readonly attribute AnimationEffect? firstChild;
|
|
57
|
-
readonly attribute AnimationEffect? lastChild;
|
|
58
|
-
GroupEffect clone ();
|
|
59
|
-
|
|
60
|
-
undefined prepend (AnimationEffect... effects);
|
|
61
|
-
undefined append (AnimationEffect... effects);
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
[Exposed=Window]
|
|
65
|
-
interface AnimationNodeList {
|
|
66
|
-
readonly attribute unsigned long length;
|
|
67
|
-
getter AnimationEffect? item (unsigned long index);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
[Exposed=Window]
|
|
71
|
-
interface SequenceEffect : GroupEffect {
|
|
72
|
-
constructor(sequence<AnimationEffect>? children,
|
|
73
|
-
optional (unrestricted double or EffectTiming) timing = {});
|
|
74
|
-
|
|
75
|
-
SequenceEffect clone ();
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
partial interface KeyframeEffect {
|
|
79
|
-
attribute IterationCompositeOperation iterationComposite;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
partial dictionary KeyframeEffectOptions {
|
|
83
|
-
IterationCompositeOperation iterationComposite = "replace";
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
enum IterationCompositeOperation { "replace", "accumulate" };
|
|
87
|
-
|
|
88
|
-
callback EffectCallback = undefined (double? progress,
|
|
89
|
-
(Element or CSSPseudoElement) currentTarget,
|
|
90
|
-
Animation animation);
|
|
91
|
-
|
|
92
|
-
[Exposed=Window]
|
|
93
|
-
interface AnimationPlaybackEvent : Event {
|
|
94
|
-
constructor(DOMString type, optional AnimationPlaybackEventInit
|
|
95
|
-
eventInitDict = {});
|
|
96
|
-
readonly attribute CSSNumberish? currentTime;
|
|
97
|
-
readonly attribute CSSNumberish? timelineTime;
|
|
98
|
-
};
|
|
99
|
-
dictionary AnimationPlaybackEventInit : EventInit {
|
|
100
|
-
CSSNumberish? currentTime = null;
|
|
101
|
-
CSSNumberish? timelineTime = null;
|
|
102
|
-
};
|
package/web-animations.idl
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Web Animations (https://drafts.csswg.org/web-animations-1/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
interface AnimationTimeline {
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
dictionary DocumentTimelineOptions {
|
|
11
|
-
DOMHighResTimeStamp originTime = 0;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
[Exposed=Window]
|
|
15
|
-
interface DocumentTimeline : AnimationTimeline {
|
|
16
|
-
constructor(optional DocumentTimelineOptions options = {});
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
[Exposed=Window]
|
|
20
|
-
interface Animation : EventTarget {
|
|
21
|
-
constructor(optional AnimationEffect? effect = null,
|
|
22
|
-
optional AnimationTimeline? timeline);
|
|
23
|
-
attribute DOMString id;
|
|
24
|
-
attribute AnimationEffect? effect;
|
|
25
|
-
attribute AnimationTimeline? timeline;
|
|
26
|
-
attribute double playbackRate;
|
|
27
|
-
readonly attribute AnimationPlayState playState;
|
|
28
|
-
readonly attribute AnimationReplaceState replaceState;
|
|
29
|
-
readonly attribute boolean pending;
|
|
30
|
-
readonly attribute Promise<Animation> ready;
|
|
31
|
-
readonly attribute Promise<Animation> finished;
|
|
32
|
-
attribute EventHandler onfinish;
|
|
33
|
-
attribute EventHandler oncancel;
|
|
34
|
-
attribute EventHandler onremove;
|
|
35
|
-
undefined cancel();
|
|
36
|
-
undefined finish();
|
|
37
|
-
undefined play();
|
|
38
|
-
undefined pause();
|
|
39
|
-
undefined updatePlaybackRate(double playbackRate);
|
|
40
|
-
undefined reverse();
|
|
41
|
-
undefined persist();
|
|
42
|
-
[CEReactions]
|
|
43
|
-
undefined commitStyles();
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
enum AnimationPlayState { "idle", "running", "paused", "finished" };
|
|
47
|
-
|
|
48
|
-
enum AnimationReplaceState { "active", "removed", "persisted" };
|
|
49
|
-
|
|
50
|
-
[Exposed=Window]
|
|
51
|
-
interface AnimationEffect {
|
|
52
|
-
EffectTiming getTiming();
|
|
53
|
-
ComputedEffectTiming getComputedTiming();
|
|
54
|
-
undefined updateTiming(optional OptionalEffectTiming timing = {});
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
dictionary EffectTiming {
|
|
58
|
-
FillMode fill = "auto";
|
|
59
|
-
double iterationStart = 0.0;
|
|
60
|
-
unrestricted double iterations = 1.0;
|
|
61
|
-
PlaybackDirection direction = "normal";
|
|
62
|
-
DOMString easing = "linear";
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
dictionary OptionalEffectTiming {
|
|
66
|
-
double delay;
|
|
67
|
-
double endDelay;
|
|
68
|
-
FillMode fill;
|
|
69
|
-
double iterationStart;
|
|
70
|
-
unrestricted double iterations;
|
|
71
|
-
(unrestricted double or DOMString) duration;
|
|
72
|
-
PlaybackDirection direction;
|
|
73
|
-
DOMString easing;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
enum FillMode { "none", "forwards", "backwards", "both", "auto" };
|
|
77
|
-
|
|
78
|
-
enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" };
|
|
79
|
-
|
|
80
|
-
dictionary ComputedEffectTiming : EffectTiming {
|
|
81
|
-
double? progress;
|
|
82
|
-
unrestricted double? currentIteration;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
[Exposed=Window]
|
|
86
|
-
interface KeyframeEffect : AnimationEffect {
|
|
87
|
-
constructor(Element? target,
|
|
88
|
-
object? keyframes,
|
|
89
|
-
optional (unrestricted double or KeyframeEffectOptions) options = {});
|
|
90
|
-
constructor(KeyframeEffect source);
|
|
91
|
-
attribute Element? target;
|
|
92
|
-
attribute CSSOMString? pseudoElement;
|
|
93
|
-
attribute CompositeOperation composite;
|
|
94
|
-
sequence<object> getKeyframes();
|
|
95
|
-
undefined setKeyframes(object? keyframes);
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
dictionary BaseComputedKeyframe {
|
|
99
|
-
double? offset = null;
|
|
100
|
-
double computedOffset;
|
|
101
|
-
DOMString easing = "linear";
|
|
102
|
-
CompositeOperationOrAuto composite = "auto";
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
dictionary BasePropertyIndexedKeyframe {
|
|
106
|
-
(double? or sequence<double?>) offset = [];
|
|
107
|
-
(DOMString or sequence<DOMString>) easing = [];
|
|
108
|
-
(CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = [];
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
dictionary BaseKeyframe {
|
|
112
|
-
double? offset = null;
|
|
113
|
-
DOMString easing = "linear";
|
|
114
|
-
CompositeOperationOrAuto composite = "auto";
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
dictionary KeyframeEffectOptions : EffectTiming {
|
|
118
|
-
CompositeOperation composite = "replace";
|
|
119
|
-
CSSOMString? pseudoElement = null;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
enum CompositeOperation { "replace", "add", "accumulate" };
|
|
123
|
-
|
|
124
|
-
enum CompositeOperationOrAuto { "replace", "add", "accumulate", "auto" };
|
|
125
|
-
|
|
126
|
-
interface mixin Animatable {
|
|
127
|
-
Animation animate(object? keyframes,
|
|
128
|
-
optional (unrestricted double or KeyframeAnimationOptions) options = {});
|
|
129
|
-
sequence<Animation> getAnimations(optional GetAnimationsOptions options = {});
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
|
|
133
|
-
DOMString id = "";
|
|
134
|
-
AnimationTimeline? timeline;
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
dictionary GetAnimationsOptions {
|
|
138
|
-
boolean subtree = false;
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
partial interface Document {
|
|
142
|
-
readonly attribute DocumentTimeline timeline;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
partial interface mixin DocumentOrShadowRoot {
|
|
146
|
-
sequence<Animation> getAnimations();
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
Element includes Animatable;
|
package/web-app-launch.idl
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Web App Launch Handler API (https://wicg.github.io/web-app-launch/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window] interface LaunchParams {
|
|
7
|
-
readonly attribute DOMString? targetURL;
|
|
8
|
-
readonly attribute FrozenArray<FileSystemHandle> files;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
callback LaunchConsumer = any (LaunchParams params);
|
|
12
|
-
|
|
13
|
-
partial interface Window {
|
|
14
|
-
readonly attribute LaunchQueue launchQueue;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
[Exposed=Window] interface LaunchQueue {
|
|
18
|
-
undefined setConsumer(LaunchConsumer consumer);
|
|
19
|
-
};
|
package/web-bluetooth.idl
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Web Bluetooth (https://webbluetoothcg.github.io/web-bluetooth/)
|
|
5
|
-
|
|
6
|
-
dictionary BluetoothDataFilterInit {
|
|
7
|
-
BufferSource dataPrefix;
|
|
8
|
-
BufferSource mask;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
dictionary BluetoothManufacturerDataFilterInit : BluetoothDataFilterInit {
|
|
12
|
-
required [EnforceRange] unsigned short companyIdentifier;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
dictionary BluetoothServiceDataFilterInit : BluetoothDataFilterInit {
|
|
16
|
-
required BluetoothServiceUUID service;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
dictionary BluetoothLEScanFilterInit {
|
|
20
|
-
sequence<BluetoothServiceUUID> services;
|
|
21
|
-
DOMString name;
|
|
22
|
-
DOMString namePrefix;
|
|
23
|
-
sequence<BluetoothManufacturerDataFilterInit> manufacturerData;
|
|
24
|
-
sequence<BluetoothServiceDataFilterInit> serviceData;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
dictionary RequestDeviceOptions {
|
|
28
|
-
sequence<BluetoothLEScanFilterInit> filters;
|
|
29
|
-
sequence<BluetoothServiceUUID> optionalServices = [];
|
|
30
|
-
sequence<unsigned short> optionalManufacturerData = [];
|
|
31
|
-
boolean acceptAllDevices = false;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
[Exposed=Window, SecureContext]
|
|
35
|
-
interface Bluetooth : EventTarget {
|
|
36
|
-
Promise<boolean> getAvailability();
|
|
37
|
-
attribute EventHandler onavailabilitychanged;
|
|
38
|
-
[SameObject]
|
|
39
|
-
readonly attribute BluetoothDevice? referringDevice;
|
|
40
|
-
Promise<sequence<BluetoothDevice>> getDevices();
|
|
41
|
-
Promise<BluetoothDevice> requestDevice(optional RequestDeviceOptions options = {});
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
Bluetooth includes BluetoothDeviceEventHandlers;
|
|
45
|
-
Bluetooth includes CharacteristicEventHandlers;
|
|
46
|
-
Bluetooth includes ServiceEventHandlers;
|
|
47
|
-
|
|
48
|
-
dictionary BluetoothPermissionDescriptor : PermissionDescriptor {
|
|
49
|
-
DOMString deviceId;
|
|
50
|
-
// These match RequestDeviceOptions.
|
|
51
|
-
sequence<BluetoothLEScanFilterInit> filters;
|
|
52
|
-
sequence<BluetoothServiceUUID> optionalServices = [];
|
|
53
|
-
sequence<unsigned short> optionalManufacturerData = [];
|
|
54
|
-
boolean acceptAllDevices = false;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
dictionary AllowedBluetoothDevice {
|
|
58
|
-
required DOMString deviceId;
|
|
59
|
-
required boolean mayUseGATT;
|
|
60
|
-
// An allowedServices of "all" means all services are allowed.
|
|
61
|
-
required (DOMString or sequence<UUID>) allowedServices;
|
|
62
|
-
required sequence<unsigned short> allowedManufacturerData;
|
|
63
|
-
};
|
|
64
|
-
dictionary BluetoothPermissionStorage {
|
|
65
|
-
required sequence<AllowedBluetoothDevice> allowedDevices;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
[Exposed=Window]
|
|
69
|
-
interface BluetoothPermissionResult : PermissionStatus {
|
|
70
|
-
attribute FrozenArray<BluetoothDevice> devices;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
[
|
|
74
|
-
Exposed=Window,
|
|
75
|
-
SecureContext
|
|
76
|
-
]
|
|
77
|
-
interface ValueEvent : Event {
|
|
78
|
-
constructor(DOMString type, optional ValueEventInit initDict = {});
|
|
79
|
-
readonly attribute any value;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
dictionary ValueEventInit : EventInit {
|
|
83
|
-
any value = null;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
[Exposed=Window, SecureContext]
|
|
87
|
-
interface BluetoothDevice : EventTarget {
|
|
88
|
-
readonly attribute DOMString id;
|
|
89
|
-
readonly attribute DOMString? name;
|
|
90
|
-
readonly attribute BluetoothRemoteGATTServer? gatt;
|
|
91
|
-
|
|
92
|
-
Promise<undefined> forget();
|
|
93
|
-
Promise<undefined> watchAdvertisements(
|
|
94
|
-
optional WatchAdvertisementsOptions options = {});
|
|
95
|
-
readonly attribute boolean watchingAdvertisements;
|
|
96
|
-
};
|
|
97
|
-
BluetoothDevice includes BluetoothDeviceEventHandlers;
|
|
98
|
-
BluetoothDevice includes CharacteristicEventHandlers;
|
|
99
|
-
BluetoothDevice includes ServiceEventHandlers;
|
|
100
|
-
|
|
101
|
-
dictionary WatchAdvertisementsOptions {
|
|
102
|
-
AbortSignal signal;
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
[Exposed=Window, SecureContext]
|
|
106
|
-
interface BluetoothManufacturerDataMap {
|
|
107
|
-
readonly maplike<unsigned short, DataView>;
|
|
108
|
-
};
|
|
109
|
-
[Exposed=Window, SecureContext]
|
|
110
|
-
interface BluetoothServiceDataMap {
|
|
111
|
-
readonly maplike<UUID, DataView>;
|
|
112
|
-
};
|
|
113
|
-
[
|
|
114
|
-
Exposed=Window,
|
|
115
|
-
SecureContext
|
|
116
|
-
]
|
|
117
|
-
interface BluetoothAdvertisingEvent : Event {
|
|
118
|
-
constructor(DOMString type, BluetoothAdvertisingEventInit init);
|
|
119
|
-
[SameObject]
|
|
120
|
-
readonly attribute BluetoothDevice device;
|
|
121
|
-
readonly attribute FrozenArray<UUID> uuids;
|
|
122
|
-
readonly attribute DOMString? name;
|
|
123
|
-
readonly attribute unsigned short? appearance;
|
|
124
|
-
readonly attribute byte? txPower;
|
|
125
|
-
readonly attribute byte? rssi;
|
|
126
|
-
[SameObject]
|
|
127
|
-
readonly attribute BluetoothManufacturerDataMap manufacturerData;
|
|
128
|
-
[SameObject]
|
|
129
|
-
readonly attribute BluetoothServiceDataMap serviceData;
|
|
130
|
-
};
|
|
131
|
-
dictionary BluetoothAdvertisingEventInit : EventInit {
|
|
132
|
-
required BluetoothDevice device;
|
|
133
|
-
sequence<(DOMString or unsigned long)> uuids;
|
|
134
|
-
DOMString name;
|
|
135
|
-
unsigned short appearance;
|
|
136
|
-
byte txPower;
|
|
137
|
-
byte rssi;
|
|
138
|
-
BluetoothManufacturerDataMap manufacturerData;
|
|
139
|
-
BluetoothServiceDataMap serviceData;
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
[Exposed=Window, SecureContext]
|
|
143
|
-
interface BluetoothRemoteGATTServer {
|
|
144
|
-
[SameObject]
|
|
145
|
-
readonly attribute BluetoothDevice device;
|
|
146
|
-
readonly attribute boolean connected;
|
|
147
|
-
Promise<BluetoothRemoteGATTServer> connect();
|
|
148
|
-
undefined disconnect();
|
|
149
|
-
Promise<BluetoothRemoteGATTService> getPrimaryService(BluetoothServiceUUID service);
|
|
150
|
-
Promise<sequence<BluetoothRemoteGATTService>>
|
|
151
|
-
getPrimaryServices(optional BluetoothServiceUUID service);
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
[Exposed=Window, SecureContext]
|
|
155
|
-
interface BluetoothRemoteGATTService : EventTarget {
|
|
156
|
-
[SameObject]
|
|
157
|
-
readonly attribute BluetoothDevice device;
|
|
158
|
-
readonly attribute UUID uuid;
|
|
159
|
-
readonly attribute boolean isPrimary;
|
|
160
|
-
Promise<BluetoothRemoteGATTCharacteristic>
|
|
161
|
-
getCharacteristic(BluetoothCharacteristicUUID characteristic);
|
|
162
|
-
Promise<sequence<BluetoothRemoteGATTCharacteristic>>
|
|
163
|
-
getCharacteristics(optional BluetoothCharacteristicUUID characteristic);
|
|
164
|
-
Promise<BluetoothRemoteGATTService>
|
|
165
|
-
getIncludedService(BluetoothServiceUUID service);
|
|
166
|
-
Promise<sequence<BluetoothRemoteGATTService>>
|
|
167
|
-
getIncludedServices(optional BluetoothServiceUUID service);
|
|
168
|
-
};
|
|
169
|
-
BluetoothRemoteGATTService includes CharacteristicEventHandlers;
|
|
170
|
-
BluetoothRemoteGATTService includes ServiceEventHandlers;
|
|
171
|
-
|
|
172
|
-
[Exposed=Window, SecureContext]
|
|
173
|
-
interface BluetoothRemoteGATTCharacteristic : EventTarget {
|
|
174
|
-
[SameObject]
|
|
175
|
-
readonly attribute BluetoothRemoteGATTService service;
|
|
176
|
-
readonly attribute UUID uuid;
|
|
177
|
-
readonly attribute BluetoothCharacteristicProperties properties;
|
|
178
|
-
readonly attribute DataView? value;
|
|
179
|
-
Promise<BluetoothRemoteGATTDescriptor> getDescriptor(BluetoothDescriptorUUID descriptor);
|
|
180
|
-
Promise<sequence<BluetoothRemoteGATTDescriptor>>
|
|
181
|
-
getDescriptors(optional BluetoothDescriptorUUID descriptor);
|
|
182
|
-
Promise<DataView> readValue();
|
|
183
|
-
Promise<undefined> writeValue(BufferSource value);
|
|
184
|
-
Promise<undefined> writeValueWithResponse(BufferSource value);
|
|
185
|
-
Promise<undefined> writeValueWithoutResponse(BufferSource value);
|
|
186
|
-
Promise<BluetoothRemoteGATTCharacteristic> startNotifications();
|
|
187
|
-
Promise<BluetoothRemoteGATTCharacteristic> stopNotifications();
|
|
188
|
-
};
|
|
189
|
-
BluetoothRemoteGATTCharacteristic includes CharacteristicEventHandlers;
|
|
190
|
-
|
|
191
|
-
[Exposed=Window, SecureContext]
|
|
192
|
-
interface BluetoothCharacteristicProperties {
|
|
193
|
-
readonly attribute boolean broadcast;
|
|
194
|
-
readonly attribute boolean read;
|
|
195
|
-
readonly attribute boolean writeWithoutResponse;
|
|
196
|
-
readonly attribute boolean write;
|
|
197
|
-
readonly attribute boolean notify;
|
|
198
|
-
readonly attribute boolean indicate;
|
|
199
|
-
readonly attribute boolean authenticatedSignedWrites;
|
|
200
|
-
readonly attribute boolean reliableWrite;
|
|
201
|
-
readonly attribute boolean writableAuxiliaries;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
[Exposed=Window, SecureContext]
|
|
205
|
-
interface BluetoothRemoteGATTDescriptor {
|
|
206
|
-
[SameObject]
|
|
207
|
-
readonly attribute BluetoothRemoteGATTCharacteristic characteristic;
|
|
208
|
-
readonly attribute UUID uuid;
|
|
209
|
-
readonly attribute DataView? value;
|
|
210
|
-
Promise<DataView> readValue();
|
|
211
|
-
Promise<undefined> writeValue(BufferSource value);
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
[SecureContext]
|
|
215
|
-
interface mixin CharacteristicEventHandlers {
|
|
216
|
-
attribute EventHandler oncharacteristicvaluechanged;
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
[SecureContext]
|
|
220
|
-
interface mixin BluetoothDeviceEventHandlers {
|
|
221
|
-
attribute EventHandler onadvertisementreceived;
|
|
222
|
-
attribute EventHandler ongattserverdisconnected;
|
|
223
|
-
};
|
|
224
|
-
|
|
225
|
-
[SecureContext]
|
|
226
|
-
interface mixin ServiceEventHandlers {
|
|
227
|
-
attribute EventHandler onserviceadded;
|
|
228
|
-
attribute EventHandler onservicechanged;
|
|
229
|
-
attribute EventHandler onserviceremoved;
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
typedef DOMString UUID;
|
|
233
|
-
|
|
234
|
-
[Exposed=Window]
|
|
235
|
-
interface BluetoothUUID {
|
|
236
|
-
static UUID getService((DOMString or unsigned long) name);
|
|
237
|
-
static UUID getCharacteristic((DOMString or unsigned long) name);
|
|
238
|
-
static UUID getDescriptor((DOMString or unsigned long) name);
|
|
239
|
-
|
|
240
|
-
static UUID canonicalUUID([EnforceRange] unsigned long alias);
|
|
241
|
-
};
|
|
242
|
-
|
|
243
|
-
typedef (DOMString or unsigned long) BluetoothServiceUUID;
|
|
244
|
-
typedef (DOMString or unsigned long) BluetoothCharacteristicUUID;
|
|
245
|
-
typedef (DOMString or unsigned long) BluetoothDescriptorUUID;
|
|
246
|
-
|
|
247
|
-
[SecureContext]
|
|
248
|
-
partial interface Navigator {
|
|
249
|
-
[SameObject]
|
|
250
|
-
readonly attribute Bluetooth bluetooth;
|
|
251
|
-
};
|
package/web-locks.idl
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Web Locks API (https://w3c.github.io/web-locks/)
|
|
5
|
-
|
|
6
|
-
[SecureContext]
|
|
7
|
-
interface mixin NavigatorLocks {
|
|
8
|
-
readonly attribute LockManager locks;
|
|
9
|
-
};
|
|
10
|
-
Navigator includes NavigatorLocks;
|
|
11
|
-
WorkerNavigator includes NavigatorLocks;
|
|
12
|
-
|
|
13
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
14
|
-
interface LockManager {
|
|
15
|
-
Promise<any> request(DOMString name,
|
|
16
|
-
LockGrantedCallback callback);
|
|
17
|
-
Promise<any> request(DOMString name,
|
|
18
|
-
LockOptions options,
|
|
19
|
-
LockGrantedCallback callback);
|
|
20
|
-
|
|
21
|
-
Promise<LockManagerSnapshot> query();
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
callback LockGrantedCallback = Promise<any> (Lock? lock);
|
|
25
|
-
|
|
26
|
-
enum LockMode { "shared", "exclusive" };
|
|
27
|
-
|
|
28
|
-
dictionary LockOptions {
|
|
29
|
-
LockMode mode = "exclusive";
|
|
30
|
-
boolean ifAvailable = false;
|
|
31
|
-
boolean steal = false;
|
|
32
|
-
AbortSignal signal;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
dictionary LockManagerSnapshot {
|
|
36
|
-
sequence<LockInfo> held;
|
|
37
|
-
sequence<LockInfo> pending;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
dictionary LockInfo {
|
|
41
|
-
DOMString name;
|
|
42
|
-
LockMode mode;
|
|
43
|
-
DOMString clientId;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
47
|
-
interface Lock {
|
|
48
|
-
readonly attribute DOMString name;
|
|
49
|
-
readonly attribute LockMode mode;
|
|
50
|
-
};
|