@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.
Files changed (289) hide show
  1. package/package.json +1 -1
  2. package/ANGLE_instanced_arrays.idl +0 -12
  3. package/CSP.idl +0 -56
  4. package/DOM-Parsing.idl +0 -26
  5. package/EXT_blend_minmax.idl +0 -10
  6. package/EXT_color_buffer_float.idl +0 -8
  7. package/EXT_color_buffer_half_float.idl +0 -12
  8. package/EXT_disjoint_timer_query.idl +0 -30
  9. package/EXT_disjoint_timer_query_webgl2.idl +0 -14
  10. package/EXT_float_blend.idl +0 -8
  11. package/EXT_frag_depth.idl +0 -8
  12. package/EXT_sRGB.idl +0 -12
  13. package/EXT_shader_texture_lod.idl +0 -8
  14. package/EXT_texture_compression_bptc.idl +0 -12
  15. package/EXT_texture_compression_rgtc.idl +0 -12
  16. package/EXT_texture_filter_anisotropic.idl +0 -10
  17. package/EXT_texture_norm16.idl +0 -16
  18. package/FedCM.idl +0 -67
  19. package/FileAPI.idl +0 -100
  20. package/IndexedDB.idl +0 -226
  21. package/KHR_parallel_shader_compile.idl +0 -9
  22. package/OES_draw_buffers_indexed.idl +0 -26
  23. package/OES_element_index_uint.idl +0 -8
  24. package/OES_fbo_render_mipmap.idl +0 -8
  25. package/OES_standard_derivatives.idl +0 -9
  26. package/OES_texture_float.idl +0 -7
  27. package/OES_texture_float_linear.idl +0 -7
  28. package/OES_texture_half_float.idl +0 -9
  29. package/OES_texture_half_float_linear.idl +0 -7
  30. package/OES_vertex_array_object.idl +0 -18
  31. package/OVR_multiview2.idl +0 -14
  32. package/SVG.idl +0 -693
  33. package/WEBGL_blend_equation_advanced_coherent.idl +0 -23
  34. package/WEBGL_clip_cull_distance.idl +0 -20
  35. package/WEBGL_color_buffer_float.idl +0 -11
  36. package/WEBGL_compressed_texture_astc.idl +0 -41
  37. package/WEBGL_compressed_texture_etc.idl +0 -19
  38. package/WEBGL_compressed_texture_etc1.idl +0 -10
  39. package/WEBGL_compressed_texture_pvrtc.idl +0 -13
  40. package/WEBGL_compressed_texture_s3tc.idl +0 -13
  41. package/WEBGL_compressed_texture_s3tc_srgb.idl +0 -13
  42. package/WEBGL_debug_renderer_info.idl +0 -12
  43. package/WEBGL_debug_shaders.idl +0 -11
  44. package/WEBGL_depth_texture.idl +0 -9
  45. package/WEBGL_draw_buffers.idl +0 -46
  46. package/WEBGL_draw_instanced_base_vertex_base_instance.idl +0 -14
  47. package/WEBGL_lose_context.idl +0 -10
  48. package/WEBGL_multi_draw.idl +0 -32
  49. package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +0 -26
  50. package/WEBGL_provoking_vertex.idl +0 -13
  51. package/WebCryptoAPI.idl +0 -237
  52. package/accelerometer.idl +0 -40
  53. package/ambient-light.idl +0 -14
  54. package/anchors.idl +0 -35
  55. package/attribution-reporting-api.idl +0 -12
  56. package/audio-output.idl +0 -17
  57. package/autoplay-detection.idl +0 -19
  58. package/background-fetch.idl +0 -89
  59. package/background-sync.idl +0 -30
  60. package/badging.idl +0 -19
  61. package/battery-status.idl +0 -21
  62. package/beacon.idl +0 -8
  63. package/capture-handle-identity.idl +0 -27
  64. package/clipboard-apis.idl +0 -51
  65. package/close-watcher.idl +0 -19
  66. package/compat.idl +0 -13
  67. package/compression.idl +0 -16
  68. package/compute-pressure.idl +0 -40
  69. package/console.idl +0 -34
  70. package/contact-picker.idl +0 -44
  71. package/content-index.idl +0 -46
  72. package/cookie-store.idl +0 -110
  73. package/crash-reporting.idl +0 -10
  74. package/credential-management.idl +0 -105
  75. package/csp-embedded-enforcement.idl +0 -8
  76. package/csp-next.idl +0 -21
  77. package/css-animation-worklet.idl +0 -37
  78. package/css-animations-2.idl +0 -9
  79. package/css-animations.idl +0 -47
  80. package/css-cascade-6.idl +0 -10
  81. package/css-cascade.idl +0 -18
  82. package/css-color-5.idl +0 -12
  83. package/css-conditional.idl +0 -27
  84. package/css-contain-3.idl +0 -10
  85. package/css-contain.idl +0 -13
  86. package/css-counter-styles.idl +0 -23
  87. package/css-font-loading.idl +0 -134
  88. package/css-fonts.idl +0 -36
  89. package/css-highlight-api.idl +0 -27
  90. package/css-images-4.idl +0 -8
  91. package/css-layout-api.idl +0 -144
  92. package/css-masking.idl +0 -20
  93. package/css-nav.idl +0 -48
  94. package/css-nesting.idl +0 -10
  95. package/css-paint-api.idl +0 -39
  96. package/css-parser-api.idl +0 -76
  97. package/css-properties-values-api.idl +0 -23
  98. package/css-pseudo.idl +0 -16
  99. package/css-regions.idl +0 -29
  100. package/css-shadow-parts.idl +0 -8
  101. package/css-transitions-2.idl +0 -9
  102. package/css-transitions.idl +0 -25
  103. package/css-typed-om.idl +0 -425
  104. package/css-view-transitions.idl +0 -18
  105. package/cssom-view.idl +0 -200
  106. package/cssom.idl +0 -159
  107. package/custom-state-pseudo-class.idl +0 -14
  108. package/datacue.idl +0 -12
  109. package/deprecation-reporting.idl +0 -15
  110. package/device-memory.idl +0 -14
  111. package/device-posture.idl +0 -21
  112. package/digital-goods.idl +0 -44
  113. package/dom.idl +0 -645
  114. package/edit-context.idl +0 -113
  115. package/element-timing.idl +0 -22
  116. package/encoding.idl +0 -59
  117. package/encrypted-media.idl +0 -125
  118. package/entries-api.idl +0 -71
  119. package/event-timing.idl +0 -29
  120. package/eyedropper-api.idl +0 -18
  121. package/fetch.idl +0 -117
  122. package/fido.idl +0 -47
  123. package/file-system-access.idl +0 -72
  124. package/filter-effects.idl +0 -341
  125. package/font-metrics-api.idl +0 -42
  126. package/fs.idl +0 -97
  127. package/fullscreen.idl +0 -35
  128. package/gamepad-extensions.idl +0 -71
  129. package/gamepad.idl +0 -49
  130. package/generic-sensor.idl +0 -60
  131. package/geolocation-sensor.idl +0 -47
  132. package/geolocation.idl +0 -65
  133. package/geometry.idl +0 -290
  134. package/get-installed-related-apps.idl +0 -16
  135. package/gpc-spec.idl +0 -10
  136. package/gyroscope.idl +0 -24
  137. package/hr-time.idl +0 -19
  138. package/html-media-capture.idl +0 -8
  139. package/html.idl +0 -2717
  140. package/idle-detection.idl +0 -31
  141. package/image-capture.idl +0 -160
  142. package/image-resource.idl +0 -11
  143. package/ink-enhancement.idl +0 -32
  144. package/input-device-capabilities.idl +0 -24
  145. package/input-events.idl +0 -14
  146. package/intersection-observer.idl +0 -46
  147. package/intervention-reporting.idl +0 -14
  148. package/is-input-pending.idl +0 -16
  149. package/js-self-profiling.idl +0 -44
  150. package/keyboard-lock.idl +0 -14
  151. package/keyboard-map.idl +0 -15
  152. package/largest-contentful-paint.idl +0 -15
  153. package/layout-instability.idl +0 -20
  154. package/local-font-access.idl +0 -24
  155. package/longtasks.idl +0 -19
  156. package/magnetometer.idl +0 -46
  157. package/manifest-incubations.idl +0 -24
  158. package/mathml-core.idl +0 -9
  159. package/media-capabilities.idl +0 -115
  160. package/media-playback-quality.idl +0 -18
  161. package/media-source.idl +0 -91
  162. package/mediacapture-automation.idl +0 -36
  163. package/mediacapture-fromelement.idl +0 -17
  164. package/mediacapture-handle-actions.idl +0 -31
  165. package/mediacapture-region.idl +0 -15
  166. package/mediacapture-streams.idl +0 -248
  167. package/mediacapture-transform.idl +0 -23
  168. package/mediacapture-viewport.idl +0 -14
  169. package/mediasession.idl +0 -84
  170. package/mediastream-recording.idl +0 -60
  171. package/model-element.idl +0 -9
  172. package/mst-content-hint.idl +0 -18
  173. package/navigation-api.idl +0 -158
  174. package/navigation-timing.idl +0 -71
  175. package/netinfo.idl +0 -43
  176. package/notifications.idl +0 -101
  177. package/orientation-event.idl +0 -82
  178. package/orientation-sensor.idl +0 -35
  179. package/page-lifecycle.idl +0 -19
  180. package/paint-timing.idl +0 -7
  181. package/payment-handler.idl +0 -131
  182. package/payment-request.idl +0 -112
  183. package/performance-measure-memory.idl +0 -30
  184. package/performance-timeline.idl +0 -49
  185. package/periodic-background-sync.idl +0 -34
  186. package/permissions-policy.idl +0 -29
  187. package/permissions-request.idl +0 -8
  188. package/permissions-revoke.idl +0 -8
  189. package/permissions.idl +0 -41
  190. package/picture-in-picture.idl +0 -41
  191. package/pointerevents.idl +0 -64
  192. package/pointerlock.idl +0 -28
  193. package/portals.idl +0 -50
  194. package/prefer-current-tab.idl +0 -8
  195. package/prerendering-revamped.idl +0 -15
  196. package/presentation-api.idl +0 -95
  197. package/private-click-measurement.idl +0 -8
  198. package/proximity.idl +0 -18
  199. package/push-api.idl +0 -93
  200. package/raw-camera-access.idl +0 -18
  201. package/referrer-policy.idl +0 -16
  202. package/remote-playback.idl +0 -32
  203. package/reporting.idl +0 -39
  204. package/requestStorageAccessForOrigin.idl +0 -12
  205. package/requestidlecallback.idl +0 -20
  206. package/resize-observer.idl +0 -37
  207. package/resource-timing.idl +0 -39
  208. package/sanitizer-api.idl +0 -38
  209. package/savedata.idl +0 -10
  210. package/scheduling-apis.idl +0 -57
  211. package/screen-capture.idl +0 -85
  212. package/screen-orientation.idl +0 -35
  213. package/screen-wake-lock.idl +0 -24
  214. package/scroll-animations.idl +0 -41
  215. package/scroll-to-text-fragment.idl +0 -12
  216. package/secure-payment-confirmation.idl +0 -52
  217. package/selection-api.idl +0 -46
  218. package/serial.idl +0 -85
  219. package/server-timing.idl +0 -17
  220. package/service-workers.idl +0 -240
  221. package/shape-detection-api.idl +0 -69
  222. package/speech-api.idl +0 -202
  223. package/storage-access.idl +0 -9
  224. package/storage.idl +0 -25
  225. package/streams.idl +0 -222
  226. package/svg-animations.idl +0 -68
  227. package/testutils.idl +0 -9
  228. package/text-detection-api.idl +0 -18
  229. package/touch-events.idl +0 -79
  230. package/trusted-types.idl +0 -71
  231. package/ua-client-hints.idl +0 -44
  232. package/uievents.idl +0 -248
  233. package/url.idl +0 -44
  234. package/urlpattern.idl +0 -59
  235. package/user-timing.idl +0 -34
  236. package/vibration.idl +0 -10
  237. package/video-rvfc.idl +0 -27
  238. package/virtual-keyboard.idl +0 -21
  239. package/wai-aria.idl +0 -59
  240. package/wasm-js-api.idl +0 -110
  241. package/wasm-web-api.idl +0 -11
  242. package/web-animations-2.idl +0 -102
  243. package/web-animations.idl +0 -149
  244. package/web-app-launch.idl +0 -19
  245. package/web-bluetooth.idl +0 -251
  246. package/web-locks.idl +0 -50
  247. package/web-nfc.idl +0 -81
  248. package/web-otp.idl +0 -21
  249. package/web-share.idl +0 -16
  250. package/webaudio.idl +0 -674
  251. package/webauthn.idl +0 -349
  252. package/webcodecs-aac-codec-registration.idl +0 -17
  253. package/webcodecs-avc-codec-registration.idl +0 -17
  254. package/webcodecs-flac-codec-registration.idl +0 -13
  255. package/webcodecs-hevc-codec-registration.idl +0 -17
  256. package/webcodecs-opus-codec-registration.idl +0 -22
  257. package/webcodecs.idl +0 -494
  258. package/webcrypto-secure-curves.idl +0 -8
  259. package/webdriver.idl +0 -9
  260. package/webgl1.idl +0 -745
  261. package/webgl2.idl +0 -582
  262. package/webgpu.idl +0 -1265
  263. package/webhid.idl +0 -127
  264. package/webidl.idl +0 -48
  265. package/webmidi.idl +0 -91
  266. package/webnn.idl +0 -542
  267. package/webrtc-encoded-transform.idl +0 -127
  268. package/webrtc-ice.idl +0 -24
  269. package/webrtc-identity.idl +0 -97
  270. package/webrtc-priority.idl +0 -24
  271. package/webrtc-stats.idl +0 -288
  272. package/webrtc-svc.idl +0 -8
  273. package/webrtc.idl +0 -628
  274. package/websockets.idl +0 -48
  275. package/webtransport.idl +0 -151
  276. package/webusb.idl +0 -249
  277. package/webvtt.idl +0 -40
  278. package/webxr-ar-module.idl +0 -29
  279. package/webxr-depth-sensing.idl +0 -57
  280. package/webxr-dom-overlays.idl +0 -31
  281. package/webxr-gamepads-module.idl +0 -8
  282. package/webxr-hand-input.idl +0 -66
  283. package/webxr-hit-test.idl +0 -69
  284. package/webxr-lighting-estimation.idl +0 -39
  285. package/webxr.idl +0 -294
  286. package/webxrlayers.idl +0 -212
  287. package/window-controls-overlay.idl +0 -28
  288. package/window-placement.idl +0 -42
  289. 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;