@webref/idl 3.28.0 → 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 (291) 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 -423
  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/fenced-frame.idl +0 -49
  122. package/fetch.idl +0 -117
  123. package/fido.idl +0 -47
  124. package/file-system-access.idl +0 -72
  125. package/filter-effects.idl +0 -341
  126. package/font-metrics-api.idl +0 -42
  127. package/fs.idl +0 -97
  128. package/fullscreen.idl +0 -35
  129. package/gamepad-extensions.idl +0 -71
  130. package/gamepad.idl +0 -49
  131. package/generic-sensor.idl +0 -60
  132. package/geolocation-sensor.idl +0 -47
  133. package/geolocation.idl +0 -65
  134. package/geometry.idl +0 -290
  135. package/get-installed-related-apps.idl +0 -16
  136. package/gpc-spec.idl +0 -10
  137. package/gyroscope.idl +0 -24
  138. package/hr-time.idl +0 -19
  139. package/html-media-capture.idl +0 -8
  140. package/html.idl +0 -2716
  141. package/idle-detection.idl +0 -31
  142. package/image-capture.idl +0 -160
  143. package/image-resource.idl +0 -11
  144. package/ink-enhancement.idl +0 -32
  145. package/input-device-capabilities.idl +0 -24
  146. package/input-events.idl +0 -14
  147. package/intersection-observer.idl +0 -46
  148. package/intervention-reporting.idl +0 -14
  149. package/is-input-pending.idl +0 -16
  150. package/js-self-profiling.idl +0 -44
  151. package/keyboard-lock.idl +0 -14
  152. package/keyboard-map.idl +0 -15
  153. package/largest-contentful-paint.idl +0 -15
  154. package/layout-instability.idl +0 -20
  155. package/local-font-access.idl +0 -24
  156. package/longtasks.idl +0 -19
  157. package/magnetometer.idl +0 -46
  158. package/manifest-incubations.idl +0 -24
  159. package/mathml-core.idl +0 -9
  160. package/media-capabilities.idl +0 -115
  161. package/media-playback-quality.idl +0 -18
  162. package/media-source.idl +0 -91
  163. package/mediacapture-automation.idl +0 -36
  164. package/mediacapture-fromelement.idl +0 -17
  165. package/mediacapture-handle-actions.idl +0 -31
  166. package/mediacapture-region.idl +0 -15
  167. package/mediacapture-streams.idl +0 -248
  168. package/mediacapture-transform.idl +0 -23
  169. package/mediacapture-viewport.idl +0 -14
  170. package/mediasession.idl +0 -84
  171. package/mediastream-recording.idl +0 -60
  172. package/model-element.idl +0 -9
  173. package/mst-content-hint.idl +0 -18
  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/trust-token-api.idl +0 -25
  231. package/trusted-types.idl +0 -71
  232. package/turtledove.idl +0 -63
  233. package/ua-client-hints.idl +0 -44
  234. package/uievents.idl +0 -248
  235. package/url.idl +0 -44
  236. package/urlpattern.idl +0 -59
  237. package/user-timing.idl +0 -34
  238. package/vibration.idl +0 -10
  239. package/video-rvfc.idl +0 -27
  240. package/virtual-keyboard.idl +0 -21
  241. package/wai-aria.idl +0 -59
  242. package/wasm-js-api.idl +0 -110
  243. package/wasm-web-api.idl +0 -11
  244. package/web-animations-2.idl +0 -102
  245. package/web-animations.idl +0 -149
  246. package/web-app-launch.idl +0 -19
  247. package/web-bluetooth.idl +0 -251
  248. package/web-locks.idl +0 -50
  249. package/web-nfc.idl +0 -81
  250. package/web-otp.idl +0 -21
  251. package/web-share.idl +0 -16
  252. package/webaudio.idl +0 -674
  253. package/webauthn.idl +0 -349
  254. package/webcodecs-aac-codec-registration.idl +0 -17
  255. package/webcodecs-avc-codec-registration.idl +0 -17
  256. package/webcodecs-flac-codec-registration.idl +0 -13
  257. package/webcodecs-hevc-codec-registration.idl +0 -17
  258. package/webcodecs-opus-codec-registration.idl +0 -22
  259. package/webcodecs.idl +0 -494
  260. package/webcrypto-secure-curves.idl +0 -8
  261. package/webdriver.idl +0 -9
  262. package/webgl1.idl +0 -745
  263. package/webgl2.idl +0 -582
  264. package/webgpu.idl +0 -1267
  265. package/webhid.idl +0 -127
  266. package/webidl.idl +0 -48
  267. package/webmidi.idl +0 -91
  268. package/webnn.idl +0 -549
  269. package/webrtc-encoded-transform.idl +0 -127
  270. package/webrtc-ice.idl +0 -24
  271. package/webrtc-identity.idl +0 -97
  272. package/webrtc-priority.idl +0 -24
  273. package/webrtc-stats.idl +0 -288
  274. package/webrtc-svc.idl +0 -8
  275. package/webrtc.idl +0 -628
  276. package/websockets.idl +0 -48
  277. package/webtransport.idl +0 -142
  278. package/webusb.idl +0 -249
  279. package/webvtt.idl +0 -40
  280. package/webxr-ar-module.idl +0 -29
  281. package/webxr-depth-sensing.idl +0 -57
  282. package/webxr-dom-overlays.idl +0 -31
  283. package/webxr-gamepads-module.idl +0 -8
  284. package/webxr-hand-input.idl +0 -66
  285. package/webxr-hit-test.idl +0 -69
  286. package/webxr-lighting-estimation.idl +0 -39
  287. package/webxr.idl +0 -295
  288. package/webxrlayers.idl +0 -212
  289. package/window-controls-overlay.idl +0 -28
  290. package/window-placement.idl +0 -42
  291. package/xhr.idl +0 -99
package/webrtc.idl DELETED
@@ -1,628 +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: WebRTC: Real-Time Communication in Browsers (https://w3c.github.io/webrtc-pc/)
5
-
6
- dictionary RTCConfiguration {
7
- sequence<RTCIceServer> iceServers = [];
8
- RTCIceTransportPolicy iceTransportPolicy = "all";
9
- RTCBundlePolicy bundlePolicy = "balanced";
10
- RTCRtcpMuxPolicy rtcpMuxPolicy = "require";
11
- sequence<RTCCertificate> certificates = [];
12
- [EnforceRange] octet iceCandidatePoolSize = 0;
13
- };
14
-
15
- dictionary RTCIceServer {
16
- required (DOMString or sequence<DOMString>) urls;
17
- DOMString username;
18
- DOMString credential;
19
- };
20
-
21
- enum RTCIceTransportPolicy {
22
- "relay",
23
- "all"
24
- };
25
-
26
- enum RTCBundlePolicy {
27
- "balanced",
28
- "max-compat",
29
- "max-bundle"
30
- };
31
-
32
- enum RTCRtcpMuxPolicy {
33
- "require"
34
- };
35
-
36
- dictionary RTCOfferAnswerOptions {};
37
-
38
- dictionary RTCOfferOptions : RTCOfferAnswerOptions {
39
- boolean iceRestart = false;
40
- };
41
-
42
- dictionary RTCAnswerOptions : RTCOfferAnswerOptions {};
43
-
44
- enum RTCSignalingState {
45
- "stable",
46
- "have-local-offer",
47
- "have-remote-offer",
48
- "have-local-pranswer",
49
- "have-remote-pranswer",
50
- "closed"
51
- };
52
-
53
- enum RTCIceGatheringState {
54
- "new",
55
- "gathering",
56
- "complete"
57
- };
58
-
59
- enum RTCPeerConnectionState {
60
- "closed",
61
- "failed",
62
- "disconnected",
63
- "new",
64
- "connecting",
65
- "connected"
66
- };
67
-
68
- enum RTCIceConnectionState {
69
- "closed",
70
- "failed",
71
- "disconnected",
72
- "new",
73
- "checking",
74
- "completed",
75
- "connected"
76
- };
77
-
78
- [Exposed=Window]
79
- interface RTCPeerConnection : EventTarget {
80
- constructor(optional RTCConfiguration configuration = {});
81
- Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions options = {});
82
- Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions options = {});
83
- Promise<undefined> setLocalDescription(optional RTCLocalSessionDescriptionInit description = {});
84
- readonly attribute RTCSessionDescription? localDescription;
85
- readonly attribute RTCSessionDescription? currentLocalDescription;
86
- readonly attribute RTCSessionDescription? pendingLocalDescription;
87
- Promise<undefined> setRemoteDescription(RTCSessionDescriptionInit description);
88
- readonly attribute RTCSessionDescription? remoteDescription;
89
- readonly attribute RTCSessionDescription? currentRemoteDescription;
90
- readonly attribute RTCSessionDescription? pendingRemoteDescription;
91
- Promise<undefined> addIceCandidate(optional RTCIceCandidateInit candidate = {});
92
- readonly attribute RTCSignalingState signalingState;
93
- readonly attribute RTCIceGatheringState iceGatheringState;
94
- readonly attribute RTCIceConnectionState iceConnectionState;
95
- readonly attribute RTCPeerConnectionState connectionState;
96
- readonly attribute boolean? canTrickleIceCandidates;
97
- undefined restartIce();
98
- RTCConfiguration getConfiguration();
99
- undefined setConfiguration(optional RTCConfiguration configuration = {});
100
- undefined close();
101
- attribute EventHandler onnegotiationneeded;
102
- attribute EventHandler onicecandidate;
103
- attribute EventHandler onicecandidateerror;
104
- attribute EventHandler onsignalingstatechange;
105
- attribute EventHandler oniceconnectionstatechange;
106
- attribute EventHandler onicegatheringstatechange;
107
- attribute EventHandler onconnectionstatechange;
108
-
109
- // Legacy Interface Extensions
110
- // Supporting the methods in this section is optional.
111
- // If these methods are supported
112
- // they must be implemented as defined
113
- // in section "Legacy Interface Extensions"
114
- Promise<undefined> createOffer(RTCSessionDescriptionCallback successCallback,
115
- RTCPeerConnectionErrorCallback failureCallback,
116
- optional RTCOfferOptions options = {});
117
- Promise<undefined> setLocalDescription(RTCLocalSessionDescriptionInit description,
118
- VoidFunction successCallback,
119
- RTCPeerConnectionErrorCallback failureCallback);
120
- Promise<undefined> createAnswer(RTCSessionDescriptionCallback successCallback,
121
- RTCPeerConnectionErrorCallback failureCallback);
122
- Promise<undefined> setRemoteDescription(RTCSessionDescriptionInit description,
123
- VoidFunction successCallback,
124
- RTCPeerConnectionErrorCallback failureCallback);
125
- Promise<undefined> addIceCandidate(RTCIceCandidateInit candidate,
126
- VoidFunction successCallback,
127
- RTCPeerConnectionErrorCallback failureCallback);
128
- };
129
-
130
- callback RTCPeerConnectionErrorCallback = undefined (DOMException error);
131
-
132
- callback RTCSessionDescriptionCallback = undefined (RTCSessionDescriptionInit description);
133
-
134
- partial dictionary RTCOfferOptions {
135
- boolean offerToReceiveAudio;
136
- boolean offerToReceiveVideo;
137
- };
138
-
139
- enum RTCSdpType {
140
- "offer",
141
- "pranswer",
142
- "answer",
143
- "rollback"
144
- };
145
-
146
- [Exposed=Window]
147
- interface RTCSessionDescription {
148
- constructor(RTCSessionDescriptionInit descriptionInitDict);
149
- readonly attribute RTCSdpType type;
150
- readonly attribute DOMString sdp;
151
- [Default] object toJSON();
152
- };
153
-
154
- dictionary RTCSessionDescriptionInit {
155
- required RTCSdpType type;
156
- DOMString sdp = "";
157
- };
158
-
159
- dictionary RTCLocalSessionDescriptionInit {
160
- RTCSdpType type;
161
- DOMString sdp = "";
162
- };
163
-
164
- [Exposed=Window]
165
- interface RTCIceCandidate {
166
- constructor(optional RTCIceCandidateInit candidateInitDict = {});
167
- readonly attribute DOMString candidate;
168
- readonly attribute DOMString? sdpMid;
169
- readonly attribute unsigned short? sdpMLineIndex;
170
- readonly attribute DOMString? foundation;
171
- readonly attribute RTCIceComponent? component;
172
- readonly attribute unsigned long? priority;
173
- readonly attribute DOMString? address;
174
- readonly attribute RTCIceProtocol? protocol;
175
- readonly attribute unsigned short? port;
176
- readonly attribute RTCIceCandidateType? type;
177
- readonly attribute RTCIceTcpCandidateType? tcpType;
178
- readonly attribute DOMString? relatedAddress;
179
- readonly attribute unsigned short? relatedPort;
180
- readonly attribute DOMString? usernameFragment;
181
- readonly attribute RTCIceServerTransportProtocol? relayProtocol;
182
- readonly attribute DOMString? url;
183
- RTCIceCandidateInit toJSON();
184
- };
185
-
186
- dictionary RTCIceCandidateInit {
187
- DOMString candidate = "";
188
- DOMString? sdpMid = null;
189
- unsigned short? sdpMLineIndex = null;
190
- DOMString? usernameFragment = null;
191
- };
192
-
193
- enum RTCIceProtocol {
194
- "udp",
195
- "tcp"
196
- };
197
-
198
- enum RTCIceTcpCandidateType {
199
- "active",
200
- "passive",
201
- "so"
202
- };
203
-
204
- enum RTCIceCandidateType {
205
- "host",
206
- "srflx",
207
- "prflx",
208
- "relay"
209
- };
210
-
211
- enum RTCIceServerTransportProtocol {
212
- "udp",
213
- "tcp",
214
- "tls",
215
- };
216
-
217
- [Exposed=Window]
218
- interface RTCPeerConnectionIceEvent : Event {
219
- constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict = {});
220
- readonly attribute RTCIceCandidate? candidate;
221
- readonly attribute DOMString? url;
222
- };
223
-
224
- dictionary RTCPeerConnectionIceEventInit : EventInit {
225
- RTCIceCandidate? candidate;
226
- DOMString? url;
227
- };
228
-
229
- [Exposed=Window]
230
- interface RTCPeerConnectionIceErrorEvent : Event {
231
- constructor(DOMString type, RTCPeerConnectionIceErrorEventInit eventInitDict);
232
- readonly attribute DOMString? address;
233
- readonly attribute unsigned short? port;
234
- readonly attribute DOMString url;
235
- readonly attribute unsigned short errorCode;
236
- readonly attribute USVString errorText;
237
- };
238
-
239
- dictionary RTCPeerConnectionIceErrorEventInit : EventInit {
240
- DOMString? address;
241
- unsigned short? port;
242
- DOMString url;
243
- required unsigned short errorCode;
244
- USVString errorText;
245
- };
246
-
247
- partial interface RTCPeerConnection {
248
- static Promise<RTCCertificate>
249
- generateCertificate(AlgorithmIdentifier keygenAlgorithm);
250
- };
251
-
252
- dictionary RTCCertificateExpiration {
253
- [EnforceRange] unsigned long long expires;
254
- };
255
-
256
- [Exposed=Window, Serializable]
257
- interface RTCCertificate {
258
- readonly attribute EpochTimeStamp expires;
259
- sequence<RTCDtlsFingerprint> getFingerprints();
260
- };
261
-
262
- partial interface RTCPeerConnection {
263
- sequence<RTCRtpSender> getSenders();
264
- sequence<RTCRtpReceiver> getReceivers();
265
- sequence<RTCRtpTransceiver> getTransceivers();
266
- RTCRtpSender addTrack(MediaStreamTrack track, MediaStream... streams);
267
- undefined removeTrack(RTCRtpSender sender);
268
- RTCRtpTransceiver addTransceiver((MediaStreamTrack or DOMString) trackOrKind,
269
- optional RTCRtpTransceiverInit init = {});
270
- attribute EventHandler ontrack;
271
- };
272
-
273
- dictionary RTCRtpTransceiverInit {
274
- RTCRtpTransceiverDirection direction = "sendrecv";
275
- sequence<MediaStream> streams = [];
276
- sequence<RTCRtpEncodingParameters> sendEncodings = [];
277
- };
278
-
279
- enum RTCRtpTransceiverDirection {
280
- "sendrecv",
281
- "sendonly",
282
- "recvonly",
283
- "inactive",
284
- "stopped"
285
- };
286
-
287
- [Exposed=Window]
288
- interface RTCRtpSender {
289
- readonly attribute MediaStreamTrack? track;
290
- readonly attribute RTCDtlsTransport? transport;
291
- static RTCRtpCapabilities? getCapabilities(DOMString kind);
292
- Promise<undefined> setParameters(RTCRtpSendParameters parameters);
293
- RTCRtpSendParameters getParameters();
294
- Promise<undefined> replaceTrack(MediaStreamTrack? withTrack);
295
- undefined setStreams(MediaStream... streams);
296
- Promise<RTCStatsReport> getStats();
297
- };
298
-
299
- dictionary RTCRtpParameters {
300
- required sequence<RTCRtpHeaderExtensionParameters> headerExtensions;
301
- required RTCRtcpParameters rtcp;
302
- required sequence<RTCRtpCodecParameters> codecs;
303
- };
304
-
305
- dictionary RTCRtpSendParameters : RTCRtpParameters {
306
- required DOMString transactionId;
307
- required sequence<RTCRtpEncodingParameters> encodings;
308
- };
309
-
310
- dictionary RTCRtpReceiveParameters : RTCRtpParameters {
311
- };
312
-
313
- dictionary RTCRtpCodingParameters {
314
- DOMString rid;
315
- };
316
-
317
- dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
318
- boolean active = true;
319
- unsigned long maxBitrate;
320
- double maxFramerate;
321
- double scaleResolutionDownBy;
322
- };
323
-
324
- dictionary RTCRtcpParameters {
325
- DOMString cname;
326
- boolean reducedSize;
327
- };
328
-
329
- dictionary RTCRtpHeaderExtensionParameters {
330
- required DOMString uri;
331
- required unsigned short id;
332
- boolean encrypted = false;
333
- };
334
-
335
- dictionary RTCRtpCodecParameters {
336
- required octet payloadType;
337
- required DOMString mimeType;
338
- required unsigned long clockRate;
339
- unsigned short channels;
340
- DOMString sdpFmtpLine;
341
- };
342
-
343
- dictionary RTCRtpCapabilities {
344
- required sequence<RTCRtpCodecCapability> codecs;
345
- required sequence<RTCRtpHeaderExtensionCapability> headerExtensions;
346
- };
347
-
348
- dictionary RTCRtpCodecCapability {
349
- required DOMString mimeType;
350
- required unsigned long clockRate;
351
- unsigned short channels;
352
- DOMString sdpFmtpLine;
353
- };
354
-
355
- dictionary RTCRtpHeaderExtensionCapability {
356
- DOMString uri;
357
- };
358
-
359
- [Exposed=Window]
360
- interface RTCRtpReceiver {
361
- readonly attribute MediaStreamTrack track;
362
- readonly attribute RTCDtlsTransport? transport;
363
- static RTCRtpCapabilities? getCapabilities(DOMString kind);
364
- RTCRtpReceiveParameters getParameters();
365
- sequence<RTCRtpContributingSource> getContributingSources();
366
- sequence<RTCRtpSynchronizationSource> getSynchronizationSources();
367
- Promise<RTCStatsReport> getStats();
368
- };
369
-
370
- dictionary RTCRtpContributingSource {
371
- required DOMHighResTimeStamp timestamp;
372
- required unsigned long source;
373
- double audioLevel;
374
- required unsigned long rtpTimestamp;
375
- };
376
-
377
- dictionary RTCRtpSynchronizationSource : RTCRtpContributingSource {};
378
-
379
- [Exposed=Window]
380
- interface RTCRtpTransceiver {
381
- readonly attribute DOMString? mid;
382
- [SameObject] readonly attribute RTCRtpSender sender;
383
- [SameObject] readonly attribute RTCRtpReceiver receiver;
384
- attribute RTCRtpTransceiverDirection direction;
385
- readonly attribute RTCRtpTransceiverDirection? currentDirection;
386
- undefined stop();
387
- undefined setCodecPreferences(sequence<RTCRtpCodecCapability> codecs);
388
- };
389
-
390
- [Exposed=Window]
391
- interface RTCDtlsTransport : EventTarget {
392
- [SameObject] readonly attribute RTCIceTransport iceTransport;
393
- readonly attribute RTCDtlsTransportState state;
394
- sequence<ArrayBuffer> getRemoteCertificates();
395
- attribute EventHandler onstatechange;
396
- attribute EventHandler onerror;
397
- };
398
-
399
- enum RTCDtlsTransportState {
400
- "new",
401
- "connecting",
402
- "connected",
403
- "closed",
404
- "failed"
405
- };
406
-
407
- dictionary RTCDtlsFingerprint {
408
- DOMString algorithm;
409
- DOMString value;
410
- };
411
-
412
- [Exposed=Window]
413
- interface RTCIceTransport : EventTarget {
414
- readonly attribute RTCIceRole role;
415
- readonly attribute RTCIceComponent component;
416
- readonly attribute RTCIceTransportState state;
417
- readonly attribute RTCIceGathererState gatheringState;
418
- sequence<RTCIceCandidate> getLocalCandidates();
419
- sequence<RTCIceCandidate> getRemoteCandidates();
420
- RTCIceCandidatePair? getSelectedCandidatePair();
421
- RTCIceParameters? getLocalParameters();
422
- RTCIceParameters? getRemoteParameters();
423
- attribute EventHandler onstatechange;
424
- attribute EventHandler ongatheringstatechange;
425
- attribute EventHandler onselectedcandidatepairchange;
426
- };
427
-
428
- dictionary RTCIceParameters {
429
- DOMString usernameFragment;
430
- DOMString password;
431
- };
432
-
433
- dictionary RTCIceCandidatePair {
434
- RTCIceCandidate local;
435
- RTCIceCandidate remote;
436
- };
437
-
438
- enum RTCIceGathererState {
439
- "new",
440
- "gathering",
441
- "complete"
442
- };
443
-
444
- enum RTCIceTransportState {
445
- "new",
446
- "checking",
447
- "connected",
448
- "completed",
449
- "disconnected",
450
- "failed",
451
- "closed"
452
- };
453
-
454
- enum RTCIceRole {
455
- "unknown",
456
- "controlling",
457
- "controlled"
458
- };
459
-
460
- enum RTCIceComponent {
461
- "rtp",
462
- "rtcp"
463
- };
464
-
465
- [Exposed=Window]
466
- interface RTCTrackEvent : Event {
467
- constructor(DOMString type, RTCTrackEventInit eventInitDict);
468
- readonly attribute RTCRtpReceiver receiver;
469
- readonly attribute MediaStreamTrack track;
470
- [SameObject] readonly attribute FrozenArray<MediaStream> streams;
471
- readonly attribute RTCRtpTransceiver transceiver;
472
- };
473
-
474
- dictionary RTCTrackEventInit : EventInit {
475
- required RTCRtpReceiver receiver;
476
- required MediaStreamTrack track;
477
- sequence<MediaStream> streams = [];
478
- required RTCRtpTransceiver transceiver;
479
- };
480
-
481
- partial interface RTCPeerConnection {
482
- readonly attribute RTCSctpTransport? sctp;
483
- RTCDataChannel createDataChannel(USVString label,
484
- optional RTCDataChannelInit dataChannelDict = {});
485
- attribute EventHandler ondatachannel;
486
- };
487
-
488
- [Exposed=Window]
489
- interface RTCSctpTransport : EventTarget {
490
- readonly attribute RTCDtlsTransport transport;
491
- readonly attribute RTCSctpTransportState state;
492
- readonly attribute unrestricted double maxMessageSize;
493
- readonly attribute unsigned short? maxChannels;
494
- attribute EventHandler onstatechange;
495
- };
496
-
497
- enum RTCSctpTransportState {
498
- "connecting",
499
- "connected",
500
- "closed"
501
- };
502
-
503
- [Exposed=Window]
504
- interface RTCDataChannel : EventTarget {
505
- readonly attribute USVString label;
506
- readonly attribute boolean ordered;
507
- readonly attribute unsigned short? maxPacketLifeTime;
508
- readonly attribute unsigned short? maxRetransmits;
509
- readonly attribute USVString protocol;
510
- readonly attribute boolean negotiated;
511
- readonly attribute unsigned short? id;
512
- readonly attribute RTCDataChannelState readyState;
513
- readonly attribute unsigned long bufferedAmount;
514
- [EnforceRange] attribute unsigned long bufferedAmountLowThreshold;
515
- attribute EventHandler onopen;
516
- attribute EventHandler onbufferedamountlow;
517
- attribute EventHandler onerror;
518
- attribute EventHandler onclosing;
519
- attribute EventHandler onclose;
520
- undefined close();
521
- attribute EventHandler onmessage;
522
- attribute BinaryType binaryType;
523
- undefined send(USVString data);
524
- undefined send(Blob data);
525
- undefined send(ArrayBuffer data);
526
- undefined send(ArrayBufferView data);
527
- };
528
-
529
- dictionary RTCDataChannelInit {
530
- boolean ordered = true;
531
- [EnforceRange] unsigned short maxPacketLifeTime;
532
- [EnforceRange] unsigned short maxRetransmits;
533
- USVString protocol = "";
534
- boolean negotiated = false;
535
- [EnforceRange] unsigned short id;
536
- };
537
-
538
- enum RTCDataChannelState {
539
- "connecting",
540
- "open",
541
- "closing",
542
- "closed"
543
- };
544
-
545
- [Exposed=Window]
546
- interface RTCDataChannelEvent : Event {
547
- constructor(DOMString type, RTCDataChannelEventInit eventInitDict);
548
- readonly attribute RTCDataChannel channel;
549
- };
550
-
551
- dictionary RTCDataChannelEventInit : EventInit {
552
- required RTCDataChannel channel;
553
- };
554
-
555
- partial interface RTCRtpSender {
556
- readonly attribute RTCDTMFSender? dtmf;
557
- };
558
-
559
- [Exposed=Window]
560
- interface RTCDTMFSender : EventTarget {
561
- undefined insertDTMF(DOMString tones, optional unsigned long duration = 100, optional unsigned long interToneGap = 70);
562
- attribute EventHandler ontonechange;
563
- readonly attribute boolean canInsertDTMF;
564
- readonly attribute DOMString toneBuffer;
565
- };
566
-
567
- [Exposed=Window]
568
- interface RTCDTMFToneChangeEvent : Event {
569
- constructor(DOMString type, optional RTCDTMFToneChangeEventInit eventInitDict = {});
570
- readonly attribute DOMString tone;
571
- };
572
-
573
- dictionary RTCDTMFToneChangeEventInit : EventInit {
574
- DOMString tone = "";
575
- };
576
-
577
- partial interface RTCPeerConnection {
578
- Promise<RTCStatsReport> getStats(optional MediaStreamTrack? selector = null);
579
- };
580
-
581
- [Exposed=Window]
582
- interface RTCStatsReport {
583
- readonly maplike<DOMString, object>;
584
- };
585
-
586
- dictionary RTCStats {
587
- required DOMHighResTimeStamp timestamp;
588
- required RTCStatsType type;
589
- required DOMString id;
590
- };
591
-
592
- [Exposed=Window]
593
- interface RTCError : DOMException {
594
- constructor(RTCErrorInit init, optional DOMString message = "");
595
- readonly attribute RTCErrorDetailType errorDetail;
596
- readonly attribute long? sdpLineNumber;
597
- readonly attribute long? sctpCauseCode;
598
- readonly attribute unsigned long? receivedAlert;
599
- readonly attribute unsigned long? sentAlert;
600
- };
601
-
602
- dictionary RTCErrorInit {
603
- required RTCErrorDetailType errorDetail;
604
- long sdpLineNumber;
605
- long sctpCauseCode;
606
- unsigned long receivedAlert;
607
- unsigned long sentAlert;
608
- };
609
-
610
- enum RTCErrorDetailType {
611
- "data-channel-failure",
612
- "dtls-failure",
613
- "fingerprint-failure",
614
- "sctp-failure",
615
- "sdp-syntax-error",
616
- "hardware-encoder-not-available",
617
- "hardware-encoder-error"
618
- };
619
-
620
- [Exposed=Window]
621
- interface RTCErrorEvent : Event {
622
- constructor(DOMString type, RTCErrorEventInit eventInitDict);
623
- [SameObject] readonly attribute RTCError error;
624
- };
625
-
626
- dictionary RTCErrorEventInit : EventInit {
627
- required RTCError error;
628
- };
package/websockets.idl DELETED
@@ -1,48 +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: WebSockets Standard (https://websockets.spec.whatwg.org/)
5
-
6
- enum BinaryType { "blob", "arraybuffer" };
7
-
8
- [Exposed=(Window,Worker)]
9
- interface WebSocket : EventTarget {
10
- constructor(USVString url, optional (DOMString or sequence<DOMString>) protocols = []);
11
- readonly attribute USVString url;
12
-
13
- // ready state
14
- const unsigned short CONNECTING = 0;
15
- const unsigned short OPEN = 1;
16
- const unsigned short CLOSING = 2;
17
- const unsigned short CLOSED = 3;
18
- readonly attribute unsigned short readyState;
19
- readonly attribute unsigned long long bufferedAmount;
20
-
21
- // networking
22
- attribute EventHandler onopen;
23
- attribute EventHandler onerror;
24
- attribute EventHandler onclose;
25
- readonly attribute DOMString extensions;
26
- readonly attribute DOMString protocol;
27
- undefined close(optional [Clamp] unsigned short code, optional USVString reason);
28
-
29
- // messaging
30
- attribute EventHandler onmessage;
31
- attribute BinaryType binaryType;
32
- undefined send((BufferSource or Blob or USVString) data);
33
- };
34
-
35
- [Exposed=(Window,Worker)]
36
- interface CloseEvent : Event {
37
- constructor(DOMString type, optional CloseEventInit eventInitDict = {});
38
-
39
- readonly attribute boolean wasClean;
40
- readonly attribute unsigned short code;
41
- readonly attribute USVString reason;
42
- };
43
-
44
- dictionary CloseEventInit : EventInit {
45
- boolean wasClean = false;
46
- unsigned short code = 0;
47
- USVString reason = "";
48
- };