@webref/idl 3.29.0 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ANGLE_instanced_arrays.idl +12 -0
- package/CSP.idl +56 -0
- package/DOM-Parsing.idl +26 -0
- package/EXT_blend_minmax.idl +10 -0
- package/EXT_color_buffer_float.idl +8 -0
- package/EXT_color_buffer_half_float.idl +12 -0
- package/EXT_disjoint_timer_query.idl +30 -0
- package/EXT_disjoint_timer_query_webgl2.idl +14 -0
- package/EXT_float_blend.idl +8 -0
- package/EXT_frag_depth.idl +8 -0
- package/EXT_sRGB.idl +12 -0
- package/EXT_shader_texture_lod.idl +8 -0
- package/EXT_texture_compression_bptc.idl +12 -0
- package/EXT_texture_compression_rgtc.idl +12 -0
- package/EXT_texture_filter_anisotropic.idl +10 -0
- package/EXT_texture_norm16.idl +16 -0
- package/FedCM.idl +67 -0
- package/FileAPI.idl +100 -0
- package/IndexedDB.idl +226 -0
- package/KHR_parallel_shader_compile.idl +9 -0
- package/OES_draw_buffers_indexed.idl +26 -0
- package/OES_element_index_uint.idl +8 -0
- package/OES_fbo_render_mipmap.idl +8 -0
- package/OES_standard_derivatives.idl +9 -0
- package/OES_texture_float.idl +7 -0
- package/OES_texture_float_linear.idl +7 -0
- package/OES_texture_half_float.idl +9 -0
- package/OES_texture_half_float_linear.idl +7 -0
- package/OES_vertex_array_object.idl +18 -0
- package/OVR_multiview2.idl +14 -0
- package/SVG.idl +693 -0
- package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
- package/WEBGL_clip_cull_distance.idl +20 -0
- package/WEBGL_color_buffer_float.idl +11 -0
- package/WEBGL_compressed_texture_astc.idl +41 -0
- package/WEBGL_compressed_texture_etc.idl +19 -0
- package/WEBGL_compressed_texture_etc1.idl +10 -0
- package/WEBGL_compressed_texture_pvrtc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
- package/WEBGL_debug_renderer_info.idl +12 -0
- package/WEBGL_debug_shaders.idl +11 -0
- package/WEBGL_depth_texture.idl +9 -0
- package/WEBGL_draw_buffers.idl +46 -0
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
- package/WEBGL_lose_context.idl +10 -0
- package/WEBGL_multi_draw.idl +32 -0
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
- package/WEBGL_provoking_vertex.idl +13 -0
- package/WebCryptoAPI.idl +237 -0
- package/accelerometer.idl +40 -0
- package/ambient-light.idl +14 -0
- package/anchors.idl +37 -0
- package/attribution-reporting-api.idl +12 -0
- package/audio-output.idl +17 -0
- package/autoplay-detection.idl +19 -0
- package/background-fetch.idl +89 -0
- package/background-sync.idl +30 -0
- package/badging.idl +15 -0
- package/battery-status.idl +21 -0
- package/beacon.idl +8 -0
- package/capture-handle-identity.idl +27 -0
- package/clipboard-apis.idl +51 -0
- package/close-watcher.idl +19 -0
- package/compat.idl +13 -0
- package/compression.idl +22 -0
- package/compute-pressure.idl +37 -0
- package/console.idl +34 -0
- package/contact-picker.idl +44 -0
- package/content-index.idl +46 -0
- package/cookie-store.idl +110 -0
- package/crash-reporting.idl +10 -0
- package/credential-management.idl +105 -0
- package/csp-embedded-enforcement.idl +8 -0
- package/csp-next.idl +21 -0
- package/css-animation-worklet.idl +37 -0
- package/css-animations-2.idl +9 -0
- package/css-animations.idl +47 -0
- package/css-cascade-6.idl +10 -0
- package/css-cascade.idl +18 -0
- package/css-color-5.idl +12 -0
- package/css-conditional.idl +27 -0
- package/css-contain-3.idl +10 -0
- package/css-contain.idl +13 -0
- package/css-counter-styles.idl +23 -0
- package/css-font-loading.idl +134 -0
- package/css-fonts.idl +36 -0
- package/css-highlight-api.idl +27 -0
- package/css-images-4.idl +8 -0
- package/css-layout-api.idl +144 -0
- package/css-masking.idl +20 -0
- package/css-nav.idl +48 -0
- package/css-nesting.idl +10 -0
- package/css-paint-api.idl +39 -0
- package/css-parser-api.idl +76 -0
- package/css-properties-values-api.idl +23 -0
- package/css-pseudo.idl +16 -0
- package/css-regions.idl +29 -0
- package/css-shadow-parts.idl +8 -0
- package/css-transitions-2.idl +9 -0
- package/css-transitions.idl +25 -0
- package/css-typed-om.idl +423 -0
- package/css-view-transitions.idl +18 -0
- package/cssom-view.idl +200 -0
- package/cssom.idl +159 -0
- package/custom-state-pseudo-class.idl +14 -0
- package/datacue.idl +12 -0
- package/deprecation-reporting.idl +15 -0
- package/device-memory.idl +14 -0
- package/device-posture.idl +21 -0
- package/digital-goods.idl +44 -0
- package/dom.idl +609 -0
- package/edit-context.idl +111 -0
- package/element-timing.idl +22 -0
- package/encoding.idl +59 -0
- package/encrypted-media.idl +125 -0
- package/entries-api.idl +71 -0
- package/event-timing.idl +29 -0
- package/eyedropper-api.idl +18 -0
- package/fenced-frame.idl +49 -0
- package/fetch.idl +117 -0
- package/fido.idl +47 -0
- package/file-system-access.idl +72 -0
- package/filter-effects.idl +341 -0
- package/font-metrics-api.idl +42 -0
- package/fs.idl +93 -0
- package/fullscreen.idl +35 -0
- package/gamepad-extensions.idl +71 -0
- package/gamepad.idl +49 -0
- package/generic-sensor.idl +60 -0
- package/geolocation-sensor.idl +47 -0
- package/geolocation.idl +65 -0
- package/geometry.idl +290 -0
- package/get-installed-related-apps.idl +16 -0
- package/gpc-spec.idl +10 -0
- package/gyroscope.idl +24 -0
- package/hr-time.idl +19 -0
- package/html-media-capture.idl +8 -0
- package/html.idl +2717 -0
- package/idle-detection.idl +31 -0
- package/image-capture.idl +160 -0
- package/image-resource.idl +11 -0
- package/ink-enhancement.idl +32 -0
- package/input-device-capabilities.idl +24 -0
- package/input-events.idl +14 -0
- package/intersection-observer.idl +46 -0
- package/intervention-reporting.idl +14 -0
- package/is-input-pending.idl +16 -0
- package/js-self-profiling.idl +44 -0
- package/keyboard-lock.idl +14 -0
- package/keyboard-map.idl +15 -0
- package/largest-contentful-paint.idl +15 -0
- package/layout-instability.idl +20 -0
- package/local-font-access.idl +24 -0
- package/longtasks.idl +19 -0
- package/magnetometer.idl +46 -0
- package/manifest-incubations.idl +24 -0
- package/mathml-core.idl +9 -0
- package/media-capabilities.idl +115 -0
- package/media-playback-quality.idl +18 -0
- package/media-source.idl +91 -0
- package/mediacapture-automation.idl +36 -0
- package/mediacapture-fromelement.idl +17 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-region.idl +15 -0
- package/mediacapture-streams.idl +248 -0
- package/mediacapture-transform.idl +23 -0
- package/mediacapture-viewport.idl +14 -0
- package/mediasession.idl +84 -0
- package/mediastream-recording.idl +60 -0
- package/model-element.idl +9 -0
- package/mst-content-hint.idl +18 -0
- package/navigation-timing.idl +71 -0
- package/netinfo.idl +43 -0
- package/notifications.idl +100 -0
- package/orientation-event.idl +76 -0
- package/orientation-sensor.idl +35 -0
- package/package.json +1 -1
- package/page-lifecycle.idl +19 -0
- package/paint-timing.idl +7 -0
- package/payment-handler.idl +131 -0
- package/payment-request.idl +112 -0
- package/performance-measure-memory.idl +30 -0
- package/performance-timeline.idl +49 -0
- package/periodic-background-sync.idl +34 -0
- package/permissions-policy.idl +28 -0
- package/permissions-request.idl +8 -0
- package/permissions-revoke.idl +8 -0
- package/permissions.idl +41 -0
- package/picture-in-picture.idl +41 -0
- package/pointerevents.idl +64 -0
- package/pointerlock.idl +28 -0
- package/portals.idl +50 -0
- package/prefer-current-tab.idl +8 -0
- package/prerendering-revamped.idl +15 -0
- package/presentation-api.idl +95 -0
- package/private-click-measurement.idl +8 -0
- package/proximity.idl +18 -0
- package/push-api.idl +93 -0
- package/raw-camera-access.idl +18 -0
- package/referrer-policy.idl +16 -0
- package/remote-playback.idl +32 -0
- package/reporting.idl +39 -0
- package/requestStorageAccessFor.idl +12 -0
- package/requestidlecallback.idl +20 -0
- package/resize-observer.idl +37 -0
- package/resource-timing.idl +40 -0
- package/sanitizer-api.idl +38 -0
- package/savedata.idl +10 -0
- package/scheduling-apis.idl +11 -0
- package/screen-capture.idl +85 -0
- package/screen-orientation.idl +35 -0
- package/screen-wake-lock.idl +24 -0
- package/scroll-animations.idl +41 -0
- package/scroll-to-text-fragment.idl +12 -0
- package/secure-payment-confirmation.idl +48 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +220 -0
- package/shape-detection-api.idl +69 -0
- package/speech-api.idl +202 -0
- package/storage-access.idl +9 -0
- package/storage.idl +25 -0
- package/streams.idl +222 -0
- package/svg-animations.idl +68 -0
- package/testutils.idl +9 -0
- package/text-detection-api.idl +18 -0
- package/touch-events.idl +79 -0
- package/trust-token-api.idl +29 -0
- package/trusted-types.idl +71 -0
- package/turtledove.idl +58 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +46 -0
- package/urlpattern.idl +59 -0
- package/user-timing.idl +34 -0
- package/vibration.idl +10 -0
- package/video-rvfc.idl +27 -0
- package/virtual-keyboard.idl +21 -0
- package/wai-aria.idl +59 -0
- package/wasm-js-api.idl +104 -0
- package/wasm-web-api.idl +11 -0
- package/web-animations-2.idl +102 -0
- package/web-animations.idl +149 -0
- package/web-app-launch.idl +19 -0
- package/web-bluetooth.idl +252 -0
- package/web-locks.idl +50 -0
- package/web-nfc.idl +81 -0
- package/web-otp.idl +21 -0
- package/web-share.idl +16 -0
- package/webaudio.idl +674 -0
- package/webauthn.idl +313 -0
- package/webcodecs-aac-codec-registration.idl +17 -0
- package/webcodecs-avc-codec-registration.idl +17 -0
- package/webcodecs-flac-codec-registration.idl +13 -0
- package/webcodecs-hevc-codec-registration.idl +17 -0
- package/webcodecs-opus-codec-registration.idl +22 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +500 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webdriver.idl +9 -0
- package/webgl1.idl +745 -0
- package/webgl2.idl +582 -0
- package/webgpu.idl +1245 -0
- package/webhid.idl +127 -0
- package/webidl.idl +48 -0
- package/webmidi.idl +91 -0
- package/webnn.idl +549 -0
- package/webrtc-encoded-transform.idl +127 -0
- package/webrtc-ice.idl +24 -0
- package/webrtc-identity.idl +97 -0
- package/webrtc-priority.idl +24 -0
- package/webrtc-stats.idl +288 -0
- package/webrtc-svc.idl +8 -0
- package/webrtc.idl +627 -0
- package/websockets.idl +48 -0
- package/webtransport.idl +143 -0
- package/webusb.idl +249 -0
- package/webvtt.idl +40 -0
- package/webxr-ar-module.idl +29 -0
- package/webxr-depth-sensing.idl +57 -0
- package/webxr-dom-overlays.idl +31 -0
- package/webxr-gamepads-module.idl +8 -0
- package/webxr-hand-input.idl +66 -0
- package/webxr-hit-test.idl +69 -0
- package/webxr-lighting-estimation.idl +39 -0
- package/webxr.idl +295 -0
- package/webxrlayers.idl +212 -0
- package/window-controls-overlay.idl +28 -0
- package/window-placement.idl +42 -0
- package/xhr.idl +99 -0
package/webrtc.idl
ADDED
|
@@ -0,0 +1,627 @@
|
|
|
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 RTCRtpCodec {
|
|
336
|
+
required DOMString mimeType;
|
|
337
|
+
required unsigned long clockRate;
|
|
338
|
+
unsigned short channels;
|
|
339
|
+
DOMString sdpFmtpLine;
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
dictionary RTCRtpCodecParameters : RTCRtpCodec {
|
|
343
|
+
required octet payloadType;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
dictionary RTCRtpCapabilities {
|
|
347
|
+
required sequence<RTCRtpCodecCapability> codecs;
|
|
348
|
+
required sequence<RTCRtpHeaderExtensionCapability> headerExtensions;
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
dictionary RTCRtpCodecCapability : RTCRtpCodec {
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
dictionary RTCRtpHeaderExtensionCapability {
|
|
355
|
+
required DOMString uri;
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
[Exposed=Window]
|
|
359
|
+
interface RTCRtpReceiver {
|
|
360
|
+
readonly attribute MediaStreamTrack track;
|
|
361
|
+
readonly attribute RTCDtlsTransport? transport;
|
|
362
|
+
static RTCRtpCapabilities? getCapabilities(DOMString kind);
|
|
363
|
+
RTCRtpReceiveParameters getParameters();
|
|
364
|
+
sequence<RTCRtpContributingSource> getContributingSources();
|
|
365
|
+
sequence<RTCRtpSynchronizationSource> getSynchronizationSources();
|
|
366
|
+
Promise<RTCStatsReport> getStats();
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
dictionary RTCRtpContributingSource {
|
|
370
|
+
required DOMHighResTimeStamp timestamp;
|
|
371
|
+
required unsigned long source;
|
|
372
|
+
double audioLevel;
|
|
373
|
+
required unsigned long rtpTimestamp;
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
dictionary RTCRtpSynchronizationSource : RTCRtpContributingSource {};
|
|
377
|
+
|
|
378
|
+
[Exposed=Window]
|
|
379
|
+
interface RTCRtpTransceiver {
|
|
380
|
+
readonly attribute DOMString? mid;
|
|
381
|
+
[SameObject] readonly attribute RTCRtpSender sender;
|
|
382
|
+
[SameObject] readonly attribute RTCRtpReceiver receiver;
|
|
383
|
+
attribute RTCRtpTransceiverDirection direction;
|
|
384
|
+
readonly attribute RTCRtpTransceiverDirection? currentDirection;
|
|
385
|
+
undefined stop();
|
|
386
|
+
undefined setCodecPreferences(sequence<RTCRtpCodecCapability> codecs);
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
[Exposed=Window]
|
|
390
|
+
interface RTCDtlsTransport : EventTarget {
|
|
391
|
+
[SameObject] readonly attribute RTCIceTransport iceTransport;
|
|
392
|
+
readonly attribute RTCDtlsTransportState state;
|
|
393
|
+
sequence<ArrayBuffer> getRemoteCertificates();
|
|
394
|
+
attribute EventHandler onstatechange;
|
|
395
|
+
attribute EventHandler onerror;
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
enum RTCDtlsTransportState {
|
|
399
|
+
"new",
|
|
400
|
+
"connecting",
|
|
401
|
+
"connected",
|
|
402
|
+
"closed",
|
|
403
|
+
"failed"
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
dictionary RTCDtlsFingerprint {
|
|
407
|
+
DOMString algorithm;
|
|
408
|
+
DOMString value;
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
[Exposed=Window]
|
|
412
|
+
interface RTCIceTransport : EventTarget {
|
|
413
|
+
readonly attribute RTCIceRole role;
|
|
414
|
+
readonly attribute RTCIceComponent component;
|
|
415
|
+
readonly attribute RTCIceTransportState state;
|
|
416
|
+
readonly attribute RTCIceGathererState gatheringState;
|
|
417
|
+
sequence<RTCIceCandidate> getLocalCandidates();
|
|
418
|
+
sequence<RTCIceCandidate> getRemoteCandidates();
|
|
419
|
+
RTCIceCandidatePair? getSelectedCandidatePair();
|
|
420
|
+
RTCIceParameters? getLocalParameters();
|
|
421
|
+
RTCIceParameters? getRemoteParameters();
|
|
422
|
+
attribute EventHandler onstatechange;
|
|
423
|
+
attribute EventHandler ongatheringstatechange;
|
|
424
|
+
attribute EventHandler onselectedcandidatepairchange;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
dictionary RTCIceParameters {
|
|
428
|
+
DOMString usernameFragment;
|
|
429
|
+
DOMString password;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
dictionary RTCIceCandidatePair {
|
|
433
|
+
RTCIceCandidate local;
|
|
434
|
+
RTCIceCandidate remote;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
enum RTCIceGathererState {
|
|
438
|
+
"new",
|
|
439
|
+
"gathering",
|
|
440
|
+
"complete"
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
enum RTCIceTransportState {
|
|
444
|
+
"new",
|
|
445
|
+
"checking",
|
|
446
|
+
"connected",
|
|
447
|
+
"completed",
|
|
448
|
+
"disconnected",
|
|
449
|
+
"failed",
|
|
450
|
+
"closed"
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
enum RTCIceRole {
|
|
454
|
+
"unknown",
|
|
455
|
+
"controlling",
|
|
456
|
+
"controlled"
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
enum RTCIceComponent {
|
|
460
|
+
"rtp",
|
|
461
|
+
"rtcp"
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
[Exposed=Window]
|
|
465
|
+
interface RTCTrackEvent : Event {
|
|
466
|
+
constructor(DOMString type, RTCTrackEventInit eventInitDict);
|
|
467
|
+
readonly attribute RTCRtpReceiver receiver;
|
|
468
|
+
readonly attribute MediaStreamTrack track;
|
|
469
|
+
[SameObject] readonly attribute FrozenArray<MediaStream> streams;
|
|
470
|
+
readonly attribute RTCRtpTransceiver transceiver;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
dictionary RTCTrackEventInit : EventInit {
|
|
474
|
+
required RTCRtpReceiver receiver;
|
|
475
|
+
required MediaStreamTrack track;
|
|
476
|
+
sequence<MediaStream> streams = [];
|
|
477
|
+
required RTCRtpTransceiver transceiver;
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
partial interface RTCPeerConnection {
|
|
481
|
+
readonly attribute RTCSctpTransport? sctp;
|
|
482
|
+
RTCDataChannel createDataChannel(USVString label,
|
|
483
|
+
optional RTCDataChannelInit dataChannelDict = {});
|
|
484
|
+
attribute EventHandler ondatachannel;
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
[Exposed=Window]
|
|
488
|
+
interface RTCSctpTransport : EventTarget {
|
|
489
|
+
readonly attribute RTCDtlsTransport transport;
|
|
490
|
+
readonly attribute RTCSctpTransportState state;
|
|
491
|
+
readonly attribute unrestricted double maxMessageSize;
|
|
492
|
+
readonly attribute unsigned short? maxChannels;
|
|
493
|
+
attribute EventHandler onstatechange;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
enum RTCSctpTransportState {
|
|
497
|
+
"connecting",
|
|
498
|
+
"connected",
|
|
499
|
+
"closed"
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
[Exposed=Window]
|
|
503
|
+
interface RTCDataChannel : EventTarget {
|
|
504
|
+
readonly attribute USVString label;
|
|
505
|
+
readonly attribute boolean ordered;
|
|
506
|
+
readonly attribute unsigned short? maxPacketLifeTime;
|
|
507
|
+
readonly attribute unsigned short? maxRetransmits;
|
|
508
|
+
readonly attribute USVString protocol;
|
|
509
|
+
readonly attribute boolean negotiated;
|
|
510
|
+
readonly attribute unsigned short? id;
|
|
511
|
+
readonly attribute RTCDataChannelState readyState;
|
|
512
|
+
readonly attribute unsigned long bufferedAmount;
|
|
513
|
+
[EnforceRange] attribute unsigned long bufferedAmountLowThreshold;
|
|
514
|
+
attribute EventHandler onopen;
|
|
515
|
+
attribute EventHandler onbufferedamountlow;
|
|
516
|
+
attribute EventHandler onerror;
|
|
517
|
+
attribute EventHandler onclosing;
|
|
518
|
+
attribute EventHandler onclose;
|
|
519
|
+
undefined close();
|
|
520
|
+
attribute EventHandler onmessage;
|
|
521
|
+
attribute BinaryType binaryType;
|
|
522
|
+
undefined send(USVString data);
|
|
523
|
+
undefined send(Blob data);
|
|
524
|
+
undefined send(ArrayBuffer data);
|
|
525
|
+
undefined send(ArrayBufferView data);
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
dictionary RTCDataChannelInit {
|
|
529
|
+
boolean ordered = true;
|
|
530
|
+
[EnforceRange] unsigned short maxPacketLifeTime;
|
|
531
|
+
[EnforceRange] unsigned short maxRetransmits;
|
|
532
|
+
USVString protocol = "";
|
|
533
|
+
boolean negotiated = false;
|
|
534
|
+
[EnforceRange] unsigned short id;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
enum RTCDataChannelState {
|
|
538
|
+
"connecting",
|
|
539
|
+
"open",
|
|
540
|
+
"closing",
|
|
541
|
+
"closed"
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
[Exposed=Window]
|
|
545
|
+
interface RTCDataChannelEvent : Event {
|
|
546
|
+
constructor(DOMString type, RTCDataChannelEventInit eventInitDict);
|
|
547
|
+
readonly attribute RTCDataChannel channel;
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
dictionary RTCDataChannelEventInit : EventInit {
|
|
551
|
+
required RTCDataChannel channel;
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
partial interface RTCRtpSender {
|
|
555
|
+
readonly attribute RTCDTMFSender? dtmf;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
[Exposed=Window]
|
|
559
|
+
interface RTCDTMFSender : EventTarget {
|
|
560
|
+
undefined insertDTMF(DOMString tones, optional unsigned long duration = 100, optional unsigned long interToneGap = 70);
|
|
561
|
+
attribute EventHandler ontonechange;
|
|
562
|
+
readonly attribute boolean canInsertDTMF;
|
|
563
|
+
readonly attribute DOMString toneBuffer;
|
|
564
|
+
};
|
|
565
|
+
|
|
566
|
+
[Exposed=Window]
|
|
567
|
+
interface RTCDTMFToneChangeEvent : Event {
|
|
568
|
+
constructor(DOMString type, optional RTCDTMFToneChangeEventInit eventInitDict = {});
|
|
569
|
+
readonly attribute DOMString tone;
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
dictionary RTCDTMFToneChangeEventInit : EventInit {
|
|
573
|
+
DOMString tone = "";
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
partial interface RTCPeerConnection {
|
|
577
|
+
Promise<RTCStatsReport> getStats(optional MediaStreamTrack? selector = null);
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
[Exposed=Window]
|
|
581
|
+
interface RTCStatsReport {
|
|
582
|
+
readonly maplike<DOMString, object>;
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
dictionary RTCStats {
|
|
586
|
+
required DOMHighResTimeStamp timestamp;
|
|
587
|
+
required RTCStatsType type;
|
|
588
|
+
required DOMString id;
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
[Exposed=Window]
|
|
592
|
+
interface RTCError : DOMException {
|
|
593
|
+
constructor(RTCErrorInit init, optional DOMString message = "");
|
|
594
|
+
readonly attribute RTCErrorDetailType errorDetail;
|
|
595
|
+
readonly attribute long? sdpLineNumber;
|
|
596
|
+
readonly attribute long? sctpCauseCode;
|
|
597
|
+
readonly attribute unsigned long? receivedAlert;
|
|
598
|
+
readonly attribute unsigned long? sentAlert;
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
dictionary RTCErrorInit {
|
|
602
|
+
required RTCErrorDetailType errorDetail;
|
|
603
|
+
long sdpLineNumber;
|
|
604
|
+
long sctpCauseCode;
|
|
605
|
+
unsigned long receivedAlert;
|
|
606
|
+
unsigned long sentAlert;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
enum RTCErrorDetailType {
|
|
610
|
+
"data-channel-failure",
|
|
611
|
+
"dtls-failure",
|
|
612
|
+
"fingerprint-failure",
|
|
613
|
+
"sctp-failure",
|
|
614
|
+
"sdp-syntax-error",
|
|
615
|
+
"hardware-encoder-not-available",
|
|
616
|
+
"hardware-encoder-error"
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
[Exposed=Window]
|
|
620
|
+
interface RTCErrorEvent : Event {
|
|
621
|
+
constructor(DOMString type, RTCErrorEventInit eventInitDict);
|
|
622
|
+
[SameObject] readonly attribute RTCError error;
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
dictionary RTCErrorEventInit : EventInit {
|
|
626
|
+
required RTCError error;
|
|
627
|
+
};
|
package/websockets.idl
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
};
|