@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.
Files changed (292) hide show
  1. package/ANGLE_instanced_arrays.idl +12 -0
  2. package/CSP.idl +56 -0
  3. package/DOM-Parsing.idl +26 -0
  4. package/EXT_blend_minmax.idl +10 -0
  5. package/EXT_color_buffer_float.idl +8 -0
  6. package/EXT_color_buffer_half_float.idl +12 -0
  7. package/EXT_disjoint_timer_query.idl +30 -0
  8. package/EXT_disjoint_timer_query_webgl2.idl +14 -0
  9. package/EXT_float_blend.idl +8 -0
  10. package/EXT_frag_depth.idl +8 -0
  11. package/EXT_sRGB.idl +12 -0
  12. package/EXT_shader_texture_lod.idl +8 -0
  13. package/EXT_texture_compression_bptc.idl +12 -0
  14. package/EXT_texture_compression_rgtc.idl +12 -0
  15. package/EXT_texture_filter_anisotropic.idl +10 -0
  16. package/EXT_texture_norm16.idl +16 -0
  17. package/FedCM.idl +67 -0
  18. package/FileAPI.idl +100 -0
  19. package/IndexedDB.idl +226 -0
  20. package/KHR_parallel_shader_compile.idl +9 -0
  21. package/OES_draw_buffers_indexed.idl +26 -0
  22. package/OES_element_index_uint.idl +8 -0
  23. package/OES_fbo_render_mipmap.idl +8 -0
  24. package/OES_standard_derivatives.idl +9 -0
  25. package/OES_texture_float.idl +7 -0
  26. package/OES_texture_float_linear.idl +7 -0
  27. package/OES_texture_half_float.idl +9 -0
  28. package/OES_texture_half_float_linear.idl +7 -0
  29. package/OES_vertex_array_object.idl +18 -0
  30. package/OVR_multiview2.idl +14 -0
  31. package/SVG.idl +693 -0
  32. package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
  33. package/WEBGL_clip_cull_distance.idl +20 -0
  34. package/WEBGL_color_buffer_float.idl +11 -0
  35. package/WEBGL_compressed_texture_astc.idl +41 -0
  36. package/WEBGL_compressed_texture_etc.idl +19 -0
  37. package/WEBGL_compressed_texture_etc1.idl +10 -0
  38. package/WEBGL_compressed_texture_pvrtc.idl +13 -0
  39. package/WEBGL_compressed_texture_s3tc.idl +13 -0
  40. package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
  41. package/WEBGL_debug_renderer_info.idl +12 -0
  42. package/WEBGL_debug_shaders.idl +11 -0
  43. package/WEBGL_depth_texture.idl +9 -0
  44. package/WEBGL_draw_buffers.idl +46 -0
  45. package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
  46. package/WEBGL_lose_context.idl +10 -0
  47. package/WEBGL_multi_draw.idl +32 -0
  48. package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
  49. package/WEBGL_provoking_vertex.idl +13 -0
  50. package/WebCryptoAPI.idl +237 -0
  51. package/accelerometer.idl +40 -0
  52. package/ambient-light.idl +14 -0
  53. package/anchors.idl +37 -0
  54. package/attribution-reporting-api.idl +12 -0
  55. package/audio-output.idl +17 -0
  56. package/autoplay-detection.idl +19 -0
  57. package/background-fetch.idl +89 -0
  58. package/background-sync.idl +30 -0
  59. package/badging.idl +15 -0
  60. package/battery-status.idl +21 -0
  61. package/beacon.idl +8 -0
  62. package/capture-handle-identity.idl +27 -0
  63. package/clipboard-apis.idl +51 -0
  64. package/close-watcher.idl +19 -0
  65. package/compat.idl +13 -0
  66. package/compression.idl +22 -0
  67. package/compute-pressure.idl +37 -0
  68. package/console.idl +34 -0
  69. package/contact-picker.idl +44 -0
  70. package/content-index.idl +46 -0
  71. package/cookie-store.idl +110 -0
  72. package/crash-reporting.idl +10 -0
  73. package/credential-management.idl +105 -0
  74. package/csp-embedded-enforcement.idl +8 -0
  75. package/csp-next.idl +21 -0
  76. package/css-animation-worklet.idl +37 -0
  77. package/css-animations-2.idl +9 -0
  78. package/css-animations.idl +47 -0
  79. package/css-cascade-6.idl +10 -0
  80. package/css-cascade.idl +18 -0
  81. package/css-color-5.idl +12 -0
  82. package/css-conditional.idl +27 -0
  83. package/css-contain-3.idl +10 -0
  84. package/css-contain.idl +13 -0
  85. package/css-counter-styles.idl +23 -0
  86. package/css-font-loading.idl +134 -0
  87. package/css-fonts.idl +36 -0
  88. package/css-highlight-api.idl +27 -0
  89. package/css-images-4.idl +8 -0
  90. package/css-layout-api.idl +144 -0
  91. package/css-masking.idl +20 -0
  92. package/css-nav.idl +48 -0
  93. package/css-nesting.idl +10 -0
  94. package/css-paint-api.idl +39 -0
  95. package/css-parser-api.idl +76 -0
  96. package/css-properties-values-api.idl +23 -0
  97. package/css-pseudo.idl +16 -0
  98. package/css-regions.idl +29 -0
  99. package/css-shadow-parts.idl +8 -0
  100. package/css-transitions-2.idl +9 -0
  101. package/css-transitions.idl +25 -0
  102. package/css-typed-om.idl +423 -0
  103. package/css-view-transitions.idl +18 -0
  104. package/cssom-view.idl +200 -0
  105. package/cssom.idl +159 -0
  106. package/custom-state-pseudo-class.idl +14 -0
  107. package/datacue.idl +12 -0
  108. package/deprecation-reporting.idl +15 -0
  109. package/device-memory.idl +14 -0
  110. package/device-posture.idl +21 -0
  111. package/digital-goods.idl +44 -0
  112. package/dom.idl +609 -0
  113. package/edit-context.idl +111 -0
  114. package/element-timing.idl +22 -0
  115. package/encoding.idl +59 -0
  116. package/encrypted-media.idl +125 -0
  117. package/entries-api.idl +71 -0
  118. package/event-timing.idl +29 -0
  119. package/eyedropper-api.idl +18 -0
  120. package/fenced-frame.idl +49 -0
  121. package/fetch.idl +117 -0
  122. package/fido.idl +47 -0
  123. package/file-system-access.idl +72 -0
  124. package/filter-effects.idl +341 -0
  125. package/font-metrics-api.idl +42 -0
  126. package/fs.idl +93 -0
  127. package/fullscreen.idl +35 -0
  128. package/gamepad-extensions.idl +71 -0
  129. package/gamepad.idl +49 -0
  130. package/generic-sensor.idl +60 -0
  131. package/geolocation-sensor.idl +47 -0
  132. package/geolocation.idl +65 -0
  133. package/geometry.idl +290 -0
  134. package/get-installed-related-apps.idl +16 -0
  135. package/gpc-spec.idl +10 -0
  136. package/gyroscope.idl +24 -0
  137. package/hr-time.idl +19 -0
  138. package/html-media-capture.idl +8 -0
  139. package/html.idl +2717 -0
  140. package/idle-detection.idl +31 -0
  141. package/image-capture.idl +160 -0
  142. package/image-resource.idl +11 -0
  143. package/ink-enhancement.idl +32 -0
  144. package/input-device-capabilities.idl +24 -0
  145. package/input-events.idl +14 -0
  146. package/intersection-observer.idl +46 -0
  147. package/intervention-reporting.idl +14 -0
  148. package/is-input-pending.idl +16 -0
  149. package/js-self-profiling.idl +44 -0
  150. package/keyboard-lock.idl +14 -0
  151. package/keyboard-map.idl +15 -0
  152. package/largest-contentful-paint.idl +15 -0
  153. package/layout-instability.idl +20 -0
  154. package/local-font-access.idl +24 -0
  155. package/longtasks.idl +19 -0
  156. package/magnetometer.idl +46 -0
  157. package/manifest-incubations.idl +24 -0
  158. package/mathml-core.idl +9 -0
  159. package/media-capabilities.idl +115 -0
  160. package/media-playback-quality.idl +18 -0
  161. package/media-source.idl +91 -0
  162. package/mediacapture-automation.idl +36 -0
  163. package/mediacapture-fromelement.idl +17 -0
  164. package/mediacapture-handle-actions.idl +31 -0
  165. package/mediacapture-region.idl +15 -0
  166. package/mediacapture-streams.idl +248 -0
  167. package/mediacapture-transform.idl +23 -0
  168. package/mediacapture-viewport.idl +14 -0
  169. package/mediasession.idl +84 -0
  170. package/mediastream-recording.idl +60 -0
  171. package/model-element.idl +9 -0
  172. package/mst-content-hint.idl +18 -0
  173. package/navigation-timing.idl +71 -0
  174. package/netinfo.idl +43 -0
  175. package/notifications.idl +100 -0
  176. package/orientation-event.idl +76 -0
  177. package/orientation-sensor.idl +35 -0
  178. package/package.json +1 -1
  179. package/page-lifecycle.idl +19 -0
  180. package/paint-timing.idl +7 -0
  181. package/payment-handler.idl +131 -0
  182. package/payment-request.idl +112 -0
  183. package/performance-measure-memory.idl +30 -0
  184. package/performance-timeline.idl +49 -0
  185. package/periodic-background-sync.idl +34 -0
  186. package/permissions-policy.idl +28 -0
  187. package/permissions-request.idl +8 -0
  188. package/permissions-revoke.idl +8 -0
  189. package/permissions.idl +41 -0
  190. package/picture-in-picture.idl +41 -0
  191. package/pointerevents.idl +64 -0
  192. package/pointerlock.idl +28 -0
  193. package/portals.idl +50 -0
  194. package/prefer-current-tab.idl +8 -0
  195. package/prerendering-revamped.idl +15 -0
  196. package/presentation-api.idl +95 -0
  197. package/private-click-measurement.idl +8 -0
  198. package/proximity.idl +18 -0
  199. package/push-api.idl +93 -0
  200. package/raw-camera-access.idl +18 -0
  201. package/referrer-policy.idl +16 -0
  202. package/remote-playback.idl +32 -0
  203. package/reporting.idl +39 -0
  204. package/requestStorageAccessFor.idl +12 -0
  205. package/requestidlecallback.idl +20 -0
  206. package/resize-observer.idl +37 -0
  207. package/resource-timing.idl +40 -0
  208. package/sanitizer-api.idl +38 -0
  209. package/savedata.idl +10 -0
  210. package/scheduling-apis.idl +11 -0
  211. package/screen-capture.idl +85 -0
  212. package/screen-orientation.idl +35 -0
  213. package/screen-wake-lock.idl +24 -0
  214. package/scroll-animations.idl +41 -0
  215. package/scroll-to-text-fragment.idl +12 -0
  216. package/secure-payment-confirmation.idl +48 -0
  217. package/selection-api.idl +46 -0
  218. package/serial.idl +85 -0
  219. package/server-timing.idl +17 -0
  220. package/service-workers.idl +220 -0
  221. package/shape-detection-api.idl +69 -0
  222. package/speech-api.idl +202 -0
  223. package/storage-access.idl +9 -0
  224. package/storage.idl +25 -0
  225. package/streams.idl +222 -0
  226. package/svg-animations.idl +68 -0
  227. package/testutils.idl +9 -0
  228. package/text-detection-api.idl +18 -0
  229. package/touch-events.idl +79 -0
  230. package/trust-token-api.idl +29 -0
  231. package/trusted-types.idl +71 -0
  232. package/turtledove.idl +58 -0
  233. package/ua-client-hints.idl +44 -0
  234. package/uievents.idl +248 -0
  235. package/url.idl +46 -0
  236. package/urlpattern.idl +59 -0
  237. package/user-timing.idl +34 -0
  238. package/vibration.idl +10 -0
  239. package/video-rvfc.idl +27 -0
  240. package/virtual-keyboard.idl +21 -0
  241. package/wai-aria.idl +59 -0
  242. package/wasm-js-api.idl +104 -0
  243. package/wasm-web-api.idl +11 -0
  244. package/web-animations-2.idl +102 -0
  245. package/web-animations.idl +149 -0
  246. package/web-app-launch.idl +19 -0
  247. package/web-bluetooth.idl +252 -0
  248. package/web-locks.idl +50 -0
  249. package/web-nfc.idl +81 -0
  250. package/web-otp.idl +21 -0
  251. package/web-share.idl +16 -0
  252. package/webaudio.idl +674 -0
  253. package/webauthn.idl +313 -0
  254. package/webcodecs-aac-codec-registration.idl +17 -0
  255. package/webcodecs-avc-codec-registration.idl +17 -0
  256. package/webcodecs-flac-codec-registration.idl +13 -0
  257. package/webcodecs-hevc-codec-registration.idl +17 -0
  258. package/webcodecs-opus-codec-registration.idl +22 -0
  259. package/webcodecs-vp9-codec-registration.idl +12 -0
  260. package/webcodecs.idl +500 -0
  261. package/webcrypto-secure-curves.idl +8 -0
  262. package/webdriver.idl +9 -0
  263. package/webgl1.idl +745 -0
  264. package/webgl2.idl +582 -0
  265. package/webgpu.idl +1245 -0
  266. package/webhid.idl +127 -0
  267. package/webidl.idl +48 -0
  268. package/webmidi.idl +91 -0
  269. package/webnn.idl +549 -0
  270. package/webrtc-encoded-transform.idl +127 -0
  271. package/webrtc-ice.idl +24 -0
  272. package/webrtc-identity.idl +97 -0
  273. package/webrtc-priority.idl +24 -0
  274. package/webrtc-stats.idl +288 -0
  275. package/webrtc-svc.idl +8 -0
  276. package/webrtc.idl +627 -0
  277. package/websockets.idl +48 -0
  278. package/webtransport.idl +143 -0
  279. package/webusb.idl +249 -0
  280. package/webvtt.idl +40 -0
  281. package/webxr-ar-module.idl +29 -0
  282. package/webxr-depth-sensing.idl +57 -0
  283. package/webxr-dom-overlays.idl +31 -0
  284. package/webxr-gamepads-module.idl +8 -0
  285. package/webxr-hand-input.idl +66 -0
  286. package/webxr-hit-test.idl +69 -0
  287. package/webxr-lighting-estimation.idl +39 -0
  288. package/webxr.idl +295 -0
  289. package/webxrlayers.idl +212 -0
  290. package/window-controls-overlay.idl +28 -0
  291. package/window-placement.idl +42 -0
  292. package/xhr.idl +99 -0
package/push-api.idl ADDED
@@ -0,0 +1,93 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Push API (https://w3c.github.io/push-api/)
5
+
6
+ dictionary PushPermissionDescriptor : PermissionDescriptor {
7
+ boolean userVisibleOnly = false;
8
+ };
9
+
10
+ [SecureContext]
11
+ partial interface ServiceWorkerRegistration {
12
+ readonly attribute PushManager pushManager;
13
+ };
14
+
15
+ [Exposed=(Window,Worker), SecureContext]
16
+ interface PushManager {
17
+ [SameObject] static readonly attribute FrozenArray<DOMString> supportedContentEncodings;
18
+
19
+ Promise<PushSubscription> subscribe(optional PushSubscriptionOptionsInit options = {});
20
+ Promise<PushSubscription?> getSubscription();
21
+ Promise<PermissionState> permissionState(optional PushSubscriptionOptionsInit options = {});
22
+ };
23
+
24
+ [Exposed=(Window,Worker), SecureContext]
25
+ interface PushSubscriptionOptions {
26
+ readonly attribute boolean userVisibleOnly;
27
+ [SameObject] readonly attribute ArrayBuffer? applicationServerKey;
28
+ };
29
+
30
+ dictionary PushSubscriptionOptionsInit {
31
+ boolean userVisibleOnly = false;
32
+ (BufferSource or DOMString)? applicationServerKey = null;
33
+ };
34
+
35
+ [Exposed=(Window,Worker), SecureContext]
36
+ interface PushSubscription {
37
+ readonly attribute USVString endpoint;
38
+ readonly attribute EpochTimeStamp? expirationTime;
39
+ [SameObject] readonly attribute PushSubscriptionOptions options;
40
+ ArrayBuffer? getKey(PushEncryptionKeyName name);
41
+ Promise<boolean> unsubscribe();
42
+
43
+ PushSubscriptionJSON toJSON();
44
+ };
45
+
46
+ dictionary PushSubscriptionJSON {
47
+ USVString endpoint;
48
+ EpochTimeStamp? expirationTime = null;
49
+ record<DOMString, USVString> keys;
50
+ };
51
+
52
+ enum PushEncryptionKeyName {
53
+ "p256dh",
54
+ "auth"
55
+ };
56
+
57
+ [Exposed=ServiceWorker, SecureContext]
58
+ interface PushMessageData {
59
+ ArrayBuffer arrayBuffer();
60
+ Blob blob();
61
+ any json();
62
+ USVString text();
63
+ };
64
+
65
+ [Exposed=ServiceWorker, SecureContext]
66
+ partial interface ServiceWorkerGlobalScope {
67
+ attribute EventHandler onpush;
68
+ attribute EventHandler onpushsubscriptionchange;
69
+ };
70
+
71
+ [Exposed=ServiceWorker, SecureContext]
72
+ interface PushEvent : ExtendableEvent {
73
+ constructor(DOMString type, optional PushEventInit eventInitDict = {});
74
+ readonly attribute PushMessageData? data;
75
+ };
76
+
77
+ typedef (BufferSource or USVString) PushMessageDataInit;
78
+
79
+ dictionary PushEventInit : ExtendableEventInit {
80
+ PushMessageDataInit data;
81
+ };
82
+
83
+ [Exposed=ServiceWorker, SecureContext]
84
+ interface PushSubscriptionChangeEvent : ExtendableEvent {
85
+ constructor(DOMString type, optional PushSubscriptionChangeEventInit eventInitDict = {});
86
+ readonly attribute PushSubscription? newSubscription;
87
+ readonly attribute PushSubscription? oldSubscription;
88
+ };
89
+
90
+ dictionary PushSubscriptionChangeEventInit : ExtendableEventInit {
91
+ PushSubscription newSubscription = null;
92
+ PushSubscription oldSubscription = null;
93
+ };
@@ -0,0 +1,18 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebXR Raw Camera Access Module (https://immersive-web.github.io/raw-camera-access/)
5
+
6
+ partial interface XRView {
7
+ [SameObject] readonly attribute XRCamera? camera;
8
+ };
9
+
10
+ [SecureContext, Exposed=Window]
11
+ interface XRCamera {
12
+ readonly attribute unsigned long width;
13
+ readonly attribute unsigned long height;
14
+ };
15
+
16
+ partial interface XRWebGLBinding {
17
+ WebGLTexture? getCameraImage(XRCamera camera);
18
+ };
@@ -0,0 +1,16 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Referrer Policy (https://w3c.github.io/webappsec-referrer-policy/)
5
+
6
+ enum ReferrerPolicy {
7
+ "",
8
+ "no-referrer",
9
+ "no-referrer-when-downgrade",
10
+ "same-origin",
11
+ "origin",
12
+ "strict-origin",
13
+ "origin-when-cross-origin",
14
+ "strict-origin-when-cross-origin",
15
+ "unsafe-url"
16
+ };
@@ -0,0 +1,32 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Remote Playback API (https://w3c.github.io/remote-playback/)
5
+
6
+ [Exposed=Window]
7
+ interface RemotePlayback : EventTarget {
8
+ Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
9
+ Promise<undefined> cancelWatchAvailability(optional long id);
10
+
11
+ readonly attribute RemotePlaybackState state;
12
+
13
+ attribute EventHandler onconnecting;
14
+ attribute EventHandler onconnect;
15
+ attribute EventHandler ondisconnect;
16
+
17
+ Promise<undefined> prompt();
18
+ };
19
+
20
+ enum RemotePlaybackState {
21
+ "connecting",
22
+ "connected",
23
+ "disconnected"
24
+ };
25
+
26
+ callback RemotePlaybackAvailabilityCallback = undefined(boolean available);
27
+
28
+ partial interface HTMLMediaElement {
29
+ [SameObject] readonly attribute RemotePlayback remote;
30
+
31
+ [CEReactions] attribute boolean disableRemotePlayback;
32
+ };
package/reporting.idl ADDED
@@ -0,0 +1,39 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Reporting API (https://w3c.github.io/reporting/)
5
+
6
+ [Exposed=(Window,Worker)]
7
+ interface ReportBody {
8
+ [Default] object toJSON();
9
+ };
10
+
11
+ [Exposed=(Window,Worker)]
12
+ interface Report {
13
+ [Default] object toJSON();
14
+ readonly attribute DOMString type;
15
+ readonly attribute DOMString url;
16
+ readonly attribute ReportBody? body;
17
+ };
18
+
19
+ [Exposed=(Window,Worker)]
20
+ interface ReportingObserver {
21
+ constructor(ReportingObserverCallback callback, optional ReportingObserverOptions options = {});
22
+ undefined observe();
23
+ undefined disconnect();
24
+ ReportList takeRecords();
25
+ };
26
+
27
+ callback ReportingObserverCallback = undefined (sequence<Report> reports, ReportingObserver observer);
28
+
29
+ dictionary ReportingObserverOptions {
30
+ sequence<DOMString> types;
31
+ boolean buffered = false;
32
+ };
33
+
34
+ typedef sequence<Report> ReportList;
35
+
36
+ dictionary GenerateTestReportParameters {
37
+ required DOMString message;
38
+ DOMString group = "default";
39
+ };
@@ -0,0 +1,12 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: requestStorageAccessFor API (https://privacycg.github.io/requestStorageAccessFor/)
5
+
6
+ partial interface Document {
7
+ Promise<undefined> requestStorageAccessFor(USVString requestedOrigin);
8
+ };
9
+
10
+ dictionary TopLevelStorageAccessPermissionDescriptor : PermissionDescriptor {
11
+ USVString requestedOrigin = "";
12
+ };
@@ -0,0 +1,20 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: requestIdleCallback() (https://w3c.github.io/requestidlecallback/)
5
+
6
+ partial interface Window {
7
+ unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options = {});
8
+ undefined cancelIdleCallback(unsigned long handle);
9
+ };
10
+
11
+ dictionary IdleRequestOptions {
12
+ unsigned long timeout;
13
+ };
14
+
15
+ [Exposed=Window] interface IdleDeadline {
16
+ DOMHighResTimeStamp timeRemaining();
17
+ readonly attribute boolean didTimeout;
18
+ };
19
+
20
+ callback IdleRequestCallback = undefined (IdleDeadline deadline);
@@ -0,0 +1,37 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Resize Observer (https://drafts.csswg.org/resize-observer-1/)
5
+
6
+ enum ResizeObserverBoxOptions {
7
+ "border-box", "content-box", "device-pixel-content-box"
8
+ };
9
+
10
+ dictionary ResizeObserverOptions {
11
+ ResizeObserverBoxOptions box = "content-box";
12
+ };
13
+
14
+ [Exposed=(Window)]
15
+ interface ResizeObserver {
16
+ constructor(ResizeObserverCallback callback);
17
+ undefined observe(Element target, optional ResizeObserverOptions options = {});
18
+ undefined unobserve(Element target);
19
+ undefined disconnect();
20
+ };
21
+
22
+ callback ResizeObserverCallback = undefined (sequence<ResizeObserverEntry> entries, ResizeObserver observer);
23
+
24
+ [Exposed=Window]
25
+ interface ResizeObserverEntry {
26
+ readonly attribute Element target;
27
+ readonly attribute DOMRectReadOnly contentRect;
28
+ readonly attribute FrozenArray<ResizeObserverSize> borderBoxSize;
29
+ readonly attribute FrozenArray<ResizeObserverSize> contentBoxSize;
30
+ readonly attribute FrozenArray<ResizeObserverSize> devicePixelContentBoxSize;
31
+ };
32
+
33
+ [Exposed=Window]
34
+ interface ResizeObserverSize {
35
+ readonly attribute unrestricted double inlineSize;
36
+ readonly attribute unrestricted double blockSize;
37
+ };
@@ -0,0 +1,40 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Resource Timing (https://w3c.github.io/resource-timing/)
5
+
6
+ [Exposed=(Window,Worker)]
7
+ interface PerformanceResourceTiming : PerformanceEntry {
8
+ readonly attribute DOMString initiatorType;
9
+ readonly attribute DOMString deliveryType;
10
+ readonly attribute ByteString nextHopProtocol;
11
+ readonly attribute DOMHighResTimeStamp workerStart;
12
+ readonly attribute DOMHighResTimeStamp redirectStart;
13
+ readonly attribute DOMHighResTimeStamp redirectEnd;
14
+ readonly attribute DOMHighResTimeStamp fetchStart;
15
+ readonly attribute DOMHighResTimeStamp domainLookupStart;
16
+ readonly attribute DOMHighResTimeStamp domainLookupEnd;
17
+ readonly attribute DOMHighResTimeStamp connectStart;
18
+ readonly attribute DOMHighResTimeStamp connectEnd;
19
+ readonly attribute DOMHighResTimeStamp secureConnectionStart;
20
+ readonly attribute DOMHighResTimeStamp requestStart;
21
+ readonly attribute DOMHighResTimeStamp responseStart;
22
+ readonly attribute DOMHighResTimeStamp responseEnd;
23
+ readonly attribute unsigned long long transferSize;
24
+ readonly attribute unsigned long long encodedBodySize;
25
+ readonly attribute unsigned long long decodedBodySize;
26
+ readonly attribute unsigned short responseStatus;
27
+ readonly attribute RenderBlockingStatusType renderBlockingStatus;
28
+ [Default] object toJSON();
29
+ };
30
+
31
+ enum RenderBlockingStatusType {
32
+ "blocking",
33
+ "non-blocking"
34
+ };
35
+
36
+ partial interface Performance {
37
+ undefined clearResourceTimings ();
38
+ undefined setResourceTimingBufferSize (unsigned long maxSize);
39
+ attribute EventHandler onresourcetimingbufferfull;
40
+ };
@@ -0,0 +1,38 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/)
5
+
6
+ [
7
+ Exposed=(Window),
8
+ SecureContext
9
+ ] interface Sanitizer {
10
+ constructor(optional SanitizerConfig config = {});
11
+
12
+ DocumentFragment sanitize((Document or DocumentFragment) input);
13
+ Element? sanitizeFor(DOMString element, DOMString input);
14
+
15
+ SanitizerConfig getConfiguration();
16
+ static SanitizerConfig getDefaultConfiguration();
17
+ };
18
+
19
+ dictionary SetHTMLOptions {
20
+ Sanitizer sanitizer;
21
+ };
22
+ [SecureContext]
23
+ partial interface Element {
24
+ undefined setHTML(DOMString input, optional SetHTMLOptions options = {});
25
+ };
26
+
27
+ dictionary SanitizerConfig {
28
+ sequence<DOMString> allowElements;
29
+ sequence<DOMString> blockElements;
30
+ sequence<DOMString> dropElements;
31
+ AttributeMatchList allowAttributes;
32
+ AttributeMatchList dropAttributes;
33
+ boolean allowCustomElements;
34
+ boolean allowUnknownMarkup;
35
+ boolean allowComments;
36
+ };
37
+
38
+ typedef record<DOMString, sequence<DOMString>> AttributeMatchList;
package/savedata.idl ADDED
@@ -0,0 +1,10 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Save Data API (https://wicg.github.io/savedata/)
5
+
6
+ interface mixin NetworkInformationSaveData {
7
+ [SameObject] readonly attribute boolean saveData;
8
+ };
9
+
10
+ NetworkInformation includes NetworkInformationSaveData;
@@ -0,0 +1,11 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Prioritized Task Scheduling (https://wicg.github.io/scheduling-apis/)
5
+
6
+ enum TaskPriority { "user-blocking", "user-visible", "background"};
7
+ dictionary SchedulerPostTaskOptions { AbortSignal signal; TaskPriority priority; [EnforceRange] unsigned long long delay = 0;};callback SchedulerPostTaskCallback = any ();[Exposed=(Window, Worker)]interface Scheduler { Promise<any> postTask(SchedulerPostTaskCallback callback, optional SchedulerPostTaskOptions options = {});};
8
+ [Exposed=(Window, Worker)]interface TaskPriorityChangeEvent : Event { constructor(DOMString type, TaskPriorityChangeEventInit priorityChangeEventInitDict); readonly attribute TaskPriority previousPriority;};dictionary TaskPriorityChangeEventInit : EventInit { required TaskPriority previousPriority;};
9
+ dictionary TaskControllerInit { TaskPriority priority = "user-visible";};[Exposed=(Window,Worker)]interface TaskController : AbortController { constructor(optional TaskControllerInit init = {}); undefined setPriority(TaskPriority priority);};
10
+ [Exposed=(Window, Worker)]interface TaskSignal : AbortSignal { readonly attribute TaskPriority priority; attribute EventHandler onprioritychange;};
11
+ partial interface mixin WindowOrWorkerGlobalScope { [Replaceable] readonly attribute Scheduler scheduler;};
@@ -0,0 +1,85 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Screen Capture (https://w3c.github.io/mediacapture-screen-share/)
5
+
6
+ partial interface MediaDevices {
7
+ Promise<MediaStream> getDisplayMedia(optional DisplayMediaStreamOptions options = {});
8
+ };
9
+
10
+ enum CaptureStartFocusBehavior {
11
+ "focus-captured-surface",
12
+ "no-focus-change"
13
+ };
14
+
15
+ [Exposed=Window, SecureContext]
16
+ interface CaptureController {
17
+ constructor();
18
+ undefined setFocusBehavior(CaptureStartFocusBehavior focusBehavior);
19
+ };
20
+
21
+ enum SelfCapturePreferenceEnum {
22
+ "include",
23
+ "exclude"
24
+ };
25
+
26
+ enum SystemAudioPreferenceEnum {
27
+ "include",
28
+ "exclude"
29
+ };
30
+
31
+ enum SurfaceSwitchingPreferenceEnum {
32
+ "include",
33
+ "exclude"
34
+ };
35
+
36
+ dictionary DisplayMediaStreamOptions {
37
+ (boolean or MediaTrackConstraints) video = true;
38
+ (boolean or MediaTrackConstraints) audio = false;
39
+ CaptureController controller;
40
+ SelfCapturePreferenceEnum selfBrowserSurface;
41
+ SystemAudioPreferenceEnum systemAudio;
42
+ SurfaceSwitchingPreferenceEnum surfaceSwitching;
43
+ };
44
+
45
+ partial dictionary MediaTrackSupportedConstraints {
46
+ boolean displaySurface = true;
47
+ boolean logicalSurface = true;
48
+ boolean cursor = true;
49
+ boolean restrictOwnAudio = true;
50
+ boolean suppressLocalAudioPlayback = true;
51
+ };
52
+
53
+ partial dictionary MediaTrackConstraintSet {
54
+ ConstrainDOMString displaySurface;
55
+ ConstrainBoolean logicalSurface;
56
+ ConstrainDOMString cursor;
57
+ ConstrainBoolean restrictOwnAudio;
58
+ ConstrainBoolean suppressLocalAudioPlayback;
59
+ };
60
+
61
+ partial dictionary MediaTrackSettings {
62
+ DOMString displaySurface;
63
+ boolean logicalSurface;
64
+ DOMString cursor;
65
+ boolean restrictOwnAudio;
66
+ boolean suppressLocalAudioPlayback;
67
+ };
68
+
69
+ partial dictionary MediaTrackCapabilities {
70
+ DOMString displaySurface;
71
+ boolean logicalSurface;
72
+ sequence<DOMString> cursor;
73
+ };
74
+
75
+ enum DisplayCaptureSurfaceType {
76
+ "monitor",
77
+ "window",
78
+ "browser"
79
+ };
80
+
81
+ enum CursorCaptureConstraint {
82
+ "never",
83
+ "always",
84
+ "motion"
85
+ };
@@ -0,0 +1,35 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Screen Orientation (https://w3c.github.io/screen-orientation/)
5
+
6
+ partial interface Screen {
7
+ [SameObject] readonly attribute ScreenOrientation orientation;
8
+ };
9
+
10
+ [Exposed=Window]
11
+ interface ScreenOrientation : EventTarget {
12
+ Promise<undefined> lock(OrientationLockType orientation);
13
+ undefined unlock();
14
+ readonly attribute OrientationType type;
15
+ readonly attribute unsigned short angle;
16
+ attribute EventHandler onchange;
17
+ };
18
+
19
+ enum OrientationLockType {
20
+ "any",
21
+ "natural",
22
+ "landscape",
23
+ "portrait",
24
+ "portrait-primary",
25
+ "portrait-secondary",
26
+ "landscape-primary",
27
+ "landscape-secondary"
28
+ };
29
+
30
+ enum OrientationType {
31
+ "portrait-primary",
32
+ "portrait-secondary",
33
+ "landscape-primary",
34
+ "landscape-secondary"
35
+ };
@@ -0,0 +1,24 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Screen Wake Lock API (https://w3c.github.io/screen-wake-lock/)
5
+
6
+ [SecureContext]
7
+ partial interface Navigator {
8
+ [SameObject] readonly attribute WakeLock wakeLock;
9
+ };
10
+
11
+ [SecureContext, Exposed=(Window)]
12
+ interface WakeLock {
13
+ Promise<WakeLockSentinel> request(optional WakeLockType type = "screen");
14
+ };
15
+
16
+ [SecureContext, Exposed=(Window)]
17
+ interface WakeLockSentinel : EventTarget {
18
+ readonly attribute boolean released;
19
+ readonly attribute WakeLockType type;
20
+ Promise<undefined> release();
21
+ attribute EventHandler onrelease;
22
+ };
23
+
24
+ enum WakeLockType { "screen" };
@@ -0,0 +1,41 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Scroll-driven Animations (https://drafts.csswg.org/scroll-animations-1/)
5
+
6
+ enum ScrollAxis {
7
+ "block",
8
+ "inline",
9
+ "horizontal",
10
+ "vertical"
11
+ };
12
+
13
+ dictionary ScrollTimelineOptions {
14
+ Element? source;
15
+ ScrollAxis axis = "block";
16
+ };
17
+
18
+ [Exposed=Window]
19
+ interface ScrollTimeline : AnimationTimeline {
20
+ constructor(optional ScrollTimelineOptions options = {});
21
+ readonly attribute Element? source;
22
+ readonly attribute ScrollAxis axis;
23
+ };
24
+
25
+ dictionary ViewTimelineOptions {
26
+ Element subject;
27
+ ScrollAxis axis = "block";
28
+ };
29
+
30
+ [Exposed=Window]
31
+ interface ViewTimeline : ScrollTimeline {
32
+ constructor(optional ViewTimelineOptions options = {});
33
+ readonly attribute Element subject;
34
+ readonly attribute CSSNumericValue startOffset;
35
+ readonly attribute CSSNumericValue endOffset;
36
+ };
37
+
38
+ [Exposed=Window]
39
+ partial interface AnimationTimeline {
40
+ CSSNumericValue? getCurrentTime(optional CSSOMString rangeName);
41
+ };
@@ -0,0 +1,12 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: URL Fragment Text Directives (https://wicg.github.io/scroll-to-text-fragment/)
5
+
6
+ [Exposed=Window]
7
+ interface FragmentDirective {
8
+ };
9
+
10
+ partial interface Document {
11
+ [SameObject] readonly attribute FragmentDirective fragmentDirective;
12
+ };
@@ -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: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation/)
5
+
6
+ dictionary SecurePaymentConfirmationRequest {
7
+ required BufferSource challenge;
8
+ required USVString rpId;
9
+ required sequence<BufferSource> credentialIds;
10
+ required PaymentCredentialInstrument instrument;
11
+ unsigned long timeout;
12
+ USVString payeeName;
13
+ USVString payeeOrigin;
14
+ AuthenticationExtensionsClientInputs extensions;
15
+ sequence<USVString> locale;
16
+ boolean showOptOut;
17
+ };
18
+ partial dictionary AuthenticationExtensionsClientInputs {
19
+ AuthenticationExtensionsPaymentInputs payment;
20
+ };
21
+
22
+ dictionary AuthenticationExtensionsPaymentInputs {
23
+ boolean isPayment;
24
+
25
+ // Only used for authentication.
26
+ USVString rpId;
27
+ USVString topOrigin;
28
+ USVString payeeName;
29
+ USVString payeeOrigin;
30
+ PaymentCurrencyAmount total;
31
+ PaymentCredentialInstrument instrument;
32
+ };
33
+ dictionary CollectedClientPaymentData : CollectedClientData {
34
+ required CollectedClientAdditionalPaymentData payment;
35
+ };
36
+ dictionary CollectedClientAdditionalPaymentData {
37
+ required USVString rpId;
38
+ required USVString topOrigin;
39
+ USVString payeeName;
40
+ USVString payeeOrigin;
41
+ required PaymentCurrencyAmount total;
42
+ required PaymentCredentialInstrument instrument;
43
+ };
44
+ dictionary PaymentCredentialInstrument {
45
+ required USVString displayName;
46
+ required USVString icon;
47
+ boolean iconMustBeShown = true;
48
+ };
@@ -0,0 +1,46 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Selection API (https://w3c.github.io/selection-api/)
5
+
6
+ [Exposed=Window]
7
+ interface Selection {
8
+ readonly attribute Node? anchorNode;
9
+ readonly attribute unsigned long anchorOffset;
10
+ readonly attribute Node? focusNode;
11
+ readonly attribute unsigned long focusOffset;
12
+ readonly attribute boolean isCollapsed;
13
+ readonly attribute unsigned long rangeCount;
14
+ readonly attribute DOMString type;
15
+ readonly attribute DOMString direction;
16
+ Range getRangeAt(unsigned long index);
17
+ undefined addRange(Range range);
18
+ undefined removeRange(Range range);
19
+ undefined removeAllRanges();
20
+ undefined empty();
21
+ sequence<StaticRange> getComposedRanges(ShadowRoot... shadowRoots);
22
+ undefined collapse(Node? node, optional unsigned long offset = 0);
23
+ undefined setPosition(Node? node, optional unsigned long offset = 0);
24
+ undefined collapseToStart();
25
+ undefined collapseToEnd();
26
+ undefined extend(Node node, optional unsigned long offset = 0);
27
+ undefined setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
28
+ undefined selectAllChildren(Node node);
29
+ undefined modify(optional DOMString alter, optional DOMString direction, optional DOMString granularity);
30
+ [CEReactions] undefined deleteFromDocument();
31
+ boolean containsNode(Node node, optional boolean allowPartialContainment = false);
32
+ stringifier;
33
+ };
34
+
35
+ partial interface Document {
36
+ Selection? getSelection();
37
+ };
38
+
39
+ partial interface Window {
40
+ Selection? getSelection();
41
+ };
42
+
43
+ partial interface mixin GlobalEventHandlers {
44
+ attribute EventHandler onselectstart;
45
+ attribute EventHandler onselectionchange;
46
+ };