@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
@@ -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: WebGL ANGLE_instanced_arrays Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/ANGLE_instanced_arrays/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface ANGLE_instanced_arrays {
8
+ const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE;
9
+ undefined drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
10
+ undefined drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount);
11
+ undefined vertexAttribDivisorANGLE(GLuint index, GLuint divisor);
12
+ };
package/CSP.idl ADDED
@@ -0,0 +1,56 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/)
5
+
6
+ [Exposed=Window]
7
+ interface CSPViolationReportBody : ReportBody {
8
+ [Default] object toJSON();
9
+ readonly attribute USVString documentURL;
10
+ readonly attribute USVString? referrer;
11
+ readonly attribute USVString? blockedURL;
12
+ readonly attribute DOMString effectiveDirective;
13
+ readonly attribute DOMString originalPolicy;
14
+ readonly attribute USVString? sourceFile;
15
+ readonly attribute DOMString? sample;
16
+ readonly attribute SecurityPolicyViolationEventDisposition disposition;
17
+ readonly attribute unsigned short statusCode;
18
+ readonly attribute unsigned long? lineNumber;
19
+ readonly attribute unsigned long? columnNumber;
20
+ };
21
+
22
+ enum SecurityPolicyViolationEventDisposition {
23
+ "enforce", "report"
24
+ };
25
+
26
+ [Exposed=(Window,Worker)]
27
+ interface SecurityPolicyViolationEvent : Event {
28
+ constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict = {});
29
+ readonly attribute USVString documentURI;
30
+ readonly attribute USVString referrer;
31
+ readonly attribute USVString blockedURI;
32
+ readonly attribute DOMString effectiveDirective;
33
+ readonly attribute DOMString violatedDirective; // historical alias of effectiveDirective
34
+ readonly attribute DOMString originalPolicy;
35
+ readonly attribute USVString sourceFile;
36
+ readonly attribute DOMString sample;
37
+ readonly attribute SecurityPolicyViolationEventDisposition disposition;
38
+ readonly attribute unsigned short statusCode;
39
+ readonly attribute unsigned long lineNumber;
40
+ readonly attribute unsigned long columnNumber;
41
+ };
42
+
43
+ dictionary SecurityPolicyViolationEventInit : EventInit {
44
+ required USVString documentURI;
45
+ USVString referrer = "";
46
+ USVString blockedURI = "";
47
+ required DOMString violatedDirective;
48
+ required DOMString effectiveDirective;
49
+ required DOMString originalPolicy;
50
+ USVString sourceFile = "";
51
+ DOMString sample = "";
52
+ required SecurityPolicyViolationEventDisposition disposition;
53
+ required unsigned short statusCode;
54
+ unsigned long lineNumber = 0;
55
+ unsigned long columnNumber = 0;
56
+ };
@@ -0,0 +1,26 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: DOM Parsing and Serialization (https://w3c.github.io/DOM-Parsing/)
5
+
6
+ [Exposed=Window]
7
+ interface XMLSerializer {
8
+ constructor();
9
+ DOMString serializeToString(Node root);
10
+ };
11
+
12
+ interface mixin InnerHTML {
13
+ [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML;
14
+ };
15
+
16
+ Element includes InnerHTML;
17
+ ShadowRoot includes InnerHTML;
18
+
19
+ partial interface Element {
20
+ [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML;
21
+ [CEReactions] undefined insertAdjacentHTML(DOMString position, DOMString text);
22
+ };
23
+
24
+ partial interface Range {
25
+ [CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment);
26
+ };
@@ -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: WebGL EXT_blend_minmax Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_blend_minmax/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_blend_minmax {
8
+ const GLenum MIN_EXT = 0x8007;
9
+ const GLenum MAX_EXT = 0x8008;
10
+ };
@@ -0,0 +1,8 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebGL EXT_color_buffer_float Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_color_buffer_float/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_color_buffer_float {
8
+ }; // interface EXT_color_buffer_float
@@ -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: WebGL EXT_color_buffer_half_float Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_color_buffer_half_float/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_color_buffer_half_float {
8
+ const GLenum RGBA16F_EXT = 0x881A;
9
+ const GLenum RGB16F_EXT = 0x881B;
10
+ const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211;
11
+ const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17;
12
+ }; // interface EXT_color_buffer_half_float
@@ -0,0 +1,30 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebGL EXT_disjoint_timer_query Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_disjoint_timer_query/)
5
+
6
+ typedef unsigned long long GLuint64EXT;
7
+
8
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
9
+ interface WebGLTimerQueryEXT : WebGLObject {
10
+ };
11
+
12
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
13
+ interface EXT_disjoint_timer_query {
14
+ const GLenum QUERY_COUNTER_BITS_EXT = 0x8864;
15
+ const GLenum CURRENT_QUERY_EXT = 0x8865;
16
+ const GLenum QUERY_RESULT_EXT = 0x8866;
17
+ const GLenum QUERY_RESULT_AVAILABLE_EXT = 0x8867;
18
+ const GLenum TIME_ELAPSED_EXT = 0x88BF;
19
+ const GLenum TIMESTAMP_EXT = 0x8E28;
20
+ const GLenum GPU_DISJOINT_EXT = 0x8FBB;
21
+
22
+ WebGLTimerQueryEXT? createQueryEXT();
23
+ undefined deleteQueryEXT(WebGLTimerQueryEXT? query);
24
+ [WebGLHandlesContextLoss] boolean isQueryEXT(WebGLTimerQueryEXT? query);
25
+ undefined beginQueryEXT(GLenum target, WebGLTimerQueryEXT query);
26
+ undefined endQueryEXT(GLenum target);
27
+ undefined queryCounterEXT(WebGLTimerQueryEXT query, GLenum target);
28
+ any getQueryEXT(GLenum target, GLenum pname);
29
+ any getQueryObjectEXT(WebGLTimerQueryEXT query, GLenum pname);
30
+ };
@@ -0,0 +1,14 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebGL EXT_disjoint_timer_query_webgl2 Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_disjoint_timer_query_webgl2/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_disjoint_timer_query_webgl2 {
8
+ const GLenum QUERY_COUNTER_BITS_EXT = 0x8864;
9
+ const GLenum TIME_ELAPSED_EXT = 0x88BF;
10
+ const GLenum TIMESTAMP_EXT = 0x8E28;
11
+ const GLenum GPU_DISJOINT_EXT = 0x8FBB;
12
+
13
+ undefined queryCounterEXT(WebGLQuery query, GLenum target);
14
+ };
@@ -0,0 +1,8 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebGL EXT_float_blend Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_float_blend/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_float_blend {
8
+ }; // interface EXT_float_blend
@@ -0,0 +1,8 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebGL EXT_frag_depth Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_frag_depth/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_frag_depth {
8
+ };
package/EXT_sRGB.idl ADDED
@@ -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: WebGL EXT_sRGB Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_sRGB/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_sRGB {
8
+ const GLenum SRGB_EXT = 0x8C40;
9
+ const GLenum SRGB_ALPHA_EXT = 0x8C42;
10
+ const GLenum SRGB8_ALPHA8_EXT = 0x8C43;
11
+ const GLenum FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210;
12
+ };
@@ -0,0 +1,8 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebGL EXT_shader_texture_lod Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_shader_texture_lod/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_shader_texture_lod {
8
+ };
@@ -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: WebGL EXT_texture_compression_bptc Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_compression_bptc/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_texture_compression_bptc {
8
+ const GLenum COMPRESSED_RGBA_BPTC_UNORM_EXT = 0x8E8C;
9
+ const GLenum COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT = 0x8E8D;
10
+ const GLenum COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT = 0x8E8E;
11
+ const GLenum COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT = 0x8E8F;
12
+ };
@@ -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: WebGL EXT_texture_compression_rgtc Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_compression_rgtc/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_texture_compression_rgtc {
8
+ const GLenum COMPRESSED_RED_RGTC1_EXT = 0x8DBB;
9
+ const GLenum COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC;
10
+ const GLenum COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD;
11
+ const GLenum COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 0x8DBE;
12
+ };
@@ -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: WebGL EXT_texture_filter_anisotropic Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_filter_anisotropic/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_texture_filter_anisotropic {
8
+ const GLenum TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
9
+ const GLenum MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
10
+ };
@@ -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: WebGL EXT_texture_norm16 Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_norm16/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface EXT_texture_norm16 {
8
+ const GLenum R16_EXT = 0x822A;
9
+ const GLenum RG16_EXT = 0x822C;
10
+ const GLenum RGB16_EXT = 0x8054;
11
+ const GLenum RGBA16_EXT = 0x805B;
12
+ const GLenum R16_SNORM_EXT = 0x8F98;
13
+ const GLenum RG16_SNORM_EXT = 0x8F99;
14
+ const GLenum RGB16_SNORM_EXT = 0x8F9A;
15
+ const GLenum RGBA16_SNORM_EXT = 0x8F9B;
16
+ };
package/FedCM.idl ADDED
@@ -0,0 +1,67 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
5
+
6
+ [Exposed=Window, SecureContext]
7
+ interface IdentityCredential : Credential {
8
+ readonly attribute USVString? token;
9
+ };
10
+
11
+ partial dictionary CredentialRequestOptions {
12
+ IdentityCredentialRequestOptions identity;
13
+ };
14
+
15
+ dictionary IdentityCredentialRequestOptions {
16
+ sequence<IdentityProviderConfig> providers;
17
+ };
18
+
19
+ dictionary IdentityProviderConfig {
20
+ required USVString configURL;
21
+ required USVString clientId;
22
+ USVString nonce;
23
+ };
24
+
25
+ dictionary IdentityProviderWellKnown {
26
+ required sequence<USVString> provider_urls;
27
+ };
28
+
29
+ dictionary IdentityProviderIcon {
30
+ required USVString url;
31
+ unsigned long size;
32
+ };
33
+
34
+ dictionary IdentityProviderBranding {
35
+ USVString background_color;
36
+ USVString color;
37
+ sequence<IdentityProviderIcon> icons;
38
+ USVString name;
39
+ };
40
+
41
+ dictionary IdentityProviderAPIConfig {
42
+ required USVString accounts_endpoint;
43
+ required USVString client_metadata_endpoint;
44
+ required USVString id_assertion_endpoint;
45
+ IdentityProviderBranding branding;
46
+ };
47
+
48
+ dictionary IdentityProviderAccount {
49
+ required USVString id;
50
+ required USVString name;
51
+ required USVString email;
52
+ USVString given_name;
53
+ USVString picture;
54
+ sequence<USVString> approved_clients;
55
+ };
56
+ dictionary IdentityProviderAccountList {
57
+ sequence<IdentityProviderAccount> accounts;
58
+ };
59
+
60
+ dictionary IdentityProviderToken {
61
+ required USVString token;
62
+ };
63
+
64
+ dictionary IdentityProviderClientMetadata {
65
+ USVString privacy_policy_url;
66
+ USVString terms_of_service_url;
67
+ };
package/FileAPI.idl ADDED
@@ -0,0 +1,100 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: File API (https://w3c.github.io/FileAPI/)
5
+
6
+ [Exposed=(Window,Worker), Serializable]
7
+ interface Blob {
8
+ constructor(optional sequence<BlobPart> blobParts,
9
+ optional BlobPropertyBag options = {});
10
+
11
+ readonly attribute unsigned long long size;
12
+ readonly attribute DOMString type;
13
+
14
+ // slice Blob into byte-ranged chunks
15
+ Blob slice(optional [Clamp] long long start,
16
+ optional [Clamp] long long end,
17
+ optional DOMString contentType);
18
+
19
+ // read from the Blob.
20
+ [NewObject] ReadableStream stream();
21
+ [NewObject] Promise<USVString> text();
22
+ [NewObject] Promise<ArrayBuffer> arrayBuffer();
23
+ };
24
+
25
+ enum EndingType { "transparent", "native" };
26
+
27
+ dictionary BlobPropertyBag {
28
+ DOMString type = "";
29
+ EndingType endings = "transparent";
30
+ };
31
+
32
+ typedef (BufferSource or Blob or USVString) BlobPart;
33
+
34
+ [Exposed=(Window,Worker), Serializable]
35
+ interface File : Blob {
36
+ constructor(sequence<BlobPart> fileBits,
37
+ USVString fileName,
38
+ optional FilePropertyBag options = {});
39
+ readonly attribute DOMString name;
40
+ readonly attribute long long lastModified;
41
+ };
42
+
43
+ dictionary FilePropertyBag : BlobPropertyBag {
44
+ long long lastModified;
45
+ };
46
+
47
+ [Exposed=(Window,Worker), Serializable]
48
+ interface FileList {
49
+ getter File? item(unsigned long index);
50
+ readonly attribute unsigned long length;
51
+ };
52
+
53
+ [Exposed=(Window,Worker)]
54
+ interface FileReader: EventTarget {
55
+ constructor();
56
+ // async read methods
57
+ undefined readAsArrayBuffer(Blob blob);
58
+ undefined readAsBinaryString(Blob blob);
59
+ undefined readAsText(Blob blob, optional DOMString encoding);
60
+ undefined readAsDataURL(Blob blob);
61
+
62
+ undefined abort();
63
+
64
+ // states
65
+ const unsigned short EMPTY = 0;
66
+ const unsigned short LOADING = 1;
67
+ const unsigned short DONE = 2;
68
+
69
+ readonly attribute unsigned short readyState;
70
+
71
+ // File or Blob data
72
+ readonly attribute (DOMString or ArrayBuffer)? result;
73
+
74
+ readonly attribute DOMException? error;
75
+
76
+ // event handler content attributes
77
+ attribute EventHandler onloadstart;
78
+ attribute EventHandler onprogress;
79
+ attribute EventHandler onload;
80
+ attribute EventHandler onabort;
81
+ attribute EventHandler onerror;
82
+ attribute EventHandler onloadend;
83
+ };
84
+
85
+ [Exposed=(DedicatedWorker,SharedWorker)]
86
+ interface FileReaderSync {
87
+ constructor();
88
+ // Synchronously return strings
89
+
90
+ ArrayBuffer readAsArrayBuffer(Blob blob);
91
+ DOMString readAsBinaryString(Blob blob);
92
+ DOMString readAsText(Blob blob, optional DOMString encoding);
93
+ DOMString readAsDataURL(Blob blob);
94
+ };
95
+
96
+ [Exposed=(Window,DedicatedWorker,SharedWorker)]
97
+ partial interface URL {
98
+ static DOMString createObjectURL((Blob or MediaSource) obj);
99
+ static undefined revokeObjectURL(DOMString url);
100
+ };
package/IndexedDB.idl ADDED
@@ -0,0 +1,226 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Indexed Database API 3.0 (https://w3c.github.io/IndexedDB/)
5
+
6
+ [Exposed=(Window,Worker)]
7
+ interface IDBRequest : EventTarget {
8
+ readonly attribute any result;
9
+ readonly attribute DOMException? error;
10
+ readonly attribute (IDBObjectStore or IDBIndex or IDBCursor)? source;
11
+ readonly attribute IDBTransaction? transaction;
12
+ readonly attribute IDBRequestReadyState readyState;
13
+
14
+ // Event handlers:
15
+ attribute EventHandler onsuccess;
16
+ attribute EventHandler onerror;
17
+ };
18
+
19
+ enum IDBRequestReadyState {
20
+ "pending",
21
+ "done"
22
+ };
23
+
24
+ [Exposed=(Window,Worker)]
25
+ interface IDBOpenDBRequest : IDBRequest {
26
+ // Event handlers:
27
+ attribute EventHandler onblocked;
28
+ attribute EventHandler onupgradeneeded;
29
+ };
30
+
31
+ [Exposed=(Window,Worker)]
32
+ interface IDBVersionChangeEvent : Event {
33
+ constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {});
34
+ readonly attribute unsigned long long oldVersion;
35
+ readonly attribute unsigned long long? newVersion;
36
+ };
37
+
38
+ dictionary IDBVersionChangeEventInit : EventInit {
39
+ unsigned long long oldVersion = 0;
40
+ unsigned long long? newVersion = null;
41
+ };
42
+
43
+ partial interface mixin WindowOrWorkerGlobalScope {
44
+ [SameObject] readonly attribute IDBFactory indexedDB;
45
+ };
46
+
47
+ [Exposed=(Window,Worker)]
48
+ interface IDBFactory {
49
+ [NewObject] IDBOpenDBRequest open(DOMString name,
50
+ optional [EnforceRange] unsigned long long version);
51
+ [NewObject] IDBOpenDBRequest deleteDatabase(DOMString name);
52
+
53
+ Promise<sequence<IDBDatabaseInfo>> databases();
54
+
55
+ short cmp(any first, any second);
56
+ };
57
+
58
+ dictionary IDBDatabaseInfo {
59
+ DOMString name;
60
+ unsigned long long version;
61
+ };
62
+
63
+ [Exposed=(Window,Worker)]
64
+ interface IDBDatabase : EventTarget {
65
+ readonly attribute DOMString name;
66
+ readonly attribute unsigned long long version;
67
+ readonly attribute DOMStringList objectStoreNames;
68
+
69
+ [NewObject] IDBTransaction transaction((DOMString or sequence<DOMString>) storeNames,
70
+ optional IDBTransactionMode mode = "readonly",
71
+ optional IDBTransactionOptions options = {});
72
+ undefined close();
73
+
74
+ [NewObject] IDBObjectStore createObjectStore(
75
+ DOMString name,
76
+ optional IDBObjectStoreParameters options = {});
77
+ undefined deleteObjectStore(DOMString name);
78
+
79
+ // Event handlers:
80
+ attribute EventHandler onabort;
81
+ attribute EventHandler onclose;
82
+ attribute EventHandler onerror;
83
+ attribute EventHandler onversionchange;
84
+ };
85
+
86
+ enum IDBTransactionDurability { "default", "strict", "relaxed" };
87
+
88
+ dictionary IDBTransactionOptions {
89
+ IDBTransactionDurability durability = "default";
90
+ };
91
+
92
+ dictionary IDBObjectStoreParameters {
93
+ (DOMString or sequence<DOMString>)? keyPath = null;
94
+ boolean autoIncrement = false;
95
+ };
96
+
97
+ [Exposed=(Window,Worker)]
98
+ interface IDBObjectStore {
99
+ attribute DOMString name;
100
+ readonly attribute any keyPath;
101
+ readonly attribute DOMStringList indexNames;
102
+ [SameObject] readonly attribute IDBTransaction transaction;
103
+ readonly attribute boolean autoIncrement;
104
+
105
+ [NewObject] IDBRequest put(any value, optional any key);
106
+ [NewObject] IDBRequest add(any value, optional any key);
107
+ [NewObject] IDBRequest delete(any query);
108
+ [NewObject] IDBRequest clear();
109
+ [NewObject] IDBRequest get(any query);
110
+ [NewObject] IDBRequest getKey(any query);
111
+ [NewObject] IDBRequest getAll(optional any query,
112
+ optional [EnforceRange] unsigned long count);
113
+ [NewObject] IDBRequest getAllKeys(optional any query,
114
+ optional [EnforceRange] unsigned long count);
115
+ [NewObject] IDBRequest count(optional any query);
116
+
117
+ [NewObject] IDBRequest openCursor(optional any query,
118
+ optional IDBCursorDirection direction = "next");
119
+ [NewObject] IDBRequest openKeyCursor(optional any query,
120
+ optional IDBCursorDirection direction = "next");
121
+
122
+ IDBIndex index(DOMString name);
123
+
124
+ [NewObject] IDBIndex createIndex(DOMString name,
125
+ (DOMString or sequence<DOMString>) keyPath,
126
+ optional IDBIndexParameters options = {});
127
+ undefined deleteIndex(DOMString name);
128
+ };
129
+
130
+ dictionary IDBIndexParameters {
131
+ boolean unique = false;
132
+ boolean multiEntry = false;
133
+ };
134
+
135
+ [Exposed=(Window,Worker)]
136
+ interface IDBIndex {
137
+ attribute DOMString name;
138
+ [SameObject] readonly attribute IDBObjectStore objectStore;
139
+ readonly attribute any keyPath;
140
+ readonly attribute boolean multiEntry;
141
+ readonly attribute boolean unique;
142
+
143
+ [NewObject] IDBRequest get(any query);
144
+ [NewObject] IDBRequest getKey(any query);
145
+ [NewObject] IDBRequest getAll(optional any query,
146
+ optional [EnforceRange] unsigned long count);
147
+ [NewObject] IDBRequest getAllKeys(optional any query,
148
+ optional [EnforceRange] unsigned long count);
149
+ [NewObject] IDBRequest count(optional any query);
150
+
151
+ [NewObject] IDBRequest openCursor(optional any query,
152
+ optional IDBCursorDirection direction = "next");
153
+ [NewObject] IDBRequest openKeyCursor(optional any query,
154
+ optional IDBCursorDirection direction = "next");
155
+ };
156
+
157
+ [Exposed=(Window,Worker)]
158
+ interface IDBKeyRange {
159
+ readonly attribute any lower;
160
+ readonly attribute any upper;
161
+ readonly attribute boolean lowerOpen;
162
+ readonly attribute boolean upperOpen;
163
+
164
+ // Static construction methods:
165
+ [NewObject] static IDBKeyRange only(any value);
166
+ [NewObject] static IDBKeyRange lowerBound(any lower, optional boolean open = false);
167
+ [NewObject] static IDBKeyRange upperBound(any upper, optional boolean open = false);
168
+ [NewObject] static IDBKeyRange bound(any lower,
169
+ any upper,
170
+ optional boolean lowerOpen = false,
171
+ optional boolean upperOpen = false);
172
+
173
+ boolean includes(any key);
174
+ };
175
+
176
+ [Exposed=(Window,Worker)]
177
+ interface IDBCursor {
178
+ readonly attribute (IDBObjectStore or IDBIndex) source;
179
+ readonly attribute IDBCursorDirection direction;
180
+ readonly attribute any key;
181
+ readonly attribute any primaryKey;
182
+ [SameObject] readonly attribute IDBRequest request;
183
+
184
+ undefined advance([EnforceRange] unsigned long count);
185
+ undefined continue(optional any key);
186
+ undefined continuePrimaryKey(any key, any primaryKey);
187
+
188
+ [NewObject] IDBRequest update(any value);
189
+ [NewObject] IDBRequest delete();
190
+ };
191
+
192
+ enum IDBCursorDirection {
193
+ "next",
194
+ "nextunique",
195
+ "prev",
196
+ "prevunique"
197
+ };
198
+
199
+ [Exposed=(Window,Worker)]
200
+ interface IDBCursorWithValue : IDBCursor {
201
+ readonly attribute any value;
202
+ };
203
+
204
+ [Exposed=(Window,Worker)]
205
+ interface IDBTransaction : EventTarget {
206
+ readonly attribute DOMStringList objectStoreNames;
207
+ readonly attribute IDBTransactionMode mode;
208
+ readonly attribute IDBTransactionDurability durability;
209
+ [SameObject] readonly attribute IDBDatabase db;
210
+ readonly attribute DOMException? error;
211
+
212
+ IDBObjectStore objectStore(DOMString name);
213
+ undefined commit();
214
+ undefined abort();
215
+
216
+ // Event handlers:
217
+ attribute EventHandler onabort;
218
+ attribute EventHandler oncomplete;
219
+ attribute EventHandler onerror;
220
+ };
221
+
222
+ enum IDBTransactionMode {
223
+ "readonly",
224
+ "readwrite",
225
+ "versionchange"
226
+ };