@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/speech-api.idl DELETED
@@ -1,202 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: Web Speech API (https://wicg.github.io/speech-api/)
5
-
6
- [Exposed=Window]
7
- interface SpeechRecognition : EventTarget {
8
- constructor();
9
-
10
- // recognition parameters
11
- attribute SpeechGrammarList grammars;
12
- attribute DOMString lang;
13
- attribute boolean continuous;
14
- attribute boolean interimResults;
15
- attribute unsigned long maxAlternatives;
16
-
17
- // methods to drive the speech interaction
18
- undefined start();
19
- undefined stop();
20
- undefined abort();
21
-
22
- // event methods
23
- attribute EventHandler onaudiostart;
24
- attribute EventHandler onsoundstart;
25
- attribute EventHandler onspeechstart;
26
- attribute EventHandler onspeechend;
27
- attribute EventHandler onsoundend;
28
- attribute EventHandler onaudioend;
29
- attribute EventHandler onresult;
30
- attribute EventHandler onnomatch;
31
- attribute EventHandler onerror;
32
- attribute EventHandler onstart;
33
- attribute EventHandler onend;
34
- };
35
-
36
- enum SpeechRecognitionErrorCode {
37
- "no-speech",
38
- "aborted",
39
- "audio-capture",
40
- "network",
41
- "not-allowed",
42
- "service-not-allowed",
43
- "bad-grammar",
44
- "language-not-supported"
45
- };
46
-
47
- [Exposed=Window]
48
- interface SpeechRecognitionErrorEvent : Event {
49
- constructor(DOMString type, SpeechRecognitionErrorEventInit eventInitDict);
50
- readonly attribute SpeechRecognitionErrorCode error;
51
- readonly attribute DOMString message;
52
- };
53
-
54
- dictionary SpeechRecognitionErrorEventInit : EventInit {
55
- required SpeechRecognitionErrorCode error;
56
- DOMString message = "";
57
- };
58
-
59
- // Item in N-best list
60
- [Exposed=Window]
61
- interface SpeechRecognitionAlternative {
62
- readonly attribute DOMString transcript;
63
- readonly attribute float confidence;
64
- };
65
-
66
- // A complete one-shot simple response
67
- [Exposed=Window]
68
- interface SpeechRecognitionResult {
69
- readonly attribute unsigned long length;
70
- getter SpeechRecognitionAlternative item(unsigned long index);
71
- readonly attribute boolean isFinal;
72
- };
73
-
74
- // A collection of responses (used in continuous mode)
75
- [Exposed=Window]
76
- interface SpeechRecognitionResultList {
77
- readonly attribute unsigned long length;
78
- getter SpeechRecognitionResult item(unsigned long index);
79
- };
80
-
81
- // A full response, which could be interim or final, part of a continuous response or not
82
- [Exposed=Window]
83
- interface SpeechRecognitionEvent : Event {
84
- constructor(DOMString type, SpeechRecognitionEventInit eventInitDict);
85
- readonly attribute unsigned long resultIndex;
86
- readonly attribute SpeechRecognitionResultList results;
87
- };
88
-
89
- dictionary SpeechRecognitionEventInit : EventInit {
90
- unsigned long resultIndex = 0;
91
- required SpeechRecognitionResultList results;
92
- };
93
-
94
- // The object representing a speech grammar
95
- [Exposed=Window]
96
- interface SpeechGrammar {
97
- attribute DOMString src;
98
- attribute float weight;
99
- };
100
-
101
- // The object representing a speech grammar collection
102
- [Exposed=Window]
103
- interface SpeechGrammarList {
104
- constructor();
105
- readonly attribute unsigned long length;
106
- getter SpeechGrammar item(unsigned long index);
107
- undefined addFromURI(DOMString src,
108
- optional float weight = 1.0);
109
- undefined addFromString(DOMString string,
110
- optional float weight = 1.0);
111
- };
112
-
113
- [Exposed=Window]
114
- interface SpeechSynthesis : EventTarget {
115
- readonly attribute boolean pending;
116
- readonly attribute boolean speaking;
117
- readonly attribute boolean paused;
118
-
119
- attribute EventHandler onvoiceschanged;
120
-
121
- undefined speak(SpeechSynthesisUtterance utterance);
122
- undefined cancel();
123
- undefined pause();
124
- undefined resume();
125
- sequence<SpeechSynthesisVoice> getVoices();
126
- };
127
-
128
- partial interface Window {
129
- [SameObject] readonly attribute SpeechSynthesis speechSynthesis;
130
- };
131
-
132
- [Exposed=Window]
133
- interface SpeechSynthesisUtterance : EventTarget {
134
- constructor(optional DOMString text);
135
-
136
- attribute DOMString text;
137
- attribute DOMString lang;
138
- attribute SpeechSynthesisVoice? voice;
139
- attribute float volume;
140
- attribute float rate;
141
- attribute float pitch;
142
-
143
- attribute EventHandler onstart;
144
- attribute EventHandler onend;
145
- attribute EventHandler onerror;
146
- attribute EventHandler onpause;
147
- attribute EventHandler onresume;
148
- attribute EventHandler onmark;
149
- attribute EventHandler onboundary;
150
- };
151
-
152
- [Exposed=Window]
153
- interface SpeechSynthesisEvent : Event {
154
- constructor(DOMString type, SpeechSynthesisEventInit eventInitDict);
155
- readonly attribute SpeechSynthesisUtterance utterance;
156
- readonly attribute unsigned long charIndex;
157
- readonly attribute unsigned long charLength;
158
- readonly attribute float elapsedTime;
159
- readonly attribute DOMString name;
160
- };
161
-
162
- dictionary SpeechSynthesisEventInit : EventInit {
163
- required SpeechSynthesisUtterance utterance;
164
- unsigned long charIndex = 0;
165
- unsigned long charLength = 0;
166
- float elapsedTime = 0;
167
- DOMString name = "";
168
- };
169
-
170
- enum SpeechSynthesisErrorCode {
171
- "canceled",
172
- "interrupted",
173
- "audio-busy",
174
- "audio-hardware",
175
- "network",
176
- "synthesis-unavailable",
177
- "synthesis-failed",
178
- "language-unavailable",
179
- "voice-unavailable",
180
- "text-too-long",
181
- "invalid-argument",
182
- "not-allowed",
183
- };
184
-
185
- [Exposed=Window]
186
- interface SpeechSynthesisErrorEvent : SpeechSynthesisEvent {
187
- constructor(DOMString type, SpeechSynthesisErrorEventInit eventInitDict);
188
- readonly attribute SpeechSynthesisErrorCode error;
189
- };
190
-
191
- dictionary SpeechSynthesisErrorEventInit : SpeechSynthesisEventInit {
192
- required SpeechSynthesisErrorCode error;
193
- };
194
-
195
- [Exposed=Window]
196
- interface SpeechSynthesisVoice {
197
- readonly attribute DOMString voiceURI;
198
- readonly attribute DOMString name;
199
- readonly attribute DOMString lang;
200
- readonly attribute boolean localService;
201
- readonly attribute boolean default;
202
- };
@@ -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: The Storage Access API (https://privacycg.github.io/storage-access/)
5
-
6
- partial interface Document {
7
- Promise<boolean> hasStorageAccess();
8
- Promise<undefined> requestStorageAccess();
9
- };
package/storage.idl DELETED
@@ -1,25 +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: Storage Standard (https://storage.spec.whatwg.org/)
5
-
6
- [SecureContext]
7
- interface mixin NavigatorStorage {
8
- [SameObject] readonly attribute StorageManager storage;
9
- };
10
- Navigator includes NavigatorStorage;
11
- WorkerNavigator includes NavigatorStorage;
12
-
13
- [SecureContext,
14
- Exposed=(Window,Worker)]
15
- interface StorageManager {
16
- Promise<boolean> persisted();
17
- [Exposed=Window] Promise<boolean> persist();
18
-
19
- Promise<StorageEstimate> estimate();
20
- };
21
-
22
- dictionary StorageEstimate {
23
- unsigned long long usage;
24
- unsigned long long quota;
25
- };
package/streams.idl DELETED
@@ -1,222 +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: Streams Standard (https://streams.spec.whatwg.org/)
5
-
6
- [Exposed=*, Transferable]
7
- interface ReadableStream {
8
- constructor(optional object underlyingSource, optional QueuingStrategy strategy = {});
9
-
10
- readonly attribute boolean locked;
11
-
12
- Promise<undefined> cancel(optional any reason);
13
- ReadableStreamReader getReader(optional ReadableStreamGetReaderOptions options = {});
14
- ReadableStream pipeThrough(ReadableWritablePair transform, optional StreamPipeOptions options = {});
15
- Promise<undefined> pipeTo(WritableStream destination, optional StreamPipeOptions options = {});
16
- sequence<ReadableStream> tee();
17
-
18
- async iterable<any>(optional ReadableStreamIteratorOptions options = {});
19
- };
20
-
21
- typedef (ReadableStreamDefaultReader or ReadableStreamBYOBReader) ReadableStreamReader;
22
-
23
- enum ReadableStreamReaderMode { "byob" };
24
-
25
- dictionary ReadableStreamGetReaderOptions {
26
- ReadableStreamReaderMode mode;
27
- };
28
-
29
- dictionary ReadableStreamIteratorOptions {
30
- boolean preventCancel = false;
31
- };
32
-
33
- dictionary ReadableWritablePair {
34
- required ReadableStream readable;
35
- required WritableStream writable;
36
- };
37
-
38
- dictionary StreamPipeOptions {
39
- boolean preventClose = false;
40
- boolean preventAbort = false;
41
- boolean preventCancel = false;
42
- AbortSignal signal;
43
- };
44
-
45
- dictionary UnderlyingSource {
46
- UnderlyingSourceStartCallback start;
47
- UnderlyingSourcePullCallback pull;
48
- UnderlyingSourceCancelCallback cancel;
49
- ReadableStreamType type;
50
- [EnforceRange] unsigned long long autoAllocateChunkSize;
51
- };
52
-
53
- typedef (ReadableStreamDefaultController or ReadableByteStreamController) ReadableStreamController;
54
-
55
- callback UnderlyingSourceStartCallback = any (ReadableStreamController controller);
56
- callback UnderlyingSourcePullCallback = Promise<undefined> (ReadableStreamController controller);
57
- callback UnderlyingSourceCancelCallback = Promise<undefined> (optional any reason);
58
-
59
- enum ReadableStreamType { "bytes" };
60
-
61
- interface mixin ReadableStreamGenericReader {
62
- readonly attribute Promise<undefined> closed;
63
-
64
- Promise<undefined> cancel(optional any reason);
65
- };
66
-
67
- [Exposed=*]
68
- interface ReadableStreamDefaultReader {
69
- constructor(ReadableStream stream);
70
-
71
- Promise<ReadableStreamReadResult> read();
72
- undefined releaseLock();
73
- };
74
- ReadableStreamDefaultReader includes ReadableStreamGenericReader;
75
-
76
- dictionary ReadableStreamReadResult {
77
- any value;
78
- boolean done;
79
- };
80
-
81
- [Exposed=*]
82
- interface ReadableStreamBYOBReader {
83
- constructor(ReadableStream stream);
84
-
85
- Promise<ReadableStreamReadResult> read(ArrayBufferView view);
86
- undefined releaseLock();
87
- };
88
- ReadableStreamBYOBReader includes ReadableStreamGenericReader;
89
-
90
- [Exposed=*]
91
- interface ReadableStreamDefaultController {
92
- readonly attribute unrestricted double? desiredSize;
93
-
94
- undefined close();
95
- undefined enqueue(optional any chunk);
96
- undefined error(optional any e);
97
- };
98
-
99
- [Exposed=*]
100
- interface ReadableByteStreamController {
101
- readonly attribute ReadableStreamBYOBRequest? byobRequest;
102
- readonly attribute unrestricted double? desiredSize;
103
-
104
- undefined close();
105
- undefined enqueue(ArrayBufferView chunk);
106
- undefined error(optional any e);
107
- };
108
-
109
- [Exposed=*]
110
- interface ReadableStreamBYOBRequest {
111
- readonly attribute ArrayBufferView? view;
112
-
113
- undefined respond([EnforceRange] unsigned long long bytesWritten);
114
- undefined respondWithNewView(ArrayBufferView view);
115
- };
116
-
117
- [Exposed=*, Transferable]
118
- interface WritableStream {
119
- constructor(optional object underlyingSink, optional QueuingStrategy strategy = {});
120
-
121
- readonly attribute boolean locked;
122
-
123
- Promise<undefined> abort(optional any reason);
124
- Promise<undefined> close();
125
- WritableStreamDefaultWriter getWriter();
126
- };
127
-
128
- dictionary UnderlyingSink {
129
- UnderlyingSinkStartCallback start;
130
- UnderlyingSinkWriteCallback write;
131
- UnderlyingSinkCloseCallback close;
132
- UnderlyingSinkAbortCallback abort;
133
- any type;
134
- };
135
-
136
- callback UnderlyingSinkStartCallback = any (WritableStreamDefaultController controller);
137
- callback UnderlyingSinkWriteCallback = Promise<undefined> (any chunk, WritableStreamDefaultController controller);
138
- callback UnderlyingSinkCloseCallback = Promise<undefined> ();
139
- callback UnderlyingSinkAbortCallback = Promise<undefined> (optional any reason);
140
-
141
- [Exposed=*]
142
- interface WritableStreamDefaultWriter {
143
- constructor(WritableStream stream);
144
-
145
- readonly attribute Promise<undefined> closed;
146
- readonly attribute unrestricted double? desiredSize;
147
- readonly attribute Promise<undefined> ready;
148
-
149
- Promise<undefined> abort(optional any reason);
150
- Promise<undefined> close();
151
- undefined releaseLock();
152
- Promise<undefined> write(optional any chunk);
153
- };
154
-
155
- [Exposed=*]
156
- interface WritableStreamDefaultController {
157
- readonly attribute AbortSignal signal;
158
- undefined error(optional any e);
159
- };
160
-
161
- [Exposed=*, Transferable]
162
- interface TransformStream {
163
- constructor(optional object transformer,
164
- optional QueuingStrategy writableStrategy = {},
165
- optional QueuingStrategy readableStrategy = {});
166
-
167
- readonly attribute ReadableStream readable;
168
- readonly attribute WritableStream writable;
169
- };
170
-
171
- dictionary Transformer {
172
- TransformerStartCallback start;
173
- TransformerTransformCallback transform;
174
- TransformerFlushCallback flush;
175
- any readableType;
176
- any writableType;
177
- };
178
-
179
- callback TransformerStartCallback = any (TransformStreamDefaultController controller);
180
- callback TransformerFlushCallback = Promise<undefined> (TransformStreamDefaultController controller);
181
- callback TransformerTransformCallback = Promise<undefined> (any chunk, TransformStreamDefaultController controller);
182
-
183
- [Exposed=*]
184
- interface TransformStreamDefaultController {
185
- readonly attribute unrestricted double? desiredSize;
186
-
187
- undefined enqueue(optional any chunk);
188
- undefined error(optional any reason);
189
- undefined terminate();
190
- };
191
-
192
- dictionary QueuingStrategy {
193
- unrestricted double highWaterMark;
194
- QueuingStrategySize size;
195
- };
196
-
197
- callback QueuingStrategySize = unrestricted double (any chunk);
198
-
199
- dictionary QueuingStrategyInit {
200
- required unrestricted double highWaterMark;
201
- };
202
-
203
- [Exposed=*]
204
- interface ByteLengthQueuingStrategy {
205
- constructor(QueuingStrategyInit init);
206
-
207
- readonly attribute unrestricted double highWaterMark;
208
- readonly attribute Function size;
209
- };
210
-
211
- [Exposed=*]
212
- interface CountQueuingStrategy {
213
- constructor(QueuingStrategyInit init);
214
-
215
- readonly attribute unrestricted double highWaterMark;
216
- readonly attribute Function size;
217
- };
218
-
219
- interface mixin GenericTransformStream {
220
- readonly attribute ReadableStream readable;
221
- readonly attribute WritableStream writable;
222
- };
@@ -1,68 +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: SVG Animations (https://svgwg.org/specs/animations/)
5
-
6
- [Exposed=Window]
7
- interface TimeEvent : Event {
8
-
9
- readonly attribute WindowProxy? view;
10
- readonly attribute long detail;
11
-
12
- undefined initTimeEvent(DOMString typeArg, Window? viewArg, long detailArg);
13
- };
14
-
15
- [Exposed=Window]
16
- interface SVGAnimationElement : SVGElement {
17
-
18
- readonly attribute SVGElement? targetElement;
19
-
20
- attribute EventHandler onbegin;
21
- attribute EventHandler onend;
22
- attribute EventHandler onrepeat;
23
-
24
- float getStartTime();
25
- float getCurrentTime();
26
- float getSimpleDuration();
27
-
28
- undefined beginElement();
29
- undefined beginElementAt(float offset);
30
- undefined endElement();
31
- undefined endElementAt(float offset);
32
- };
33
-
34
- SVGAnimationElement includes SVGTests;
35
-
36
- [Exposed=Window]
37
- interface SVGAnimateElement : SVGAnimationElement {
38
- };
39
-
40
- [Exposed=Window]
41
- interface SVGSetElement : SVGAnimationElement {
42
- };
43
-
44
- [Exposed=Window]
45
- interface SVGAnimateMotionElement : SVGAnimationElement {
46
- };
47
-
48
- [Exposed=Window]
49
- interface SVGMPathElement : SVGElement {
50
- };
51
-
52
- SVGMPathElement includes SVGURIReference;
53
-
54
- [Exposed=Window]
55
- interface SVGAnimateTransformElement : SVGAnimationElement {
56
- };
57
-
58
- [Exposed=Window]
59
- interface SVGDiscardElement : SVGAnimationElement {
60
- };
61
-
62
- partial interface SVGSVGElement {
63
- undefined pauseAnimations();
64
- undefined unpauseAnimations();
65
- boolean animationsPaused();
66
- float getCurrentTime();
67
- undefined setCurrentTime(float seconds);
68
- };
package/testutils.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: Test Utils Standard (https://testutils.spec.whatwg.org/)
5
-
6
- [Exposed=(Window,Worker)]
7
- namespace TestUtils {
8
- [NewObject] Promise<undefined> gc();
9
- };
@@ -1,18 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: Accelerated Text Detection in Images (https://wicg.github.io/shape-detection-api/text.html)
5
-
6
- [
7
- Exposed=(Window,Worker),
8
- SecureContext
9
- ] interface TextDetector {
10
- constructor();
11
- Promise<sequence<DetectedText>> detect(ImageBitmapSource image);
12
- };
13
-
14
- dictionary DetectedText {
15
- required DOMRectReadOnly boundingBox;
16
- required DOMString rawValue;
17
- required FrozenArray<Point2D> cornerPoints;
18
- };
package/touch-events.idl DELETED
@@ -1,79 +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: Touch Events - Level 2 (https://w3c.github.io/touch-events/)
5
-
6
- enum TouchType {
7
- "direct",
8
- "stylus"
9
- };
10
-
11
- dictionary TouchInit {
12
- required long identifier;
13
- required EventTarget target;
14
- double clientX = 0;
15
- double clientY = 0;
16
- double screenX = 0;
17
- double screenY = 0;
18
- double pageX = 0;
19
- double pageY = 0;
20
- float radiusX = 0;
21
- float radiusY = 0;
22
- float rotationAngle = 0;
23
- float force = 0;
24
- double altitudeAngle = 0;
25
- double azimuthAngle = 0;
26
- TouchType touchType = "direct";
27
- };
28
-
29
- [Exposed=Window]
30
- interface Touch {
31
- constructor(TouchInit touchInitDict);
32
- readonly attribute long identifier;
33
- readonly attribute EventTarget target;
34
- readonly attribute double screenX;
35
- readonly attribute double screenY;
36
- readonly attribute double clientX;
37
- readonly attribute double clientY;
38
- readonly attribute double pageX;
39
- readonly attribute double pageY;
40
- readonly attribute float radiusX;
41
- readonly attribute float radiusY;
42
- readonly attribute float rotationAngle;
43
- readonly attribute float force;
44
- readonly attribute float altitudeAngle;
45
- readonly attribute float azimuthAngle;
46
- readonly attribute TouchType touchType;
47
- };
48
-
49
- [Exposed=Window]
50
- interface TouchList {
51
- readonly attribute unsigned long length;
52
- getter Touch? item (unsigned long index);
53
- };
54
-
55
- dictionary TouchEventInit : EventModifierInit {
56
- sequence<Touch> touches = [];
57
- sequence<Touch> targetTouches = [];
58
- sequence<Touch> changedTouches = [];
59
- };
60
-
61
- [Exposed=Window]
62
- interface TouchEvent : UIEvent {
63
- constructor(DOMString type, optional TouchEventInit eventInitDict = {});
64
- readonly attribute TouchList touches;
65
- readonly attribute TouchList targetTouches;
66
- readonly attribute TouchList changedTouches;
67
- readonly attribute boolean altKey;
68
- readonly attribute boolean metaKey;
69
- readonly attribute boolean ctrlKey;
70
- readonly attribute boolean shiftKey;
71
- getter boolean getModifierState (DOMString keyArg);
72
- };
73
-
74
- partial interface mixin GlobalEventHandlers {
75
- attribute EventHandler ontouchstart;
76
- attribute EventHandler ontouchend;
77
- attribute EventHandler ontouchmove;
78
- attribute EventHandler ontouchcancel;
79
- };