@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/webtransport.idl DELETED
@@ -1,151 +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: WebTransport (https://w3c.github.io/webtransport/)
5
-
6
- [Exposed=(Window,Worker), SecureContext]
7
- interface WebTransportDatagramDuplexStream {
8
- readonly attribute ReadableStream readable;
9
- readonly attribute WritableStream writable;
10
-
11
- readonly attribute unsigned long maxDatagramSize;
12
- attribute unrestricted double incomingMaxAge;
13
- attribute unrestricted double outgoingMaxAge;
14
- attribute unrestricted double incomingHighWaterMark;
15
- attribute unrestricted double outgoingHighWaterMark;
16
- };
17
-
18
- [Exposed=(Window,Worker), SecureContext]
19
- interface WebTransport : EventTarget {
20
- constructor(USVString url, optional WebTransportOptions options = {});
21
-
22
- Promise<WebTransportStats> getStats();
23
- readonly attribute Promise<undefined> ready;
24
- readonly attribute WebTransportReliabilityMode reliability;
25
- readonly attribute WebTransportCongestionControl congestionControl;
26
- readonly attribute Promise<WebTransportCloseInfo> closed;
27
- undefined close(optional WebTransportCloseInfo closeInfo = {});
28
-
29
- readonly attribute WebTransportDatagramDuplexStream datagrams;
30
-
31
- Promise<WebTransportBidirectionalStream> createBidirectionalStream(
32
- optional WebTransportSendStreamOptions options = {});
33
- /* a ReadableStream of WebTransportBidirectionalStream objects */
34
- readonly attribute ReadableStream incomingBidirectionalStreams;
35
-
36
- Promise<WebTransportSendStream> createUnidirectionalStream(
37
- optional WebTransportSendStreamOptions options = {});
38
- /* a ReadableStream of WebTransportReceiveStream objects */
39
- readonly attribute ReadableStream incomingUnidirectionalStreams;
40
-
41
- attribute unsigned long rateControlFeedbackMinInterval;
42
- attribute EventHandler onratecontrolfeedback;
43
- [SameObject] readonly attribute WebTransportRateControlFeedback rateControlFeedback;
44
- };
45
-
46
- enum WebTransportReliabilityMode {
47
- "pending",
48
- "reliable-only",
49
- "supports-unreliable",
50
- };
51
-
52
- dictionary WebTransportHash {
53
- DOMString algorithm;
54
- BufferSource value;
55
- };
56
-
57
- dictionary WebTransportOptions {
58
- boolean allowPooling = false;
59
- boolean requireUnreliable = false;
60
- sequence<WebTransportHash> serverCertificateHashes;
61
- WebTransportCongestionControl congestionControl = "default";
62
- };
63
-
64
- enum WebTransportCongestionControl {
65
- "default",
66
- "throughput",
67
- "low-latency",
68
- };
69
-
70
- dictionary WebTransportCloseInfo {
71
- unsigned long closeCode = 0;
72
- USVString reason = "";
73
- };
74
-
75
- dictionary WebTransportSendStreamOptions {
76
- long long? sendOrder = null;
77
- };
78
-
79
- dictionary WebTransportStats {
80
- DOMHighResTimeStamp timestamp;
81
- unsigned long long bytesSent;
82
- unsigned long long packetsSent;
83
- unsigned long long packetsLost;
84
- unsigned long numOutgoingStreamsCreated;
85
- unsigned long numIncomingStreamsCreated;
86
- unsigned long long bytesReceived;
87
- unsigned long long packetsReceived;
88
- DOMHighResTimeStamp smoothedRtt;
89
- DOMHighResTimeStamp rttVariation;
90
- DOMHighResTimeStamp minRtt;
91
- WebTransportDatagramStats datagrams;
92
- };
93
-
94
- dictionary WebTransportDatagramStats {
95
- DOMHighResTimeStamp timestamp;
96
- unsigned long long expiredOutgoing;
97
- unsigned long long droppedIncoming;
98
- unsigned long long lostOutgoing;
99
- };
100
-
101
- [Exposed=(Window,Worker), SecureContext, Transferable]
102
- interface WebTransportSendStream : WritableStream {
103
- Promise<WebTransportSendStreamStats> getStats();
104
- };
105
-
106
- dictionary WebTransportSendStreamStats {
107
- DOMHighResTimeStamp timestamp;
108
- unsigned long long bytesWritten;
109
- unsigned long long bytesSent;
110
- unsigned long long bytesAcknowledged;
111
- };
112
-
113
- [Exposed=(Window,Worker), SecureContext, Transferable]
114
- interface WebTransportReceiveStream : ReadableStream {
115
- Promise<WebTransportReceiveStreamStats> getStats();
116
- };
117
-
118
- dictionary WebTransportReceiveStreamStats {
119
- DOMHighResTimeStamp timestamp;
120
- unsigned long long bytesReceived;
121
- unsigned long long bytesRead;
122
- };
123
-
124
- [Exposed=(Window,Worker), SecureContext]
125
- interface WebTransportBidirectionalStream {
126
- readonly attribute WebTransportReceiveStream readable;
127
- readonly attribute WebTransportSendStream writable;
128
- };
129
-
130
- [Exposed=(Window,Worker), SecureContext]
131
- interface WebTransportRateControlFeedback {
132
- readonly attribute unsigned long long? sendRate;
133
- };
134
-
135
- [Exposed=(Window,Worker), Serializable, SecureContext]
136
- interface WebTransportError : DOMException {
137
- constructor(optional DOMString message = "", optional WebTransportErrorOptions options = {});
138
-
139
- readonly attribute WebTransportErrorSource source;
140
- readonly attribute octet? streamErrorCode;
141
- };
142
-
143
- dictionary WebTransportErrorOptions {
144
- WebTransportErrorSource source = "stream";
145
- [Clamp] octet? streamErrorCode = null;
146
- };
147
-
148
- enum WebTransportErrorSource {
149
- "stream",
150
- "session",
151
- };
package/webusb.idl DELETED
@@ -1,249 +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: WebUSB API (https://wicg.github.io/webusb/)
5
-
6
- dictionary USBDeviceFilter {
7
- unsigned short vendorId;
8
- unsigned short productId;
9
- octet classCode;
10
- octet subclassCode;
11
- octet protocolCode;
12
- DOMString serialNumber;
13
- };
14
-
15
- dictionary USBDeviceRequestOptions {
16
- required sequence<USBDeviceFilter> filters;
17
- };
18
-
19
- [Exposed=(Worker,Window), SecureContext]
20
- interface USB : EventTarget {
21
- attribute EventHandler onconnect;
22
- attribute EventHandler ondisconnect;
23
- Promise<sequence<USBDevice>> getDevices();
24
- [Exposed=Window] Promise<USBDevice> requestDevice(USBDeviceRequestOptions options);
25
- };
26
-
27
- [Exposed=Window, SecureContext]
28
- partial interface Navigator {
29
- [SameObject] readonly attribute USB usb;
30
- };
31
-
32
- [Exposed=Worker, SecureContext]
33
- partial interface WorkerNavigator {
34
- [SameObject] readonly attribute USB usb;
35
- };
36
-
37
- dictionary USBConnectionEventInit : EventInit {
38
- required USBDevice device;
39
- };
40
-
41
- [
42
- Exposed=(DedicatedWorker,SharedWorker,Window),
43
- SecureContext
44
- ]
45
- interface USBConnectionEvent : Event {
46
- constructor(DOMString type, USBConnectionEventInit eventInitDict);
47
- [SameObject] readonly attribute USBDevice device;
48
- };
49
-
50
- enum USBTransferStatus {
51
- "ok",
52
- "stall",
53
- "babble"
54
- };
55
-
56
- [
57
- Exposed=(DedicatedWorker,SharedWorker,Window),
58
- SecureContext
59
- ]
60
- interface USBInTransferResult {
61
- constructor(USBTransferStatus status, optional DataView? data);
62
- readonly attribute DataView? data;
63
- readonly attribute USBTransferStatus status;
64
- };
65
-
66
- [
67
- Exposed=(DedicatedWorker,SharedWorker,Window),
68
- SecureContext
69
- ]
70
- interface USBOutTransferResult {
71
- constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0);
72
- readonly attribute unsigned long bytesWritten;
73
- readonly attribute USBTransferStatus status;
74
- };
75
-
76
- [
77
- Exposed=(DedicatedWorker,SharedWorker,Window),
78
- SecureContext
79
- ]
80
- interface USBIsochronousInTransferPacket {
81
- constructor(USBTransferStatus status, optional DataView? data);
82
- readonly attribute DataView? data;
83
- readonly attribute USBTransferStatus status;
84
- };
85
-
86
- [
87
- Exposed=(DedicatedWorker,SharedWorker,Window),
88
- SecureContext
89
- ]
90
- interface USBIsochronousInTransferResult {
91
- constructor(sequence<USBIsochronousInTransferPacket> packets, optional DataView? data);
92
- readonly attribute DataView? data;
93
- readonly attribute FrozenArray<USBIsochronousInTransferPacket> packets;
94
- };
95
-
96
- [
97
- Exposed=(DedicatedWorker,SharedWorker,Window),
98
- SecureContext
99
- ]
100
- interface USBIsochronousOutTransferPacket {
101
- constructor(USBTransferStatus status, optional unsigned long bytesWritten = 0);
102
- readonly attribute unsigned long bytesWritten;
103
- readonly attribute USBTransferStatus status;
104
- };
105
-
106
- [
107
- Exposed=(DedicatedWorker,SharedWorker,Window),
108
- SecureContext
109
- ]
110
- interface USBIsochronousOutTransferResult {
111
- constructor(sequence<USBIsochronousOutTransferPacket> packets);
112
- readonly attribute FrozenArray<USBIsochronousOutTransferPacket> packets;
113
- };
114
-
115
- [Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
116
- interface USBDevice {
117
- readonly attribute octet usbVersionMajor;
118
- readonly attribute octet usbVersionMinor;
119
- readonly attribute octet usbVersionSubminor;
120
- readonly attribute octet deviceClass;
121
- readonly attribute octet deviceSubclass;
122
- readonly attribute octet deviceProtocol;
123
- readonly attribute unsigned short vendorId;
124
- readonly attribute unsigned short productId;
125
- readonly attribute octet deviceVersionMajor;
126
- readonly attribute octet deviceVersionMinor;
127
- readonly attribute octet deviceVersionSubminor;
128
- readonly attribute DOMString? manufacturerName;
129
- readonly attribute DOMString? productName;
130
- readonly attribute DOMString? serialNumber;
131
- readonly attribute USBConfiguration? configuration;
132
- readonly attribute FrozenArray<USBConfiguration> configurations;
133
- readonly attribute boolean opened;
134
- Promise<undefined> open();
135
- Promise<undefined> close();
136
- Promise<undefined> forget();
137
- Promise<undefined> selectConfiguration(octet configurationValue);
138
- Promise<undefined> claimInterface(octet interfaceNumber);
139
- Promise<undefined> releaseInterface(octet interfaceNumber);
140
- Promise<undefined> selectAlternateInterface(octet interfaceNumber, octet alternateSetting);
141
- Promise<USBInTransferResult> controlTransferIn(USBControlTransferParameters setup, unsigned short length);
142
- Promise<USBOutTransferResult> controlTransferOut(USBControlTransferParameters setup, optional BufferSource data);
143
- Promise<undefined> clearHalt(USBDirection direction, octet endpointNumber);
144
- Promise<USBInTransferResult> transferIn(octet endpointNumber, unsigned long length);
145
- Promise<USBOutTransferResult> transferOut(octet endpointNumber, BufferSource data);
146
- Promise<USBIsochronousInTransferResult> isochronousTransferIn(octet endpointNumber, sequence<unsigned long> packetLengths);
147
- Promise<USBIsochronousOutTransferResult> isochronousTransferOut(octet endpointNumber, BufferSource data, sequence<unsigned long> packetLengths);
148
- Promise<undefined> reset();
149
- };
150
-
151
- enum USBRequestType {
152
- "standard",
153
- "class",
154
- "vendor"
155
- };
156
-
157
- enum USBRecipient {
158
- "device",
159
- "interface",
160
- "endpoint",
161
- "other"
162
- };
163
-
164
- dictionary USBControlTransferParameters {
165
- required USBRequestType requestType;
166
- required USBRecipient recipient;
167
- required octet request;
168
- required unsigned short value;
169
- required unsigned short index;
170
- };
171
-
172
- [
173
- Exposed=(DedicatedWorker,SharedWorker,Window),
174
- SecureContext
175
- ]
176
- interface USBConfiguration {
177
- constructor(USBDevice device, octet configurationValue);
178
- readonly attribute octet configurationValue;
179
- readonly attribute DOMString? configurationName;
180
- readonly attribute FrozenArray<USBInterface> interfaces;
181
- };
182
-
183
- [
184
- Exposed=(DedicatedWorker,SharedWorker,Window),
185
- SecureContext
186
- ]
187
- interface USBInterface {
188
- constructor(USBConfiguration configuration, octet interfaceNumber);
189
- readonly attribute octet interfaceNumber;
190
- readonly attribute USBAlternateInterface alternate;
191
- readonly attribute FrozenArray<USBAlternateInterface> alternates;
192
- readonly attribute boolean claimed;
193
- };
194
-
195
- [
196
- Exposed=(DedicatedWorker,SharedWorker,Window),
197
- SecureContext
198
- ]
199
- interface USBAlternateInterface {
200
- constructor(USBInterface deviceInterface, octet alternateSetting);
201
- readonly attribute octet alternateSetting;
202
- readonly attribute octet interfaceClass;
203
- readonly attribute octet interfaceSubclass;
204
- readonly attribute octet interfaceProtocol;
205
- readonly attribute DOMString? interfaceName;
206
- readonly attribute FrozenArray<USBEndpoint> endpoints;
207
- };
208
-
209
- enum USBDirection {
210
- "in",
211
- "out"
212
- };
213
-
214
- enum USBEndpointType {
215
- "bulk",
216
- "interrupt",
217
- "isochronous"
218
- };
219
-
220
- [
221
- Exposed=(DedicatedWorker,SharedWorker,Window),
222
- SecureContext
223
- ]
224
- interface USBEndpoint {
225
- constructor(USBAlternateInterface alternate, octet endpointNumber, USBDirection direction);
226
- readonly attribute octet endpointNumber;
227
- readonly attribute USBDirection direction;
228
- readonly attribute USBEndpointType type;
229
- readonly attribute unsigned long packetSize;
230
- };
231
-
232
- dictionary USBPermissionDescriptor : PermissionDescriptor {
233
- sequence<USBDeviceFilter> filters;
234
- };
235
-
236
- dictionary AllowedUSBDevice {
237
- required octet vendorId;
238
- required octet productId;
239
- DOMString serialNumber;
240
- };
241
-
242
- dictionary USBPermissionStorage {
243
- sequence<AllowedUSBDevice> allowedDevices = [];
244
- };
245
-
246
- [Exposed=(DedicatedWorker,SharedWorker,Window)]
247
- interface USBPermissionResult : PermissionStatus {
248
- attribute FrozenArray<USBDevice> devices;
249
- };
package/webvtt.idl DELETED
@@ -1,40 +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: WebVTT: The Web Video Text Tracks Format (https://w3c.github.io/webvtt/)
5
-
6
- enum AutoKeyword { "auto" };
7
- typedef (double or AutoKeyword) LineAndPositionSetting;
8
- enum DirectionSetting { "" /* horizontal */, "rl", "lr" };
9
- enum LineAlignSetting { "start", "center", "end" };
10
- enum PositionAlignSetting { "line-left", "center", "line-right", "auto" };
11
- enum AlignSetting { "start", "center", "end", "left", "right" };
12
- [Exposed=Window]
13
- interface VTTCue : TextTrackCue {
14
- constructor(double startTime, unrestricted double endTime, DOMString text);
15
- attribute VTTRegion? region;
16
- attribute DirectionSetting vertical;
17
- attribute boolean snapToLines;
18
- attribute LineAndPositionSetting line;
19
- attribute LineAlignSetting lineAlign;
20
- attribute LineAndPositionSetting position;
21
- attribute PositionAlignSetting positionAlign;
22
- attribute double size;
23
- attribute AlignSetting align;
24
- attribute DOMString text;
25
- DocumentFragment getCueAsHTML();
26
- };
27
-
28
- enum ScrollSetting { "" /* none */, "up" };
29
- [Exposed=Window]
30
- interface VTTRegion {
31
- constructor();
32
- attribute DOMString id;
33
- attribute double width;
34
- attribute unsigned long lines;
35
- attribute double regionAnchorX;
36
- attribute double regionAnchorY;
37
- attribute double viewportAnchorX;
38
- attribute double viewportAnchorY;
39
- attribute ScrollSetting scroll;
40
- };
@@ -1,29 +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: WebXR Augmented Reality Module - Level 1 (https://immersive-web.github.io/webxr-ar-module/)
5
-
6
- enum XREnvironmentBlendMode {
7
- "opaque",
8
- "alpha-blend",
9
- "additive"
10
- };
11
-
12
- partial interface XRSession {
13
- // Attributes
14
- readonly attribute XREnvironmentBlendMode environmentBlendMode;
15
- };
16
-
17
- enum XRInteractionMode {
18
- "screen-space",
19
- "world-space",
20
- };
21
-
22
- partial interface XRSession {
23
- // Attributes
24
- readonly attribute XRInteractionMode interactionMode;
25
- };
26
-
27
- partial interface XRView {
28
- readonly attribute boolean isFirstPersonObserver;
29
- };
@@ -1,57 +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: WebXR Depth Sensing Module (https://immersive-web.github.io/depth-sensing/)
5
-
6
- enum XRDepthUsage {
7
- "cpu-optimized",
8
- "gpu-optimized",
9
- };
10
-
11
- enum XRDepthDataFormat {
12
- "luminance-alpha",
13
- "float32"
14
- };
15
-
16
- dictionary XRDepthStateInit {
17
- required sequence<XRDepthUsage> usagePreference;
18
- required sequence<XRDepthDataFormat> dataFormatPreference;
19
- };
20
-
21
- partial dictionary XRSessionInit {
22
- XRDepthStateInit depthSensing;
23
- };
24
-
25
- partial interface XRSession {
26
- readonly attribute XRDepthUsage depthUsage;
27
- readonly attribute XRDepthDataFormat depthDataFormat;
28
- };
29
-
30
- [SecureContext, Exposed=Window]
31
- interface XRDepthInformation {
32
- readonly attribute unsigned long width;
33
- readonly attribute unsigned long height;
34
-
35
- [SameObject] readonly attribute XRRigidTransform normDepthBufferFromNormView;
36
- readonly attribute float rawValueToMeters;
37
- };
38
-
39
- [Exposed=Window]
40
- interface XRCPUDepthInformation : XRDepthInformation {
41
- [SameObject] readonly attribute ArrayBuffer data;
42
-
43
- float getDepthInMeters(float x, float y);
44
- };
45
-
46
- partial interface XRFrame {
47
- XRCPUDepthInformation? getDepthInformation(XRView view);
48
- };
49
-
50
- [Exposed=Window]
51
- interface XRWebGLDepthInformation : XRDepthInformation {
52
- [SameObject] readonly attribute WebGLTexture texture;
53
- };
54
-
55
- partial interface XRWebGLBinding {
56
- XRWebGLDepthInformation? getDepthInformation(XRView view);
57
- };
@@ -1,31 +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: WebXR DOM Overlays Module (https://immersive-web.github.io/dom-overlays/)
5
-
6
- partial interface mixin GlobalEventHandlers {
7
- attribute EventHandler onbeforexrselect;
8
- };
9
-
10
- partial dictionary XRSessionInit {
11
- XRDOMOverlayInit? domOverlay;
12
- };
13
-
14
- partial interface XRSession {
15
- readonly attribute XRDOMOverlayState? domOverlayState;
16
- };
17
-
18
- dictionary XRDOMOverlayInit {
19
- required Element root;
20
- };
21
-
22
- enum XRDOMOverlayType {
23
- "screen",
24
- "floating",
25
- "head-locked"
26
- };
27
-
28
- dictionary XRDOMOverlayState {
29
- XRDOMOverlayType type;
30
-
31
- };
@@ -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: WebXR Gamepads Module - Level 1 (https://immersive-web.github.io/webxr-gamepads-module/)
5
-
6
- partial interface XRInputSource {
7
- [SameObject] readonly attribute Gamepad? gamepad;
8
- };
@@ -1,66 +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: WebXR Hand Input Module - Level 1 (https://immersive-web.github.io/webxr-hand-input/)
5
-
6
- partial interface XRInputSource {
7
- [SameObject] readonly attribute XRHand? hand;
8
- };
9
-
10
- enum XRHandJoint {
11
- "wrist",
12
-
13
- "thumb-metacarpal",
14
- "thumb-phalanx-proximal",
15
- "thumb-phalanx-distal",
16
- "thumb-tip",
17
-
18
- "index-finger-metacarpal",
19
- "index-finger-phalanx-proximal",
20
- "index-finger-phalanx-intermediate",
21
- "index-finger-phalanx-distal",
22
- "index-finger-tip",
23
-
24
- "middle-finger-metacarpal",
25
- "middle-finger-phalanx-proximal",
26
- "middle-finger-phalanx-intermediate",
27
- "middle-finger-phalanx-distal",
28
- "middle-finger-tip",
29
-
30
- "ring-finger-metacarpal",
31
- "ring-finger-phalanx-proximal",
32
- "ring-finger-phalanx-intermediate",
33
- "ring-finger-phalanx-distal",
34
- "ring-finger-tip",
35
-
36
- "pinky-finger-metacarpal",
37
- "pinky-finger-phalanx-proximal",
38
- "pinky-finger-phalanx-intermediate",
39
- "pinky-finger-phalanx-distal",
40
- "pinky-finger-tip"
41
- };
42
-
43
- [Exposed=Window]
44
- interface XRHand {
45
- iterable<XRHandJoint, XRJointSpace>;
46
-
47
- readonly attribute unsigned long size;
48
- XRJointSpace get(XRHandJoint key);
49
- };
50
-
51
- [Exposed=Window]
52
- interface XRJointSpace: XRSpace {
53
- readonly attribute XRHandJoint jointName;
54
- };
55
-
56
- partial interface XRFrame {
57
- XRJointPose? getJointPose(XRJointSpace joint, XRSpace baseSpace);
58
- boolean fillJointRadii(sequence<XRJointSpace> jointSpaces, Float32Array radii);
59
-
60
- boolean fillPoses(sequence<XRSpace> spaces, XRSpace baseSpace, Float32Array transforms);
61
- };
62
-
63
- [Exposed=Window]
64
- interface XRJointPose: XRPose {
65
- readonly attribute float radius;
66
- };
@@ -1,69 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: WebXR Hit Test Module (https://immersive-web.github.io/hit-test/)
5
-
6
- enum XRHitTestTrackableType {
7
- "point",
8
- "plane",
9
- "mesh"
10
- };
11
-
12
- dictionary XRHitTestOptionsInit {
13
- required XRSpace space;
14
- FrozenArray<XRHitTestTrackableType> entityTypes;
15
- XRRay offsetRay;
16
- };
17
-
18
- dictionary XRTransientInputHitTestOptionsInit {
19
- required DOMString profile;
20
- FrozenArray<XRHitTestTrackableType> entityTypes;
21
- XRRay offsetRay;
22
- };
23
-
24
- [SecureContext, Exposed=Window]
25
- interface XRHitTestSource {
26
- undefined cancel();
27
- };
28
-
29
- [SecureContext, Exposed=Window]
30
- interface XRTransientInputHitTestSource {
31
- undefined cancel();
32
- };
33
-
34
- [SecureContext, Exposed=Window]
35
- interface XRHitTestResult {
36
- XRPose? getPose(XRSpace baseSpace);
37
- };
38
-
39
- [SecureContext, Exposed=Window]
40
- interface XRTransientInputHitTestResult {
41
- [SameObject] readonly attribute XRInputSource inputSource;
42
- readonly attribute FrozenArray<XRHitTestResult> results;
43
- };
44
-
45
- partial interface XRSession {
46
- Promise<XRHitTestSource> requestHitTestSource(XRHitTestOptionsInit options);
47
- Promise<XRTransientInputHitTestSource> requestHitTestSourceForTransientInput(XRTransientInputHitTestOptionsInit options);
48
- };
49
-
50
- partial interface XRFrame {
51
- FrozenArray<XRHitTestResult> getHitTestResults(XRHitTestSource hitTestSource);
52
- FrozenArray<XRTransientInputHitTestResult> getHitTestResultsForTransientInput(XRTransientInputHitTestSource hitTestSource);
53
- };
54
-
55
- dictionary XRRayDirectionInit {
56
- double x = 0;
57
- double y = 0;
58
- double z = -1;
59
- double w = 0;
60
- };
61
-
62
- [SecureContext, Exposed=Window]
63
- interface XRRay {
64
- constructor(optional DOMPointInit origin = {}, optional XRRayDirectionInit direction = {});
65
- constructor(XRRigidTransform transform);
66
- [SameObject] readonly attribute DOMPointReadOnly origin;
67
- [SameObject] readonly attribute DOMPointReadOnly direction;
68
- [SameObject] readonly attribute Float32Array matrix;
69
- };