@webref/idl 3.29.0 → 3.30.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/ANGLE_instanced_arrays.idl +12 -0
- package/CSP.idl +56 -0
- package/DOM-Parsing.idl +26 -0
- package/EXT_blend_minmax.idl +10 -0
- package/EXT_color_buffer_float.idl +8 -0
- package/EXT_color_buffer_half_float.idl +12 -0
- package/EXT_disjoint_timer_query.idl +30 -0
- package/EXT_disjoint_timer_query_webgl2.idl +14 -0
- package/EXT_float_blend.idl +8 -0
- package/EXT_frag_depth.idl +8 -0
- package/EXT_sRGB.idl +12 -0
- package/EXT_shader_texture_lod.idl +8 -0
- package/EXT_texture_compression_bptc.idl +12 -0
- package/EXT_texture_compression_rgtc.idl +12 -0
- package/EXT_texture_filter_anisotropic.idl +10 -0
- package/EXT_texture_norm16.idl +16 -0
- package/FedCM.idl +67 -0
- package/FileAPI.idl +100 -0
- package/IndexedDB.idl +226 -0
- package/KHR_parallel_shader_compile.idl +9 -0
- package/OES_draw_buffers_indexed.idl +26 -0
- package/OES_element_index_uint.idl +8 -0
- package/OES_fbo_render_mipmap.idl +8 -0
- package/OES_standard_derivatives.idl +9 -0
- package/OES_texture_float.idl +7 -0
- package/OES_texture_float_linear.idl +7 -0
- package/OES_texture_half_float.idl +9 -0
- package/OES_texture_half_float_linear.idl +7 -0
- package/OES_vertex_array_object.idl +18 -0
- package/OVR_multiview2.idl +14 -0
- package/SVG.idl +693 -0
- package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
- package/WEBGL_clip_cull_distance.idl +20 -0
- package/WEBGL_color_buffer_float.idl +11 -0
- package/WEBGL_compressed_texture_astc.idl +41 -0
- package/WEBGL_compressed_texture_etc.idl +19 -0
- package/WEBGL_compressed_texture_etc1.idl +10 -0
- package/WEBGL_compressed_texture_pvrtc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
- package/WEBGL_debug_renderer_info.idl +12 -0
- package/WEBGL_debug_shaders.idl +11 -0
- package/WEBGL_depth_texture.idl +9 -0
- package/WEBGL_draw_buffers.idl +46 -0
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
- package/WEBGL_lose_context.idl +10 -0
- package/WEBGL_multi_draw.idl +32 -0
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
- package/WEBGL_provoking_vertex.idl +13 -0
- package/WebCryptoAPI.idl +237 -0
- package/accelerometer.idl +40 -0
- package/ambient-light.idl +14 -0
- package/anchors.idl +37 -0
- package/attribution-reporting-api.idl +12 -0
- package/audio-output.idl +17 -0
- package/autoplay-detection.idl +19 -0
- package/background-fetch.idl +89 -0
- package/background-sync.idl +30 -0
- package/badging.idl +19 -0
- package/battery-status.idl +21 -0
- package/beacon.idl +8 -0
- package/capture-handle-identity.idl +27 -0
- package/clipboard-apis.idl +51 -0
- package/close-watcher.idl +19 -0
- package/compat.idl +13 -0
- package/compression.idl +16 -0
- package/compute-pressure.idl +40 -0
- package/console.idl +34 -0
- package/contact-picker.idl +44 -0
- package/content-index.idl +46 -0
- package/cookie-store.idl +110 -0
- package/crash-reporting.idl +10 -0
- package/credential-management.idl +105 -0
- package/csp-embedded-enforcement.idl +8 -0
- package/csp-next.idl +21 -0
- package/css-animation-worklet.idl +37 -0
- package/css-animations-2.idl +9 -0
- package/css-animations.idl +47 -0
- package/css-cascade-6.idl +10 -0
- package/css-cascade.idl +18 -0
- package/css-color-5.idl +12 -0
- package/css-conditional.idl +27 -0
- package/css-contain-3.idl +10 -0
- package/css-contain.idl +13 -0
- package/css-counter-styles.idl +23 -0
- package/css-font-loading.idl +134 -0
- package/css-fonts.idl +36 -0
- package/css-highlight-api.idl +27 -0
- package/css-images-4.idl +8 -0
- package/css-layout-api.idl +144 -0
- package/css-masking.idl +20 -0
- package/css-nav.idl +48 -0
- package/css-nesting.idl +10 -0
- package/css-paint-api.idl +39 -0
- package/css-parser-api.idl +76 -0
- package/css-properties-values-api.idl +23 -0
- package/css-pseudo.idl +16 -0
- package/css-regions.idl +29 -0
- package/css-shadow-parts.idl +8 -0
- package/css-transitions-2.idl +9 -0
- package/css-transitions.idl +25 -0
- package/css-typed-om.idl +423 -0
- package/css-view-transitions.idl +18 -0
- package/cssom-view.idl +200 -0
- package/cssom.idl +159 -0
- package/custom-state-pseudo-class.idl +14 -0
- package/datacue.idl +12 -0
- package/deprecation-reporting.idl +15 -0
- package/device-memory.idl +14 -0
- package/device-posture.idl +21 -0
- package/digital-goods.idl +44 -0
- package/dom.idl +645 -0
- package/edit-context.idl +111 -0
- package/element-timing.idl +22 -0
- package/encoding.idl +59 -0
- package/encrypted-media.idl +125 -0
- package/entries-api.idl +71 -0
- package/event-timing.idl +29 -0
- package/eyedropper-api.idl +18 -0
- package/fenced-frame.idl +49 -0
- package/fetch.idl +117 -0
- package/fido.idl +47 -0
- package/file-system-access.idl +72 -0
- package/filter-effects.idl +341 -0
- package/font-metrics-api.idl +42 -0
- package/fs.idl +97 -0
- package/fullscreen.idl +35 -0
- package/gamepad-extensions.idl +71 -0
- package/gamepad.idl +49 -0
- package/generic-sensor.idl +60 -0
- package/geolocation-sensor.idl +47 -0
- package/geolocation.idl +65 -0
- package/geometry.idl +290 -0
- package/get-installed-related-apps.idl +16 -0
- package/gpc-spec.idl +10 -0
- package/gyroscope.idl +24 -0
- package/hr-time.idl +19 -0
- package/html-media-capture.idl +8 -0
- package/html.idl +2716 -0
- package/idle-detection.idl +31 -0
- package/image-capture.idl +160 -0
- package/image-resource.idl +11 -0
- package/ink-enhancement.idl +32 -0
- package/input-device-capabilities.idl +24 -0
- package/input-events.idl +14 -0
- package/intersection-observer.idl +46 -0
- package/intervention-reporting.idl +14 -0
- package/is-input-pending.idl +16 -0
- package/js-self-profiling.idl +44 -0
- package/keyboard-lock.idl +14 -0
- package/keyboard-map.idl +15 -0
- package/largest-contentful-paint.idl +15 -0
- package/layout-instability.idl +20 -0
- package/local-font-access.idl +24 -0
- package/longtasks.idl +19 -0
- package/magnetometer.idl +46 -0
- package/manifest-incubations.idl +24 -0
- package/mathml-core.idl +9 -0
- package/media-capabilities.idl +115 -0
- package/media-playback-quality.idl +18 -0
- package/media-source.idl +91 -0
- package/mediacapture-automation.idl +36 -0
- package/mediacapture-fromelement.idl +17 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-region.idl +15 -0
- package/mediacapture-streams.idl +248 -0
- package/mediacapture-transform.idl +23 -0
- package/mediacapture-viewport.idl +14 -0
- package/mediasession.idl +84 -0
- package/mediastream-recording.idl +60 -0
- package/model-element.idl +9 -0
- package/mst-content-hint.idl +18 -0
- package/navigation-timing.idl +71 -0
- package/netinfo.idl +43 -0
- package/notifications.idl +101 -0
- package/orientation-event.idl +82 -0
- package/orientation-sensor.idl +35 -0
- package/package.json +1 -1
- package/page-lifecycle.idl +19 -0
- package/paint-timing.idl +7 -0
- package/payment-handler.idl +131 -0
- package/payment-request.idl +112 -0
- package/performance-measure-memory.idl +30 -0
- package/performance-timeline.idl +49 -0
- package/periodic-background-sync.idl +34 -0
- package/permissions-policy.idl +29 -0
- package/permissions-request.idl +8 -0
- package/permissions-revoke.idl +8 -0
- package/permissions.idl +41 -0
- package/picture-in-picture.idl +41 -0
- package/pointerevents.idl +64 -0
- package/pointerlock.idl +28 -0
- package/portals.idl +50 -0
- package/prefer-current-tab.idl +8 -0
- package/prerendering-revamped.idl +15 -0
- package/presentation-api.idl +95 -0
- package/private-click-measurement.idl +8 -0
- package/proximity.idl +18 -0
- package/push-api.idl +93 -0
- package/raw-camera-access.idl +18 -0
- package/referrer-policy.idl +16 -0
- package/remote-playback.idl +32 -0
- package/reporting.idl +39 -0
- package/requestStorageAccessForOrigin.idl +12 -0
- package/requestidlecallback.idl +20 -0
- package/resize-observer.idl +37 -0
- package/resource-timing.idl +40 -0
- package/sanitizer-api.idl +38 -0
- package/savedata.idl +10 -0
- package/scheduling-apis.idl +57 -0
- package/screen-capture.idl +85 -0
- package/screen-orientation.idl +35 -0
- package/screen-wake-lock.idl +24 -0
- package/scroll-animations.idl +41 -0
- package/scroll-to-text-fragment.idl +12 -0
- package/secure-payment-confirmation.idl +52 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +240 -0
- package/shape-detection-api.idl +69 -0
- package/speech-api.idl +202 -0
- package/storage-access.idl +9 -0
- package/storage.idl +25 -0
- package/streams.idl +222 -0
- package/svg-animations.idl +68 -0
- package/testutils.idl +9 -0
- package/text-detection-api.idl +18 -0
- package/touch-events.idl +79 -0
- package/trust-token-api.idl +29 -0
- package/trusted-types.idl +71 -0
- package/turtledove.idl +63 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +44 -0
- package/urlpattern.idl +59 -0
- package/user-timing.idl +34 -0
- package/vibration.idl +10 -0
- package/video-rvfc.idl +27 -0
- package/virtual-keyboard.idl +21 -0
- package/wai-aria.idl +59 -0
- package/wasm-js-api.idl +110 -0
- package/wasm-web-api.idl +11 -0
- package/web-animations-2.idl +102 -0
- package/web-animations.idl +149 -0
- package/web-app-launch.idl +19 -0
- package/web-bluetooth.idl +251 -0
- package/web-locks.idl +50 -0
- package/web-nfc.idl +81 -0
- package/web-otp.idl +21 -0
- package/web-share.idl +16 -0
- package/webaudio.idl +674 -0
- package/webauthn.idl +349 -0
- package/webcodecs-aac-codec-registration.idl +17 -0
- package/webcodecs-avc-codec-registration.idl +17 -0
- package/webcodecs-flac-codec-registration.idl +13 -0
- package/webcodecs-hevc-codec-registration.idl +17 -0
- package/webcodecs-opus-codec-registration.idl +22 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +500 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webdriver.idl +9 -0
- package/webgl1.idl +745 -0
- package/webgl2.idl +582 -0
- package/webgpu.idl +1267 -0
- package/webhid.idl +127 -0
- package/webidl.idl +48 -0
- package/webmidi.idl +91 -0
- package/webnn.idl +549 -0
- package/webrtc-encoded-transform.idl +127 -0
- package/webrtc-ice.idl +24 -0
- package/webrtc-identity.idl +97 -0
- package/webrtc-priority.idl +24 -0
- package/webrtc-stats.idl +288 -0
- package/webrtc-svc.idl +8 -0
- package/webrtc.idl +628 -0
- package/websockets.idl +48 -0
- package/webtransport.idl +143 -0
- package/webusb.idl +249 -0
- package/webvtt.idl +40 -0
- package/webxr-ar-module.idl +29 -0
- package/webxr-depth-sensing.idl +57 -0
- package/webxr-dom-overlays.idl +31 -0
- package/webxr-gamepads-module.idl +8 -0
- package/webxr-hand-input.idl +66 -0
- package/webxr-hit-test.idl +69 -0
- package/webxr-lighting-estimation.idl +39 -0
- package/webxr.idl +295 -0
- package/webxrlayers.idl +212 -0
- package/window-controls-overlay.idl +28 -0
- package/window-placement.idl +42 -0
- package/xhr.idl +99 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
|
|
5
|
+
|
|
6
|
+
interface mixin HTMLAttributionSrcElementUtils {
|
|
7
|
+
[CEReactions] attribute USVString attributionSrc;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
HTMLAnchorElement includes HTMLAttributionSrcElementUtils;
|
|
11
|
+
HTMLImageElement includes HTMLAttributionSrcElementUtils;
|
|
12
|
+
HTMLScriptElement includes HTMLAttributionSrcElementUtils;
|
package/audio-output.idl
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Audio Output Devices API (https://w3c.github.io/mediacapture-output/)
|
|
5
|
+
|
|
6
|
+
partial interface HTMLMediaElement {
|
|
7
|
+
[SecureContext] readonly attribute DOMString sinkId;
|
|
8
|
+
[SecureContext] Promise<undefined> setSinkId (DOMString sinkId);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
partial interface MediaDevices {
|
|
12
|
+
Promise<MediaDeviceInfo> selectAudioOutput(optional AudioOutputOptions options = {});
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
dictionary AudioOutputOptions {
|
|
16
|
+
DOMString deviceId = "";
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Autoplay Policy Detection (https://w3c.github.io/autoplay/)
|
|
5
|
+
|
|
6
|
+
enum AutoplayPolicy {
|
|
7
|
+
"allowed",
|
|
8
|
+
"allowed-muted",
|
|
9
|
+
"disallowed"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
enum AutoplayPolicyMediaType { "mediaelement", "audiocontext" };
|
|
13
|
+
|
|
14
|
+
[Exposed=Window]
|
|
15
|
+
partial interface Navigator {
|
|
16
|
+
AutoplayPolicy getAutoplayPolicy(AutoplayPolicyMediaType type);
|
|
17
|
+
AutoplayPolicy getAutoplayPolicy(HTMLMediaElement element);
|
|
18
|
+
AutoplayPolicy getAutoplayPolicy(AudioContext context);
|
|
19
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Background Fetch (https://wicg.github.io/background-fetch/)
|
|
5
|
+
|
|
6
|
+
partial interface ServiceWorkerGlobalScope {
|
|
7
|
+
attribute EventHandler onbackgroundfetchsuccess;
|
|
8
|
+
attribute EventHandler onbackgroundfetchfail;
|
|
9
|
+
attribute EventHandler onbackgroundfetchabort;
|
|
10
|
+
attribute EventHandler onbackgroundfetchclick;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
partial interface ServiceWorkerRegistration {
|
|
14
|
+
readonly attribute BackgroundFetchManager backgroundFetch;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
[Exposed=(Window,Worker)]
|
|
18
|
+
interface BackgroundFetchManager {
|
|
19
|
+
Promise<BackgroundFetchRegistration> fetch(DOMString id, (RequestInfo or sequence<RequestInfo>) requests, optional BackgroundFetchOptions options = {});
|
|
20
|
+
Promise<BackgroundFetchRegistration?> get(DOMString id);
|
|
21
|
+
Promise<sequence<DOMString>> getIds();
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
dictionary BackgroundFetchUIOptions {
|
|
25
|
+
sequence<ImageResource> icons;
|
|
26
|
+
DOMString title;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
dictionary BackgroundFetchOptions : BackgroundFetchUIOptions {
|
|
30
|
+
unsigned long long downloadTotal = 0;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
[Exposed=(Window,Worker)]
|
|
34
|
+
interface BackgroundFetchRegistration : EventTarget {
|
|
35
|
+
readonly attribute DOMString id;
|
|
36
|
+
readonly attribute unsigned long long uploadTotal;
|
|
37
|
+
readonly attribute unsigned long long uploaded;
|
|
38
|
+
readonly attribute unsigned long long downloadTotal;
|
|
39
|
+
readonly attribute unsigned long long downloaded;
|
|
40
|
+
readonly attribute BackgroundFetchResult result;
|
|
41
|
+
readonly attribute BackgroundFetchFailureReason failureReason;
|
|
42
|
+
readonly attribute boolean recordsAvailable;
|
|
43
|
+
|
|
44
|
+
attribute EventHandler onprogress;
|
|
45
|
+
|
|
46
|
+
Promise<boolean> abort();
|
|
47
|
+
Promise<BackgroundFetchRecord> match(RequestInfo request, optional CacheQueryOptions options = {});
|
|
48
|
+
Promise<sequence<BackgroundFetchRecord>> matchAll(optional RequestInfo request, optional CacheQueryOptions options = {});
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
enum BackgroundFetchResult { "", "success", "failure" };
|
|
52
|
+
|
|
53
|
+
enum BackgroundFetchFailureReason {
|
|
54
|
+
// The background fetch has not completed yet, or was successful.
|
|
55
|
+
"",
|
|
56
|
+
// The operation was aborted by the user, or abort() was called.
|
|
57
|
+
"aborted",
|
|
58
|
+
// A response had a not-ok-status.
|
|
59
|
+
"bad-status",
|
|
60
|
+
// A fetch failed for other reasons, e.g. CORS, MIX, an invalid partial response,
|
|
61
|
+
// or a general network failure for a fetch that cannot be retried.
|
|
62
|
+
"fetch-error",
|
|
63
|
+
// Storage quota was reached during the operation.
|
|
64
|
+
"quota-exceeded",
|
|
65
|
+
// The provided downloadTotal was exceeded.
|
|
66
|
+
"download-total-exceeded"
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
[Exposed=(Window,Worker)]
|
|
70
|
+
interface BackgroundFetchRecord {
|
|
71
|
+
readonly attribute Request request;
|
|
72
|
+
readonly attribute Promise<Response> responseReady;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
[Exposed=ServiceWorker]
|
|
76
|
+
interface BackgroundFetchEvent : ExtendableEvent {
|
|
77
|
+
constructor(DOMString type, BackgroundFetchEventInit init);
|
|
78
|
+
readonly attribute BackgroundFetchRegistration registration;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
dictionary BackgroundFetchEventInit : ExtendableEventInit {
|
|
82
|
+
required BackgroundFetchRegistration registration;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
[Exposed=ServiceWorker]
|
|
86
|
+
interface BackgroundFetchUpdateUIEvent : BackgroundFetchEvent {
|
|
87
|
+
constructor(DOMString type, BackgroundFetchEventInit init);
|
|
88
|
+
Promise<undefined> updateUI(optional BackgroundFetchUIOptions options = {});
|
|
89
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Web Background Synchronization (https://wicg.github.io/background-sync/spec/)
|
|
5
|
+
|
|
6
|
+
partial interface ServiceWorkerRegistration {
|
|
7
|
+
readonly attribute SyncManager sync;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=(Window,Worker)]
|
|
11
|
+
interface SyncManager {
|
|
12
|
+
Promise<undefined> register(DOMString tag);
|
|
13
|
+
Promise<sequence<DOMString>> getTags();
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
partial interface ServiceWorkerGlobalScope {
|
|
17
|
+
attribute EventHandler onsync;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
[Exposed=ServiceWorker]
|
|
21
|
+
interface SyncEvent : ExtendableEvent {
|
|
22
|
+
constructor(DOMString type, SyncEventInit init);
|
|
23
|
+
readonly attribute DOMString tag;
|
|
24
|
+
readonly attribute boolean lastChance;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
dictionary SyncEventInit : ExtendableEventInit {
|
|
28
|
+
required DOMString tag;
|
|
29
|
+
boolean lastChance = false;
|
|
30
|
+
};
|
package/badging.idl
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Badging API (https://w3c.github.io/badging/)
|
|
5
|
+
|
|
6
|
+
[SecureContext]
|
|
7
|
+
partial interface Navigator {
|
|
8
|
+
Promise<undefined> setClientBadge(optional [EnforceRange] unsigned long long contents);
|
|
9
|
+
Promise<undefined> clearClientBadge();
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
[SecureContext]
|
|
13
|
+
interface mixin NavigatorBadge {
|
|
14
|
+
Promise<undefined> setAppBadge(optional [EnforceRange] unsigned long long contents);
|
|
15
|
+
Promise<undefined> clearAppBadge();
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
Navigator includes NavigatorBadge;
|
|
19
|
+
WorkerNavigator includes NavigatorBadge;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Battery Status API (https://w3c.github.io/battery/)
|
|
5
|
+
|
|
6
|
+
[SecureContext]
|
|
7
|
+
partial interface Navigator {
|
|
8
|
+
Promise<BatteryManager> getBattery();
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[SecureContext, Exposed=Window]
|
|
12
|
+
interface BatteryManager : EventTarget {
|
|
13
|
+
readonly attribute boolean charging;
|
|
14
|
+
readonly attribute unrestricted double chargingTime;
|
|
15
|
+
readonly attribute unrestricted double dischargingTime;
|
|
16
|
+
readonly attribute double level;
|
|
17
|
+
attribute EventHandler onchargingchange;
|
|
18
|
+
attribute EventHandler onchargingtimechange;
|
|
19
|
+
attribute EventHandler ondischargingtimechange;
|
|
20
|
+
attribute EventHandler onlevelchange;
|
|
21
|
+
};
|
package/beacon.idl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Beacon (https://w3c.github.io/beacon/)
|
|
5
|
+
|
|
6
|
+
partial interface Navigator {
|
|
7
|
+
boolean sendBeacon(USVString url, optional BodyInit? data = null);
|
|
8
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Capture Handle - Bootstrapping Collaboration when Screensharing (https://w3c.github.io/mediacapture-handle/identity/)
|
|
5
|
+
|
|
6
|
+
dictionary CaptureHandleConfig {
|
|
7
|
+
boolean exposeOrigin = false;
|
|
8
|
+
DOMString handle = "";
|
|
9
|
+
sequence<DOMString> permittedOrigins = [];
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
partial interface MediaDevices {
|
|
13
|
+
undefined setCaptureHandleConfig(optional CaptureHandleConfig config = {});
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
dictionary CaptureHandle {
|
|
17
|
+
DOMString origin;
|
|
18
|
+
DOMString handle;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
partial interface MediaStreamTrack {
|
|
22
|
+
CaptureHandle? getCaptureHandle();
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
partial interface MediaStreamTrack {
|
|
26
|
+
attribute EventHandler oncapturehandlechange;
|
|
27
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Clipboard API and events (https://w3c.github.io/clipboard-apis/)
|
|
5
|
+
|
|
6
|
+
dictionary ClipboardEventInit : EventInit {
|
|
7
|
+
DataTransfer? clipboardData = null;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window]
|
|
11
|
+
interface ClipboardEvent : Event {
|
|
12
|
+
constructor(DOMString type, optional ClipboardEventInit eventInitDict = {});
|
|
13
|
+
readonly attribute DataTransfer? clipboardData;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
partial interface Navigator {
|
|
17
|
+
[SecureContext, SameObject] readonly attribute Clipboard clipboard;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
typedef Promise<(DOMString or Blob)> ClipboardItemData;
|
|
21
|
+
|
|
22
|
+
[SecureContext, Exposed=Window]
|
|
23
|
+
interface ClipboardItem {
|
|
24
|
+
constructor(record<DOMString, ClipboardItemData> items,
|
|
25
|
+
optional ClipboardItemOptions options = {});
|
|
26
|
+
|
|
27
|
+
readonly attribute PresentationStyle presentationStyle;
|
|
28
|
+
readonly attribute FrozenArray<DOMString> types;
|
|
29
|
+
|
|
30
|
+
Promise<Blob> getType(DOMString type);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
enum PresentationStyle { "unspecified", "inline", "attachment" };
|
|
34
|
+
|
|
35
|
+
dictionary ClipboardItemOptions {
|
|
36
|
+
PresentationStyle presentationStyle = "unspecified";
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
typedef sequence<ClipboardItem> ClipboardItems;
|
|
40
|
+
|
|
41
|
+
[SecureContext, Exposed=Window]
|
|
42
|
+
interface Clipboard : EventTarget {
|
|
43
|
+
Promise<ClipboardItems> read();
|
|
44
|
+
Promise<DOMString> readText();
|
|
45
|
+
Promise<undefined> write(ClipboardItems data);
|
|
46
|
+
Promise<undefined> writeText(DOMString data);
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
|
|
50
|
+
boolean allowWithoutGesture = false;
|
|
51
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Close Watcher API (https://wicg.github.io/close-watcher/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CloseWatcher : EventTarget {
|
|
8
|
+
constructor(optional CloseWatcherOptions options = {});
|
|
9
|
+
|
|
10
|
+
undefined destroy();
|
|
11
|
+
undefined close();
|
|
12
|
+
|
|
13
|
+
attribute EventHandler oncancel;
|
|
14
|
+
attribute EventHandler onclose;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
dictionary CloseWatcherOptions {
|
|
18
|
+
AbortSignal signal;
|
|
19
|
+
};
|
package/compat.idl
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Compatibility Standard (https://compat.spec.whatwg.org/)
|
|
5
|
+
|
|
6
|
+
partial interface Window {
|
|
7
|
+
readonly attribute short orientation;
|
|
8
|
+
attribute EventHandler onorientationchange;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
partial interface HTMLBodyElement {
|
|
12
|
+
attribute EventHandler onorientationchange;
|
|
13
|
+
};
|
package/compression.idl
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Compression Streams (https://wicg.github.io/compression/)
|
|
5
|
+
|
|
6
|
+
[Exposed=*]
|
|
7
|
+
interface CompressionStream {
|
|
8
|
+
constructor(DOMString format);
|
|
9
|
+
};
|
|
10
|
+
CompressionStream includes GenericTransformStream;
|
|
11
|
+
|
|
12
|
+
[Exposed=*]
|
|
13
|
+
interface DecompressionStream {
|
|
14
|
+
constructor(DOMString format);
|
|
15
|
+
};
|
|
16
|
+
DecompressionStream includes GenericTransformStream;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Compute Pressure Level 1 (https://w3c.github.io/compute-pressure/)
|
|
5
|
+
|
|
6
|
+
enum PressureState { "nominal", "fair", "serious", "critical" };
|
|
7
|
+
|
|
8
|
+
enum PressureFactor { "thermal", "power-supply" };
|
|
9
|
+
|
|
10
|
+
callback PressureUpdateCallback = undefined (
|
|
11
|
+
sequence<PressureRecord> changes,
|
|
12
|
+
PressureObserver observer
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
enum PressureSource { "cpu" };
|
|
16
|
+
|
|
17
|
+
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
18
|
+
interface PressureObserver {
|
|
19
|
+
constructor(PressureUpdateCallback callback, optional PressureObserverOptions options = {});
|
|
20
|
+
|
|
21
|
+
Promise<undefined> observe(PressureSource source);
|
|
22
|
+
undefined unobserve(PressureSource source);
|
|
23
|
+
undefined disconnect();
|
|
24
|
+
sequence<PressureRecord> takeRecords();
|
|
25
|
+
|
|
26
|
+
[SameObject] static readonly attribute FrozenArray<PressureSource> supportedSources;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
30
|
+
interface PressureRecord {
|
|
31
|
+
readonly attribute PressureSource source;
|
|
32
|
+
readonly attribute PressureState state;
|
|
33
|
+
readonly attribute FrozenArray<PressureFactor> factors;
|
|
34
|
+
readonly attribute DOMHighResTimeStamp time;
|
|
35
|
+
[Default] object toJSON();
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
dictionary PressureObserverOptions {
|
|
39
|
+
double sampleRate = 1.0;
|
|
40
|
+
};
|
package/console.idl
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Console Standard (https://console.spec.whatwg.org/)
|
|
5
|
+
|
|
6
|
+
[Exposed=*]
|
|
7
|
+
namespace console { // but see namespace object requirements below
|
|
8
|
+
// Logging
|
|
9
|
+
undefined assert(optional boolean condition = false, any... data);
|
|
10
|
+
undefined clear();
|
|
11
|
+
undefined debug(any... data);
|
|
12
|
+
undefined error(any... data);
|
|
13
|
+
undefined info(any... data);
|
|
14
|
+
undefined log(any... data);
|
|
15
|
+
undefined table(optional any tabularData, optional sequence<DOMString> properties);
|
|
16
|
+
undefined trace(any... data);
|
|
17
|
+
undefined warn(any... data);
|
|
18
|
+
undefined dir(optional any item, optional object? options);
|
|
19
|
+
undefined dirxml(any... data);
|
|
20
|
+
|
|
21
|
+
// Counting
|
|
22
|
+
undefined count(optional DOMString label = "default");
|
|
23
|
+
undefined countReset(optional DOMString label = "default");
|
|
24
|
+
|
|
25
|
+
// Grouping
|
|
26
|
+
undefined group(any... data);
|
|
27
|
+
undefined groupCollapsed(any... data);
|
|
28
|
+
undefined groupEnd();
|
|
29
|
+
|
|
30
|
+
// Timing
|
|
31
|
+
undefined time(optional DOMString label = "default");
|
|
32
|
+
undefined timeLog(optional DOMString label = "default", any... data);
|
|
33
|
+
undefined timeEnd(optional DOMString label = "default");
|
|
34
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Contact Picker API (https://w3c.github.io/contact-picker/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
partial interface Navigator {
|
|
8
|
+
[SecureContext, SameObject] readonly attribute ContactsManager contacts;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
enum ContactProperty { "address", "email", "icon", "name", "tel" };
|
|
12
|
+
|
|
13
|
+
[Exposed=Window]
|
|
14
|
+
interface ContactAddress {
|
|
15
|
+
[Default] object toJSON();
|
|
16
|
+
readonly attribute DOMString city;
|
|
17
|
+
readonly attribute DOMString country;
|
|
18
|
+
readonly attribute DOMString dependentLocality;
|
|
19
|
+
readonly attribute DOMString organization;
|
|
20
|
+
readonly attribute DOMString phone;
|
|
21
|
+
readonly attribute DOMString postalCode;
|
|
22
|
+
readonly attribute DOMString recipient;
|
|
23
|
+
readonly attribute DOMString region;
|
|
24
|
+
readonly attribute DOMString sortingCode;
|
|
25
|
+
readonly attribute FrozenArray<DOMString> addressLine;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
dictionary ContactInfo {
|
|
29
|
+
sequence<ContactAddress> address;
|
|
30
|
+
sequence<DOMString> email;
|
|
31
|
+
sequence<Blob> icon;
|
|
32
|
+
sequence<DOMString> name;
|
|
33
|
+
sequence<DOMString> tel;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
dictionary ContactsSelectOptions {
|
|
37
|
+
boolean multiple = false;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
[Exposed=Window,SecureContext]
|
|
41
|
+
interface ContactsManager {
|
|
42
|
+
Promise<sequence<ContactProperty>> getProperties();
|
|
43
|
+
Promise<sequence<ContactInfo>> select(sequence<ContactProperty> properties, optional ContactsSelectOptions options = {});
|
|
44
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Content Index (https://wicg.github.io/content-index/spec/)
|
|
5
|
+
|
|
6
|
+
partial interface ServiceWorkerGlobalScope {
|
|
7
|
+
attribute EventHandler oncontentdelete;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
partial interface ServiceWorkerRegistration {
|
|
11
|
+
[SameObject] readonly attribute ContentIndex index;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
enum ContentCategory {
|
|
15
|
+
"",
|
|
16
|
+
"homepage",
|
|
17
|
+
"article",
|
|
18
|
+
"video",
|
|
19
|
+
"audio",
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
dictionary ContentDescription {
|
|
23
|
+
required DOMString id;
|
|
24
|
+
required DOMString title;
|
|
25
|
+
required DOMString description;
|
|
26
|
+
ContentCategory category = "";
|
|
27
|
+
sequence<ImageResource> icons = [];
|
|
28
|
+
required USVString url;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
[Exposed=(Window,Worker)]
|
|
32
|
+
interface ContentIndex {
|
|
33
|
+
Promise<undefined> add(ContentDescription description);
|
|
34
|
+
Promise<undefined> delete(DOMString id);
|
|
35
|
+
Promise<sequence<ContentDescription>> getAll();
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
dictionary ContentIndexEventInit : ExtendableEventInit {
|
|
39
|
+
required DOMString id;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
[Exposed=ServiceWorker]
|
|
43
|
+
interface ContentIndexEvent : ExtendableEvent {
|
|
44
|
+
constructor(DOMString type, ContentIndexEventInit init);
|
|
45
|
+
readonly attribute DOMString id;
|
|
46
|
+
};
|
package/cookie-store.idl
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Cookie Store API (https://wicg.github.io/cookie-store/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(ServiceWorker,Window),
|
|
7
|
+
SecureContext]
|
|
8
|
+
interface CookieStore : EventTarget {
|
|
9
|
+
Promise<CookieListItem?> get(USVString name);
|
|
10
|
+
Promise<CookieListItem?> get(optional CookieStoreGetOptions options = {});
|
|
11
|
+
|
|
12
|
+
Promise<CookieList> getAll(USVString name);
|
|
13
|
+
Promise<CookieList> getAll(optional CookieStoreGetOptions options = {});
|
|
14
|
+
|
|
15
|
+
Promise<undefined> set(USVString name, USVString value);
|
|
16
|
+
Promise<undefined> set(CookieInit options);
|
|
17
|
+
|
|
18
|
+
Promise<undefined> delete(USVString name);
|
|
19
|
+
Promise<undefined> delete(CookieStoreDeleteOptions options);
|
|
20
|
+
|
|
21
|
+
[Exposed=Window]
|
|
22
|
+
attribute EventHandler onchange;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
dictionary CookieStoreGetOptions {
|
|
26
|
+
USVString name;
|
|
27
|
+
USVString url;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
enum CookieSameSite {
|
|
31
|
+
"strict",
|
|
32
|
+
"lax",
|
|
33
|
+
"none"
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
dictionary CookieInit {
|
|
37
|
+
required USVString name;
|
|
38
|
+
required USVString value;
|
|
39
|
+
DOMHighResTimeStamp? expires = null;
|
|
40
|
+
USVString? domain = null;
|
|
41
|
+
USVString path = "/";
|
|
42
|
+
CookieSameSite sameSite = "strict";
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
dictionary CookieStoreDeleteOptions {
|
|
46
|
+
required USVString name;
|
|
47
|
+
USVString? domain = null;
|
|
48
|
+
USVString path = "/";
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
dictionary CookieListItem {
|
|
52
|
+
USVString name;
|
|
53
|
+
USVString value;
|
|
54
|
+
USVString? domain;
|
|
55
|
+
USVString path;
|
|
56
|
+
DOMHighResTimeStamp? expires;
|
|
57
|
+
boolean secure;
|
|
58
|
+
CookieSameSite sameSite;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
typedef sequence<CookieListItem> CookieList;
|
|
62
|
+
|
|
63
|
+
[Exposed=(ServiceWorker,Window),
|
|
64
|
+
SecureContext]
|
|
65
|
+
interface CookieStoreManager {
|
|
66
|
+
Promise<undefined> subscribe(sequence<CookieStoreGetOptions> subscriptions);
|
|
67
|
+
Promise<sequence<CookieStoreGetOptions>> getSubscriptions();
|
|
68
|
+
Promise<undefined> unsubscribe(sequence<CookieStoreGetOptions> subscriptions);
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
[Exposed=(ServiceWorker,Window)]
|
|
72
|
+
partial interface ServiceWorkerRegistration {
|
|
73
|
+
[SameObject] readonly attribute CookieStoreManager cookies;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
[Exposed=Window,
|
|
77
|
+
SecureContext]
|
|
78
|
+
interface CookieChangeEvent : Event {
|
|
79
|
+
constructor(DOMString type, optional CookieChangeEventInit eventInitDict = {});
|
|
80
|
+
[SameObject] readonly attribute FrozenArray<CookieListItem> changed;
|
|
81
|
+
[SameObject] readonly attribute FrozenArray<CookieListItem> deleted;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
dictionary CookieChangeEventInit : EventInit {
|
|
85
|
+
CookieList changed;
|
|
86
|
+
CookieList deleted;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
[Exposed=ServiceWorker]
|
|
90
|
+
interface ExtendableCookieChangeEvent : ExtendableEvent {
|
|
91
|
+
constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict = {});
|
|
92
|
+
[SameObject] readonly attribute FrozenArray<CookieListItem> changed;
|
|
93
|
+
[SameObject] readonly attribute FrozenArray<CookieListItem> deleted;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
dictionary ExtendableCookieChangeEventInit : ExtendableEventInit {
|
|
97
|
+
CookieList changed;
|
|
98
|
+
CookieList deleted;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
[SecureContext]
|
|
102
|
+
partial interface Window {
|
|
103
|
+
[SameObject] readonly attribute CookieStore cookieStore;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
partial interface ServiceWorkerGlobalScope {
|
|
107
|
+
[SameObject] readonly attribute CookieStore cookieStore;
|
|
108
|
+
|
|
109
|
+
attribute EventHandler oncookiechange;
|
|
110
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Crash Reporting (https://wicg.github.io/crash-reporting/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker)]
|
|
7
|
+
interface CrashReportBody : ReportBody {
|
|
8
|
+
[Default] object toJSON();
|
|
9
|
+
readonly attribute DOMString? reason;
|
|
10
|
+
};
|