@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/screen-wake-lock.idl
DELETED
|
@@ -1,24 +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: Screen Wake Lock API (https://w3c.github.io/screen-wake-lock/)
|
|
5
|
-
|
|
6
|
-
[SecureContext]
|
|
7
|
-
partial interface Navigator {
|
|
8
|
-
[SameObject] readonly attribute WakeLock wakeLock;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
[SecureContext, Exposed=(Window)]
|
|
12
|
-
interface WakeLock {
|
|
13
|
-
Promise<WakeLockSentinel> request(optional WakeLockType type = "screen");
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
[SecureContext, Exposed=(Window)]
|
|
17
|
-
interface WakeLockSentinel : EventTarget {
|
|
18
|
-
readonly attribute boolean released;
|
|
19
|
-
readonly attribute WakeLockType type;
|
|
20
|
-
Promise<undefined> release();
|
|
21
|
-
attribute EventHandler onrelease;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
enum WakeLockType { "screen" };
|
package/scroll-animations.idl
DELETED
|
@@ -1,41 +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: Scroll-driven Animations (https://drafts.csswg.org/scroll-animations-1/)
|
|
5
|
-
|
|
6
|
-
enum ScrollAxis {
|
|
7
|
-
"block",
|
|
8
|
-
"inline",
|
|
9
|
-
"horizontal",
|
|
10
|
-
"vertical"
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
dictionary ScrollTimelineOptions {
|
|
14
|
-
Element? source;
|
|
15
|
-
ScrollAxis axis = "block";
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
[Exposed=Window]
|
|
19
|
-
interface ScrollTimeline : AnimationTimeline {
|
|
20
|
-
constructor(optional ScrollTimelineOptions options = {});
|
|
21
|
-
readonly attribute Element? source;
|
|
22
|
-
readonly attribute ScrollAxis axis;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
dictionary ViewTimelineOptions {
|
|
26
|
-
Element subject;
|
|
27
|
-
ScrollAxis axis = "block";
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
[Exposed=Window]
|
|
31
|
-
interface ViewTimeline : ScrollTimeline {
|
|
32
|
-
constructor(optional ViewTimelineOptions options = {});
|
|
33
|
-
readonly attribute Element subject;
|
|
34
|
-
readonly attribute CSSNumericValue startOffset;
|
|
35
|
-
readonly attribute CSSNumericValue endOffset;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
[Exposed=Window]
|
|
39
|
-
partial interface AnimationTimeline {
|
|
40
|
-
CSSNumericValue? getCurrentTime(optional CSSOMString rangeName);
|
|
41
|
-
};
|
|
@@ -1,12 +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: Text Fragments (https://wicg.github.io/scroll-to-text-fragment/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
interface FragmentDirective {
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
partial interface Document {
|
|
11
|
-
[SameObject] readonly attribute FragmentDirective fragmentDirective;
|
|
12
|
-
};
|
|
@@ -1,52 +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: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation/)
|
|
5
|
-
|
|
6
|
-
dictionary SecurePaymentConfirmationRequest {
|
|
7
|
-
required BufferSource challenge;
|
|
8
|
-
required USVString rpId;
|
|
9
|
-
required sequence<BufferSource> credentialIds;
|
|
10
|
-
required PaymentCredentialInstrument instrument;
|
|
11
|
-
unsigned long timeout;
|
|
12
|
-
USVString payeeName;
|
|
13
|
-
USVString payeeOrigin;
|
|
14
|
-
AuthenticationExtensionsClientInputs extensions;
|
|
15
|
-
sequence<USVString> locale;
|
|
16
|
-
boolean showOptOut;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
partial dictionary AuthenticationExtensionsClientInputs {
|
|
20
|
-
AuthenticationExtensionsPaymentInputs payment;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
dictionary AuthenticationExtensionsPaymentInputs {
|
|
24
|
-
boolean isPayment;
|
|
25
|
-
|
|
26
|
-
// Only used for authentication.
|
|
27
|
-
USVString rpId;
|
|
28
|
-
USVString topOrigin;
|
|
29
|
-
USVString payeeName;
|
|
30
|
-
USVString payeeOrigin;
|
|
31
|
-
PaymentCurrencyAmount total;
|
|
32
|
-
PaymentCredentialInstrument instrument;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
dictionary CollectedClientPaymentData : CollectedClientData {
|
|
36
|
-
required CollectedClientAdditionalPaymentData payment;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
dictionary CollectedClientAdditionalPaymentData {
|
|
40
|
-
required USVString rpId;
|
|
41
|
-
required USVString topOrigin;
|
|
42
|
-
USVString payeeName;
|
|
43
|
-
USVString payeeOrigin;
|
|
44
|
-
required PaymentCurrencyAmount total;
|
|
45
|
-
required PaymentCredentialInstrument instrument;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
dictionary PaymentCredentialInstrument {
|
|
49
|
-
required USVString displayName;
|
|
50
|
-
required USVString icon;
|
|
51
|
-
boolean iconMustBeShown = true;
|
|
52
|
-
};
|
package/selection-api.idl
DELETED
|
@@ -1,46 +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: Selection API (https://w3c.github.io/selection-api/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
interface Selection {
|
|
8
|
-
readonly attribute Node? anchorNode;
|
|
9
|
-
readonly attribute unsigned long anchorOffset;
|
|
10
|
-
readonly attribute Node? focusNode;
|
|
11
|
-
readonly attribute unsigned long focusOffset;
|
|
12
|
-
readonly attribute boolean isCollapsed;
|
|
13
|
-
readonly attribute unsigned long rangeCount;
|
|
14
|
-
readonly attribute DOMString type;
|
|
15
|
-
readonly attribute DOMString direction;
|
|
16
|
-
Range getRangeAt(unsigned long index);
|
|
17
|
-
undefined addRange(Range range);
|
|
18
|
-
undefined removeRange(Range range);
|
|
19
|
-
undefined removeAllRanges();
|
|
20
|
-
undefined empty();
|
|
21
|
-
sequence<StaticRange> getComposedRanges(ShadowRoot... shadowRoots);
|
|
22
|
-
undefined collapse(Node? node, optional unsigned long offset = 0);
|
|
23
|
-
undefined setPosition(Node? node, optional unsigned long offset = 0);
|
|
24
|
-
undefined collapseToStart();
|
|
25
|
-
undefined collapseToEnd();
|
|
26
|
-
undefined extend(Node node, optional unsigned long offset = 0);
|
|
27
|
-
undefined setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
|
|
28
|
-
undefined selectAllChildren(Node node);
|
|
29
|
-
undefined modify(optional DOMString alter, optional DOMString direction, optional DOMString granularity);
|
|
30
|
-
[CEReactions] undefined deleteFromDocument();
|
|
31
|
-
boolean containsNode(Node node, optional boolean allowPartialContainment = false);
|
|
32
|
-
stringifier;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
partial interface Document {
|
|
36
|
-
Selection? getSelection();
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
partial interface Window {
|
|
40
|
-
Selection? getSelection();
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
partial interface mixin GlobalEventHandlers {
|
|
44
|
-
attribute EventHandler onselectstart;
|
|
45
|
-
attribute EventHandler onselectionchange;
|
|
46
|
-
};
|
package/serial.idl
DELETED
|
@@ -1,85 +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 Serial API (https://wicg.github.io/serial/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window, SecureContext]
|
|
7
|
-
partial interface Navigator {
|
|
8
|
-
[SameObject] readonly attribute Serial serial;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
[Exposed=DedicatedWorker, SecureContext]
|
|
12
|
-
partial interface WorkerNavigator {
|
|
13
|
-
[SameObject] readonly attribute Serial serial;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
[Exposed=(DedicatedWorker, Window), SecureContext]
|
|
17
|
-
interface Serial : EventTarget {
|
|
18
|
-
attribute EventHandler onconnect;
|
|
19
|
-
attribute EventHandler ondisconnect;
|
|
20
|
-
Promise<sequence<SerialPort>> getPorts();
|
|
21
|
-
[Exposed=Window] Promise<SerialPort> requestPort(optional SerialPortRequestOptions options = {});
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
dictionary SerialPortRequestOptions {
|
|
25
|
-
sequence<SerialPortFilter> filters;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
dictionary SerialPortFilter {
|
|
29
|
-
unsigned short usbVendorId;
|
|
30
|
-
unsigned short usbProductId;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
[Exposed=(DedicatedWorker,Window), SecureContext]
|
|
34
|
-
interface SerialPort : EventTarget {
|
|
35
|
-
attribute EventHandler onconnect;
|
|
36
|
-
attribute EventHandler ondisconnect;
|
|
37
|
-
readonly attribute ReadableStream readable;
|
|
38
|
-
readonly attribute WritableStream writable;
|
|
39
|
-
|
|
40
|
-
SerialPortInfo getInfo();
|
|
41
|
-
|
|
42
|
-
Promise<undefined> open(SerialOptions options);
|
|
43
|
-
Promise<undefined> setSignals(optional SerialOutputSignals signals = {});
|
|
44
|
-
Promise<SerialInputSignals> getSignals();
|
|
45
|
-
Promise<undefined> close();
|
|
46
|
-
Promise<undefined> forget();
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
dictionary SerialPortInfo {
|
|
50
|
-
unsigned short usbVendorId;
|
|
51
|
-
unsigned short usbProductId;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
dictionary SerialOptions {
|
|
55
|
-
[EnforceRange] required unsigned long baudRate;
|
|
56
|
-
[EnforceRange] octet dataBits = 8;
|
|
57
|
-
[EnforceRange] octet stopBits = 1;
|
|
58
|
-
ParityType parity = "none";
|
|
59
|
-
[EnforceRange] unsigned long bufferSize = 255;
|
|
60
|
-
FlowControlType flowControl = "none";
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
enum ParityType {
|
|
64
|
-
"none",
|
|
65
|
-
"even",
|
|
66
|
-
"odd"
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
enum FlowControlType {
|
|
70
|
-
"none",
|
|
71
|
-
"hardware"
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
dictionary SerialOutputSignals {
|
|
75
|
-
boolean dataTerminalReady;
|
|
76
|
-
boolean requestToSend;
|
|
77
|
-
boolean break;
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
dictionary SerialInputSignals {
|
|
81
|
-
required boolean dataCarrierDetect;
|
|
82
|
-
required boolean clearToSend;
|
|
83
|
-
required boolean ringIndicator;
|
|
84
|
-
required boolean dataSetReady;
|
|
85
|
-
};
|
package/server-timing.idl
DELETED
|
@@ -1,17 +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: Server Timing (https://w3c.github.io/server-timing/)
|
|
5
|
-
|
|
6
|
-
[Exposed=(Window,Worker)]
|
|
7
|
-
interface PerformanceServerTiming {
|
|
8
|
-
readonly attribute DOMString name;
|
|
9
|
-
readonly attribute DOMHighResTimeStamp duration;
|
|
10
|
-
readonly attribute DOMString description;
|
|
11
|
-
[Default] object toJSON();
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
[Exposed=(Window,Worker)]
|
|
15
|
-
partial interface PerformanceResourceTiming {
|
|
16
|
-
readonly attribute FrozenArray<PerformanceServerTiming> serverTiming;
|
|
17
|
-
};
|
package/service-workers.idl
DELETED
|
@@ -1,240 +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: Service Workers Nightly (https://w3c.github.io/ServiceWorker/)
|
|
5
|
-
|
|
6
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
7
|
-
interface ServiceWorker : EventTarget {
|
|
8
|
-
readonly attribute USVString scriptURL;
|
|
9
|
-
readonly attribute ServiceWorkerState state;
|
|
10
|
-
undefined postMessage(any message, sequence<object> transfer);
|
|
11
|
-
undefined postMessage(any message, optional StructuredSerializeOptions options = {});
|
|
12
|
-
|
|
13
|
-
// event
|
|
14
|
-
attribute EventHandler onstatechange;
|
|
15
|
-
};
|
|
16
|
-
ServiceWorker includes AbstractWorker;
|
|
17
|
-
|
|
18
|
-
enum ServiceWorkerState {
|
|
19
|
-
"parsed",
|
|
20
|
-
"installing",
|
|
21
|
-
"installed",
|
|
22
|
-
"activating",
|
|
23
|
-
"activated",
|
|
24
|
-
"redundant"
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
28
|
-
interface ServiceWorkerRegistration : EventTarget {
|
|
29
|
-
readonly attribute ServiceWorker? installing;
|
|
30
|
-
readonly attribute ServiceWorker? waiting;
|
|
31
|
-
readonly attribute ServiceWorker? active;
|
|
32
|
-
[SameObject] readonly attribute NavigationPreloadManager navigationPreload;
|
|
33
|
-
|
|
34
|
-
readonly attribute USVString scope;
|
|
35
|
-
readonly attribute ServiceWorkerUpdateViaCache updateViaCache;
|
|
36
|
-
|
|
37
|
-
[NewObject] Promise<undefined> update();
|
|
38
|
-
[NewObject] Promise<boolean> unregister();
|
|
39
|
-
|
|
40
|
-
// event
|
|
41
|
-
attribute EventHandler onupdatefound;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
enum ServiceWorkerUpdateViaCache {
|
|
45
|
-
"imports",
|
|
46
|
-
"all",
|
|
47
|
-
"none"
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
partial interface Navigator {
|
|
51
|
-
[SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
partial interface WorkerNavigator {
|
|
55
|
-
[SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
59
|
-
interface ServiceWorkerContainer : EventTarget {
|
|
60
|
-
readonly attribute ServiceWorker? controller;
|
|
61
|
-
readonly attribute Promise<ServiceWorkerRegistration> ready;
|
|
62
|
-
|
|
63
|
-
[NewObject] Promise<ServiceWorkerRegistration> register(USVString scriptURL, optional RegistrationOptions options = {});
|
|
64
|
-
|
|
65
|
-
[NewObject] Promise<(ServiceWorkerRegistration or undefined)> getRegistration(optional USVString clientURL = "");
|
|
66
|
-
[NewObject] Promise<FrozenArray<ServiceWorkerRegistration>> getRegistrations();
|
|
67
|
-
|
|
68
|
-
undefined startMessages();
|
|
69
|
-
|
|
70
|
-
// events
|
|
71
|
-
attribute EventHandler oncontrollerchange;
|
|
72
|
-
attribute EventHandler onmessage; // event.source of message events is ServiceWorker object
|
|
73
|
-
attribute EventHandler onmessageerror;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
dictionary RegistrationOptions {
|
|
77
|
-
USVString scope;
|
|
78
|
-
WorkerType type = "classic";
|
|
79
|
-
ServiceWorkerUpdateViaCache updateViaCache = "imports";
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
83
|
-
interface NavigationPreloadManager {
|
|
84
|
-
Promise<undefined> enable();
|
|
85
|
-
Promise<undefined> disable();
|
|
86
|
-
Promise<undefined> setHeaderValue(ByteString value);
|
|
87
|
-
Promise<NavigationPreloadState> getState();
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
dictionary NavigationPreloadState {
|
|
91
|
-
boolean enabled = false;
|
|
92
|
-
ByteString headerValue;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
[Global=(Worker,ServiceWorker), Exposed=ServiceWorker]
|
|
96
|
-
interface ServiceWorkerGlobalScope : WorkerGlobalScope {
|
|
97
|
-
[SameObject] readonly attribute Clients clients;
|
|
98
|
-
[SameObject] readonly attribute ServiceWorkerRegistration registration;
|
|
99
|
-
[SameObject] readonly attribute ServiceWorker serviceWorker;
|
|
100
|
-
|
|
101
|
-
[NewObject] Promise<undefined> skipWaiting();
|
|
102
|
-
|
|
103
|
-
attribute EventHandler oninstall;
|
|
104
|
-
attribute EventHandler onactivate;
|
|
105
|
-
attribute EventHandler onfetch;
|
|
106
|
-
|
|
107
|
-
attribute EventHandler onmessage;
|
|
108
|
-
attribute EventHandler onmessageerror;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
[Exposed=ServiceWorker]
|
|
112
|
-
interface Client {
|
|
113
|
-
readonly attribute USVString url;
|
|
114
|
-
readonly attribute FrameType frameType;
|
|
115
|
-
readonly attribute DOMString id;
|
|
116
|
-
readonly attribute ClientType type;
|
|
117
|
-
undefined postMessage(any message, sequence<object> transfer);
|
|
118
|
-
undefined postMessage(any message, optional StructuredSerializeOptions options = {});
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
[Exposed=ServiceWorker]
|
|
122
|
-
interface WindowClient : Client {
|
|
123
|
-
readonly attribute DocumentVisibilityState visibilityState;
|
|
124
|
-
readonly attribute boolean focused;
|
|
125
|
-
[SameObject] readonly attribute FrozenArray<USVString> ancestorOrigins;
|
|
126
|
-
[NewObject] Promise<WindowClient> focus();
|
|
127
|
-
[NewObject] Promise<WindowClient?> navigate(USVString url);
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
enum FrameType {
|
|
131
|
-
"auxiliary",
|
|
132
|
-
"top-level",
|
|
133
|
-
"nested",
|
|
134
|
-
"none"
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
[Exposed=ServiceWorker]
|
|
138
|
-
interface Clients {
|
|
139
|
-
// The objects returned will be new instances every time
|
|
140
|
-
[NewObject] Promise<(Client or undefined)> get(DOMString id);
|
|
141
|
-
[NewObject] Promise<FrozenArray<Client>> matchAll(optional ClientQueryOptions options = {});
|
|
142
|
-
[NewObject] Promise<WindowClient?> openWindow(USVString url);
|
|
143
|
-
[NewObject] Promise<undefined> claim();
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
dictionary ClientQueryOptions {
|
|
147
|
-
boolean includeUncontrolled = false;
|
|
148
|
-
ClientType type = "window";
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
enum ClientType {
|
|
152
|
-
"window",
|
|
153
|
-
"worker",
|
|
154
|
-
"sharedworker",
|
|
155
|
-
"all"
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
[Exposed=ServiceWorker]
|
|
159
|
-
interface ExtendableEvent : Event {
|
|
160
|
-
constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
|
|
161
|
-
undefined waitUntil(Promise<any> f);
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
dictionary ExtendableEventInit : EventInit {
|
|
165
|
-
// Defined for the forward compatibility across the derived events
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
[Exposed=ServiceWorker]
|
|
169
|
-
interface FetchEvent : ExtendableEvent {
|
|
170
|
-
constructor(DOMString type, FetchEventInit eventInitDict);
|
|
171
|
-
[SameObject] readonly attribute Request request;
|
|
172
|
-
readonly attribute Promise<any> preloadResponse;
|
|
173
|
-
readonly attribute DOMString clientId;
|
|
174
|
-
readonly attribute DOMString resultingClientId;
|
|
175
|
-
readonly attribute DOMString replacesClientId;
|
|
176
|
-
readonly attribute Promise<undefined> handled;
|
|
177
|
-
|
|
178
|
-
undefined respondWith(Promise<Response> r);
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
dictionary FetchEventInit : ExtendableEventInit {
|
|
182
|
-
required Request request;
|
|
183
|
-
Promise<any> preloadResponse;
|
|
184
|
-
DOMString clientId = "";
|
|
185
|
-
DOMString resultingClientId = "";
|
|
186
|
-
DOMString replacesClientId = "";
|
|
187
|
-
Promise<undefined> handled;
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
[Exposed=ServiceWorker]
|
|
191
|
-
interface ExtendableMessageEvent : ExtendableEvent {
|
|
192
|
-
constructor(DOMString type, optional ExtendableMessageEventInit eventInitDict = {});
|
|
193
|
-
readonly attribute any data;
|
|
194
|
-
readonly attribute USVString origin;
|
|
195
|
-
readonly attribute DOMString lastEventId;
|
|
196
|
-
[SameObject] readonly attribute (Client or ServiceWorker or MessagePort)? source;
|
|
197
|
-
readonly attribute FrozenArray<MessagePort> ports;
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
dictionary ExtendableMessageEventInit : ExtendableEventInit {
|
|
201
|
-
any data = null;
|
|
202
|
-
USVString origin = "";
|
|
203
|
-
DOMString lastEventId = "";
|
|
204
|
-
(Client or ServiceWorker or MessagePort)? source = null;
|
|
205
|
-
sequence<MessagePort> ports = [];
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
partial interface mixin WindowOrWorkerGlobalScope {
|
|
209
|
-
[SecureContext, SameObject] readonly attribute CacheStorage caches;
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
213
|
-
interface Cache {
|
|
214
|
-
[NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional CacheQueryOptions options = {});
|
|
215
|
-
[NewObject] Promise<FrozenArray<Response>> matchAll(optional RequestInfo request, optional CacheQueryOptions options = {});
|
|
216
|
-
[NewObject] Promise<undefined> add(RequestInfo request);
|
|
217
|
-
[NewObject] Promise<undefined> addAll(sequence<RequestInfo> requests);
|
|
218
|
-
[NewObject] Promise<undefined> put(RequestInfo request, Response response);
|
|
219
|
-
[NewObject] Promise<boolean> delete(RequestInfo request, optional CacheQueryOptions options = {});
|
|
220
|
-
[NewObject] Promise<FrozenArray<Request>> keys(optional RequestInfo request, optional CacheQueryOptions options = {});
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
dictionary CacheQueryOptions {
|
|
224
|
-
boolean ignoreSearch = false;
|
|
225
|
-
boolean ignoreMethod = false;
|
|
226
|
-
boolean ignoreVary = false;
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
[SecureContext, Exposed=(Window,Worker)]
|
|
230
|
-
interface CacheStorage {
|
|
231
|
-
[NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional MultiCacheQueryOptions options = {});
|
|
232
|
-
[NewObject] Promise<boolean> has(DOMString cacheName);
|
|
233
|
-
[NewObject] Promise<Cache> open(DOMString cacheName);
|
|
234
|
-
[NewObject] Promise<boolean> delete(DOMString cacheName);
|
|
235
|
-
[NewObject] Promise<sequence<DOMString>> keys();
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
dictionary MultiCacheQueryOptions : CacheQueryOptions {
|
|
239
|
-
DOMString cacheName;
|
|
240
|
-
};
|
package/shape-detection-api.idl
DELETED
|
@@ -1,69 +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: Accelerated Shape Detection in Images (https://wicg.github.io/shape-detection-api/)
|
|
5
|
-
|
|
6
|
-
[Exposed=(Window,Worker),
|
|
7
|
-
SecureContext]
|
|
8
|
-
interface FaceDetector {
|
|
9
|
-
constructor(optional FaceDetectorOptions faceDetectorOptions = {});
|
|
10
|
-
Promise<sequence<DetectedFace>> detect(ImageBitmapSource image);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
dictionary FaceDetectorOptions {
|
|
14
|
-
unsigned short maxDetectedFaces;
|
|
15
|
-
boolean fastMode;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
dictionary DetectedFace {
|
|
19
|
-
required DOMRectReadOnly boundingBox;
|
|
20
|
-
required FrozenArray<Landmark>? landmarks;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
dictionary Landmark {
|
|
24
|
-
required FrozenArray<Point2D> locations;
|
|
25
|
-
LandmarkType type;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
enum LandmarkType {
|
|
29
|
-
"mouth",
|
|
30
|
-
"eye",
|
|
31
|
-
"nose"
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
[Exposed=(Window,Worker),
|
|
35
|
-
SecureContext]
|
|
36
|
-
interface BarcodeDetector {
|
|
37
|
-
constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {});
|
|
38
|
-
static Promise<sequence<BarcodeFormat>> getSupportedFormats();
|
|
39
|
-
|
|
40
|
-
Promise<sequence<DetectedBarcode>> detect(ImageBitmapSource image);
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
dictionary BarcodeDetectorOptions {
|
|
44
|
-
sequence<BarcodeFormat> formats;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
dictionary DetectedBarcode {
|
|
48
|
-
required DOMRectReadOnly boundingBox;
|
|
49
|
-
required DOMString rawValue;
|
|
50
|
-
required BarcodeFormat format;
|
|
51
|
-
required FrozenArray<Point2D> cornerPoints;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
enum BarcodeFormat {
|
|
55
|
-
"aztec",
|
|
56
|
-
"code_128",
|
|
57
|
-
"code_39",
|
|
58
|
-
"code_93",
|
|
59
|
-
"codabar",
|
|
60
|
-
"data_matrix",
|
|
61
|
-
"ean_13",
|
|
62
|
-
"ean_8",
|
|
63
|
-
"itf",
|
|
64
|
-
"pdf417",
|
|
65
|
-
"qr_code",
|
|
66
|
-
"unknown",
|
|
67
|
-
"upc_a",
|
|
68
|
-
"upc_e"
|
|
69
|
-
};
|