@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/webcodecs.idl
DELETED
|
@@ -1,494 +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: WebCodecs (https://w3c.github.io/webcodecs/)
|
|
5
|
-
|
|
6
|
-
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
7
|
-
interface AudioDecoder : EventTarget {
|
|
8
|
-
constructor(AudioDecoderInit init);
|
|
9
|
-
|
|
10
|
-
readonly attribute CodecState state;
|
|
11
|
-
readonly attribute unsigned long decodeQueueSize;
|
|
12
|
-
attribute EventHandler ondequeue;
|
|
13
|
-
|
|
14
|
-
undefined configure(AudioDecoderConfig config);
|
|
15
|
-
undefined decode(EncodedAudioChunk chunk);
|
|
16
|
-
Promise<undefined> flush();
|
|
17
|
-
undefined reset();
|
|
18
|
-
undefined close();
|
|
19
|
-
|
|
20
|
-
static Promise<AudioDecoderSupport> isConfigSupported(AudioDecoderConfig config);
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
dictionary AudioDecoderInit {
|
|
24
|
-
required AudioDataOutputCallback output;
|
|
25
|
-
required WebCodecsErrorCallback error;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
callback AudioDataOutputCallback = undefined(AudioData output);
|
|
29
|
-
|
|
30
|
-
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
31
|
-
interface VideoDecoder : EventTarget {
|
|
32
|
-
constructor(VideoDecoderInit init);
|
|
33
|
-
|
|
34
|
-
readonly attribute CodecState state;
|
|
35
|
-
readonly attribute unsigned long decodeQueueSize;
|
|
36
|
-
attribute EventHandler ondequeue;
|
|
37
|
-
|
|
38
|
-
undefined configure(VideoDecoderConfig config);
|
|
39
|
-
undefined decode(EncodedVideoChunk chunk);
|
|
40
|
-
Promise<undefined> flush();
|
|
41
|
-
undefined reset();
|
|
42
|
-
undefined close();
|
|
43
|
-
|
|
44
|
-
static Promise<VideoDecoderSupport> isConfigSupported(VideoDecoderConfig config);
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
dictionary VideoDecoderInit {
|
|
48
|
-
required VideoFrameOutputCallback output;
|
|
49
|
-
required WebCodecsErrorCallback error;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
callback VideoFrameOutputCallback = undefined(VideoFrame output);
|
|
53
|
-
|
|
54
|
-
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
55
|
-
interface AudioEncoder : EventTarget {
|
|
56
|
-
constructor(AudioEncoderInit init);
|
|
57
|
-
|
|
58
|
-
readonly attribute CodecState state;
|
|
59
|
-
readonly attribute unsigned long encodeQueueSize;
|
|
60
|
-
attribute EventHandler ondequeue;
|
|
61
|
-
|
|
62
|
-
undefined configure(AudioEncoderConfig config);
|
|
63
|
-
undefined encode(AudioData data);
|
|
64
|
-
Promise<undefined> flush();
|
|
65
|
-
undefined reset();
|
|
66
|
-
undefined close();
|
|
67
|
-
|
|
68
|
-
static Promise<AudioEncoderSupport> isConfigSupported(AudioEncoderConfig config);
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
dictionary AudioEncoderInit {
|
|
72
|
-
required EncodedAudioChunkOutputCallback output;
|
|
73
|
-
required WebCodecsErrorCallback error;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
callback EncodedAudioChunkOutputCallback =
|
|
77
|
-
undefined (EncodedAudioChunk output,
|
|
78
|
-
optional EncodedAudioChunkMetadata metadata = {});
|
|
79
|
-
|
|
80
|
-
dictionary EncodedAudioChunkMetadata {
|
|
81
|
-
AudioDecoderConfig decoderConfig;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
85
|
-
interface VideoEncoder : EventTarget {
|
|
86
|
-
constructor(VideoEncoderInit init);
|
|
87
|
-
|
|
88
|
-
readonly attribute CodecState state;
|
|
89
|
-
readonly attribute unsigned long encodeQueueSize;
|
|
90
|
-
attribute EventHandler ondequeue;
|
|
91
|
-
|
|
92
|
-
undefined configure(VideoEncoderConfig config);
|
|
93
|
-
undefined encode(VideoFrame frame, optional VideoEncoderEncodeOptions options = {});
|
|
94
|
-
Promise<undefined> flush();
|
|
95
|
-
undefined reset();
|
|
96
|
-
undefined close();
|
|
97
|
-
|
|
98
|
-
static Promise<VideoEncoderSupport> isConfigSupported(VideoEncoderConfig config);
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
dictionary VideoEncoderInit {
|
|
102
|
-
required EncodedVideoChunkOutputCallback output;
|
|
103
|
-
required WebCodecsErrorCallback error;
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
callback EncodedVideoChunkOutputCallback =
|
|
107
|
-
undefined (EncodedVideoChunk chunk,
|
|
108
|
-
optional EncodedVideoChunkMetadata metadata = {});
|
|
109
|
-
|
|
110
|
-
dictionary EncodedVideoChunkMetadata {
|
|
111
|
-
VideoDecoderConfig decoderConfig;
|
|
112
|
-
SvcOutputMetadata svc;
|
|
113
|
-
BufferSource alphaSideData;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
dictionary SvcOutputMetadata {
|
|
117
|
-
unsigned long temporalLayerId;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
dictionary AudioDecoderSupport {
|
|
121
|
-
boolean supported;
|
|
122
|
-
AudioDecoderConfig config;
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
dictionary VideoDecoderSupport {
|
|
126
|
-
boolean supported;
|
|
127
|
-
VideoDecoderConfig config;
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
dictionary AudioEncoderSupport {
|
|
131
|
-
boolean supported;
|
|
132
|
-
AudioEncoderConfig config;
|
|
133
|
-
};
|
|
134
|
-
|
|
135
|
-
dictionary VideoEncoderSupport {
|
|
136
|
-
boolean supported;
|
|
137
|
-
VideoEncoderConfig config;
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
dictionary AudioDecoderConfig {
|
|
141
|
-
required DOMString codec;
|
|
142
|
-
[EnforceRange] required unsigned long sampleRate;
|
|
143
|
-
[EnforceRange] required unsigned long numberOfChannels;
|
|
144
|
-
BufferSource description;
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
dictionary VideoDecoderConfig {
|
|
148
|
-
required DOMString codec;
|
|
149
|
-
[AllowShared] BufferSource description;
|
|
150
|
-
[EnforceRange] unsigned long codedWidth;
|
|
151
|
-
[EnforceRange] unsigned long codedHeight;
|
|
152
|
-
[EnforceRange] unsigned long displayAspectWidth;
|
|
153
|
-
[EnforceRange] unsigned long displayAspectHeight;
|
|
154
|
-
VideoColorSpaceInit colorSpace;
|
|
155
|
-
HardwareAcceleration hardwareAcceleration = "no-preference";
|
|
156
|
-
boolean optimizeForLatency;
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
dictionary AudioEncoderConfig {
|
|
160
|
-
required DOMString codec;
|
|
161
|
-
[EnforceRange] unsigned long sampleRate;
|
|
162
|
-
[EnforceRange] unsigned long numberOfChannels;
|
|
163
|
-
[EnforceRange] unsigned long long bitrate;
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
dictionary VideoEncoderConfig {
|
|
167
|
-
required DOMString codec;
|
|
168
|
-
[EnforceRange] required unsigned long width;
|
|
169
|
-
[EnforceRange] required unsigned long height;
|
|
170
|
-
[EnforceRange] unsigned long displayWidth;
|
|
171
|
-
[EnforceRange] unsigned long displayHeight;
|
|
172
|
-
[EnforceRange] unsigned long long bitrate;
|
|
173
|
-
double framerate;
|
|
174
|
-
HardwareAcceleration hardwareAcceleration = "no-preference";
|
|
175
|
-
AlphaOption alpha = "discard";
|
|
176
|
-
DOMString scalabilityMode;
|
|
177
|
-
BitrateMode bitrateMode = "variable";
|
|
178
|
-
LatencyMode latencyMode = "quality";
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
enum HardwareAcceleration {
|
|
182
|
-
"no-preference",
|
|
183
|
-
"prefer-hardware",
|
|
184
|
-
"prefer-software",
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
enum AlphaOption {
|
|
188
|
-
"keep",
|
|
189
|
-
"discard",
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
enum LatencyMode {
|
|
193
|
-
"quality",
|
|
194
|
-
"realtime"
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
dictionary VideoEncoderEncodeOptions {
|
|
198
|
-
boolean keyFrame = false;
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
enum CodecState {
|
|
202
|
-
"unconfigured",
|
|
203
|
-
"configured",
|
|
204
|
-
"closed"
|
|
205
|
-
};
|
|
206
|
-
|
|
207
|
-
callback WebCodecsErrorCallback = undefined(DOMException error);
|
|
208
|
-
|
|
209
|
-
[Exposed=(Window,DedicatedWorker), Serializable]
|
|
210
|
-
interface EncodedAudioChunk {
|
|
211
|
-
constructor(EncodedAudioChunkInit init);
|
|
212
|
-
readonly attribute EncodedAudioChunkType type;
|
|
213
|
-
readonly attribute long long timestamp; // microseconds
|
|
214
|
-
readonly attribute unsigned long long? duration; // microseconds
|
|
215
|
-
readonly attribute unsigned long byteLength;
|
|
216
|
-
|
|
217
|
-
undefined copyTo([AllowShared] BufferSource destination);
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
dictionary EncodedAudioChunkInit {
|
|
221
|
-
required EncodedAudioChunkType type;
|
|
222
|
-
[EnforceRange] required long long timestamp; // microseconds
|
|
223
|
-
[EnforceRange] unsigned long long duration; // microseconds
|
|
224
|
-
required BufferSource data;
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
enum EncodedAudioChunkType {
|
|
228
|
-
"key",
|
|
229
|
-
"delta",
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
[Exposed=(Window,DedicatedWorker), Serializable]
|
|
233
|
-
interface EncodedVideoChunk {
|
|
234
|
-
constructor(EncodedVideoChunkInit init);
|
|
235
|
-
readonly attribute EncodedVideoChunkType type;
|
|
236
|
-
readonly attribute long long timestamp; // microseconds
|
|
237
|
-
readonly attribute unsigned long long? duration; // microseconds
|
|
238
|
-
readonly attribute unsigned long byteLength;
|
|
239
|
-
|
|
240
|
-
undefined copyTo([AllowShared] BufferSource destination);
|
|
241
|
-
};
|
|
242
|
-
|
|
243
|
-
dictionary EncodedVideoChunkInit {
|
|
244
|
-
required EncodedVideoChunkType type;
|
|
245
|
-
[EnforceRange] required long long timestamp; // microseconds
|
|
246
|
-
[EnforceRange] unsigned long long duration; // microseconds
|
|
247
|
-
required [AllowShared] BufferSource data;
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
enum EncodedVideoChunkType {
|
|
251
|
-
"key",
|
|
252
|
-
"delta",
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
[Exposed=(Window,DedicatedWorker), Serializable, Transferable]
|
|
256
|
-
interface AudioData {
|
|
257
|
-
constructor(AudioDataInit init);
|
|
258
|
-
|
|
259
|
-
readonly attribute AudioSampleFormat? format;
|
|
260
|
-
readonly attribute float sampleRate;
|
|
261
|
-
readonly attribute unsigned long numberOfFrames;
|
|
262
|
-
readonly attribute unsigned long numberOfChannels;
|
|
263
|
-
readonly attribute unsigned long long duration; // microseconds
|
|
264
|
-
readonly attribute long long timestamp; // microseconds
|
|
265
|
-
|
|
266
|
-
unsigned long allocationSize(AudioDataCopyToOptions options);
|
|
267
|
-
undefined copyTo([AllowShared] BufferSource destination, AudioDataCopyToOptions options);
|
|
268
|
-
AudioData clone();
|
|
269
|
-
undefined close();
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
dictionary AudioDataInit {
|
|
273
|
-
required AudioSampleFormat format;
|
|
274
|
-
required float sampleRate;
|
|
275
|
-
[EnforceRange] required unsigned long numberOfFrames;
|
|
276
|
-
[EnforceRange] required unsigned long numberOfChannels;
|
|
277
|
-
[EnforceRange] required long long timestamp; // microseconds
|
|
278
|
-
required BufferSource data;
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
dictionary AudioDataCopyToOptions {
|
|
282
|
-
[EnforceRange] required unsigned long planeIndex;
|
|
283
|
-
[EnforceRange] unsigned long frameOffset = 0;
|
|
284
|
-
[EnforceRange] unsigned long frameCount;
|
|
285
|
-
AudioSampleFormat format;
|
|
286
|
-
};
|
|
287
|
-
|
|
288
|
-
enum AudioSampleFormat {
|
|
289
|
-
"u8",
|
|
290
|
-
"s16",
|
|
291
|
-
"s32",
|
|
292
|
-
"f32",
|
|
293
|
-
"u8-planar",
|
|
294
|
-
"s16-planar",
|
|
295
|
-
"s32-planar",
|
|
296
|
-
"f32-planar",
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
[Exposed=(Window,DedicatedWorker), Serializable, Transferable]
|
|
300
|
-
interface VideoFrame {
|
|
301
|
-
constructor(CanvasImageSource image, optional VideoFrameInit init = {});
|
|
302
|
-
constructor([AllowShared] BufferSource data, VideoFrameBufferInit init);
|
|
303
|
-
|
|
304
|
-
readonly attribute VideoPixelFormat? format;
|
|
305
|
-
readonly attribute unsigned long codedWidth;
|
|
306
|
-
readonly attribute unsigned long codedHeight;
|
|
307
|
-
readonly attribute DOMRectReadOnly? codedRect;
|
|
308
|
-
readonly attribute DOMRectReadOnly? visibleRect;
|
|
309
|
-
readonly attribute unsigned long displayWidth;
|
|
310
|
-
readonly attribute unsigned long displayHeight;
|
|
311
|
-
readonly attribute unsigned long long? duration; // microseconds
|
|
312
|
-
readonly attribute long long timestamp; // microseconds
|
|
313
|
-
readonly attribute VideoColorSpace colorSpace;
|
|
314
|
-
|
|
315
|
-
VideoFrameMetadata metadata();
|
|
316
|
-
|
|
317
|
-
unsigned long allocationSize(
|
|
318
|
-
optional VideoFrameCopyToOptions options = {});
|
|
319
|
-
Promise<sequence<PlaneLayout>> copyTo(
|
|
320
|
-
[AllowShared] BufferSource destination,
|
|
321
|
-
optional VideoFrameCopyToOptions options = {});
|
|
322
|
-
VideoFrame clone();
|
|
323
|
-
undefined close();
|
|
324
|
-
};
|
|
325
|
-
|
|
326
|
-
dictionary VideoFrameInit {
|
|
327
|
-
unsigned long long duration; // microseconds
|
|
328
|
-
long long timestamp; // microseconds
|
|
329
|
-
AlphaOption alpha = "keep";
|
|
330
|
-
|
|
331
|
-
// Default matches image. May be used to efficiently crop. Will trigger
|
|
332
|
-
// new computation of displayWidth and displayHeight using image’s pixel
|
|
333
|
-
// aspect ratio unless an explicit displayWidth and displayHeight are given.
|
|
334
|
-
DOMRectInit visibleRect;
|
|
335
|
-
|
|
336
|
-
// Default matches image unless visibleRect is provided.
|
|
337
|
-
[EnforceRange] unsigned long displayWidth;
|
|
338
|
-
[EnforceRange] unsigned long displayHeight;
|
|
339
|
-
|
|
340
|
-
VideoFrameMetadata metadata;
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
dictionary VideoFrameBufferInit {
|
|
344
|
-
required VideoPixelFormat format;
|
|
345
|
-
required [EnforceRange] unsigned long codedWidth;
|
|
346
|
-
required [EnforceRange] unsigned long codedHeight;
|
|
347
|
-
required [EnforceRange] long long timestamp; // microseconds
|
|
348
|
-
[EnforceRange] unsigned long long duration; // microseconds
|
|
349
|
-
|
|
350
|
-
// Default layout is tightly-packed.
|
|
351
|
-
sequence<PlaneLayout> layout;
|
|
352
|
-
|
|
353
|
-
// Default visible rect is coded size positioned at (0,0)
|
|
354
|
-
DOMRectInit visibleRect;
|
|
355
|
-
|
|
356
|
-
// Default display dimensions match visibleRect.
|
|
357
|
-
[EnforceRange] unsigned long displayWidth;
|
|
358
|
-
[EnforceRange] unsigned long displayHeight;
|
|
359
|
-
|
|
360
|
-
VideoColorSpaceInit colorSpace;
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
dictionary VideoFrameMetadata {
|
|
364
|
-
// Possible members are recorded in the VideoFrame Metadata Registry.
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
dictionary VideoFrameCopyToOptions {
|
|
368
|
-
DOMRectInit rect;
|
|
369
|
-
sequence<PlaneLayout> layout;
|
|
370
|
-
};
|
|
371
|
-
|
|
372
|
-
dictionary PlaneLayout {
|
|
373
|
-
[EnforceRange] required unsigned long offset;
|
|
374
|
-
[EnforceRange] required unsigned long stride;
|
|
375
|
-
};
|
|
376
|
-
|
|
377
|
-
enum VideoPixelFormat {
|
|
378
|
-
// 4:2:0 Y, U, V
|
|
379
|
-
"I420",
|
|
380
|
-
// 4:2:0 Y, U, V, A
|
|
381
|
-
"I420A",
|
|
382
|
-
// 4:2:2 Y, U, V
|
|
383
|
-
"I422",
|
|
384
|
-
// 4:4:4 Y, U, V
|
|
385
|
-
"I444",
|
|
386
|
-
// 4:2:0 Y, UV
|
|
387
|
-
"NV12",
|
|
388
|
-
// 32bpp RGBA
|
|
389
|
-
"RGBA",
|
|
390
|
-
// 32bpp RGBX (opaque)
|
|
391
|
-
"RGBX",
|
|
392
|
-
// 32bpp BGRA
|
|
393
|
-
"BGRA",
|
|
394
|
-
// 32bpp BGRX (opaque)
|
|
395
|
-
"BGRX",
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
399
|
-
interface VideoColorSpace {
|
|
400
|
-
constructor(optional VideoColorSpaceInit init = {});
|
|
401
|
-
|
|
402
|
-
readonly attribute VideoColorPrimaries? primaries;
|
|
403
|
-
readonly attribute VideoTransferCharacteristics? transfer;
|
|
404
|
-
readonly attribute VideoMatrixCoefficients? matrix;
|
|
405
|
-
readonly attribute boolean? fullRange;
|
|
406
|
-
|
|
407
|
-
[Default] VideoColorSpaceInit toJSON();
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
dictionary VideoColorSpaceInit {
|
|
411
|
-
VideoColorPrimaries? primaries = null;
|
|
412
|
-
VideoTransferCharacteristics? transfer = null;
|
|
413
|
-
VideoMatrixCoefficients? matrix = null;
|
|
414
|
-
boolean? fullRange = null;
|
|
415
|
-
};
|
|
416
|
-
|
|
417
|
-
enum VideoColorPrimaries {
|
|
418
|
-
"bt709",
|
|
419
|
-
"bt470bg",
|
|
420
|
-
"smpte170m",
|
|
421
|
-
"bt2020",
|
|
422
|
-
"smpte432",
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
enum VideoTransferCharacteristics {
|
|
426
|
-
"bt709",
|
|
427
|
-
"smpte170m",
|
|
428
|
-
"iec61966-2-1",
|
|
429
|
-
"linear",
|
|
430
|
-
"pq",
|
|
431
|
-
"hlg",
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
enum VideoMatrixCoefficients {
|
|
435
|
-
"rgb",
|
|
436
|
-
"bt709",
|
|
437
|
-
"bt470bg",
|
|
438
|
-
"smpte170m",
|
|
439
|
-
"bt2020-ncl",
|
|
440
|
-
};
|
|
441
|
-
|
|
442
|
-
[Exposed=(Window,DedicatedWorker), SecureContext]
|
|
443
|
-
interface ImageDecoder {
|
|
444
|
-
constructor(ImageDecoderInit init);
|
|
445
|
-
|
|
446
|
-
readonly attribute DOMString type;
|
|
447
|
-
readonly attribute boolean complete;
|
|
448
|
-
readonly attribute Promise<undefined> completed;
|
|
449
|
-
readonly attribute ImageTrackList tracks;
|
|
450
|
-
|
|
451
|
-
Promise<ImageDecodeResult> decode(optional ImageDecodeOptions options = {});
|
|
452
|
-
undefined reset();
|
|
453
|
-
undefined close();
|
|
454
|
-
|
|
455
|
-
static Promise<boolean> isTypeSupported(DOMString type);
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
typedef (BufferSource or ReadableStream) ImageBufferSource;
|
|
459
|
-
dictionary ImageDecoderInit {
|
|
460
|
-
required DOMString type;
|
|
461
|
-
required ImageBufferSource data;
|
|
462
|
-
ColorSpaceConversion colorSpaceConversion = "default";
|
|
463
|
-
[EnforceRange] unsigned long desiredWidth;
|
|
464
|
-
[EnforceRange] unsigned long desiredHeight;
|
|
465
|
-
boolean preferAnimation;
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
dictionary ImageDecodeOptions {
|
|
469
|
-
[EnforceRange] unsigned long frameIndex = 0;
|
|
470
|
-
boolean completeFramesOnly = true;
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
dictionary ImageDecodeResult {
|
|
474
|
-
required VideoFrame image;
|
|
475
|
-
required boolean complete;
|
|
476
|
-
};
|
|
477
|
-
|
|
478
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
479
|
-
interface ImageTrackList {
|
|
480
|
-
getter ImageTrack (unsigned long index);
|
|
481
|
-
|
|
482
|
-
readonly attribute Promise<undefined> ready;
|
|
483
|
-
readonly attribute unsigned long length;
|
|
484
|
-
readonly attribute long selectedIndex;
|
|
485
|
-
readonly attribute ImageTrack? selectedTrack;
|
|
486
|
-
};
|
|
487
|
-
|
|
488
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
489
|
-
interface ImageTrack {
|
|
490
|
-
readonly attribute boolean animated;
|
|
491
|
-
readonly attribute unsigned long frameCount;
|
|
492
|
-
readonly attribute unrestricted float repetitionCount;
|
|
493
|
-
attribute boolean selected;
|
|
494
|
-
};
|
|
@@ -1,8 +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 Curves in the Web Cryptography API (https://wicg.github.io/webcrypto-secure-curves/)
|
|
5
|
-
|
|
6
|
-
dictionary Ed448Params : Algorithm {
|
|
7
|
-
BufferSource context;
|
|
8
|
-
};
|
package/webdriver.idl
DELETED
|
@@ -1,9 +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: WebDriver (https://w3c.github.io/webdriver/)
|
|
5
|
-
|
|
6
|
-
interface mixin NavigatorAutomationInformation {
|
|
7
|
-
readonly attribute boolean webdriver;
|
|
8
|
-
};
|
|
9
|
-
Navigator includes NavigatorAutomationInformation;
|