@webref/idl 3.14.0 → 3.16.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 (58) hide show
  1. package/ANGLE_instanced_arrays.idl +1 -1
  2. package/EXT_blend_minmax.idl +1 -1
  3. package/EXT_clip_cull_distance.idl +1 -1
  4. package/EXT_color_buffer_float.idl +1 -1
  5. package/EXT_color_buffer_half_float.idl +1 -1
  6. package/EXT_disjoint_timer_query.idl +1 -1
  7. package/EXT_disjoint_timer_query_webgl2.idl +1 -1
  8. package/EXT_float_blend.idl +1 -1
  9. package/EXT_frag_depth.idl +1 -1
  10. package/EXT_sRGB.idl +1 -1
  11. package/EXT_shader_texture_lod.idl +1 -1
  12. package/EXT_texture_compression_bptc.idl +1 -1
  13. package/EXT_texture_compression_rgtc.idl +1 -1
  14. package/EXT_texture_filter_anisotropic.idl +1 -1
  15. package/EXT_texture_norm16.idl +1 -1
  16. package/KHR_parallel_shader_compile.idl +1 -1
  17. package/OES_draw_buffers_indexed.idl +1 -1
  18. package/OES_element_index_uint.idl +1 -1
  19. package/OES_fbo_render_mipmap.idl +1 -1
  20. package/OES_standard_derivatives.idl +1 -1
  21. package/OES_texture_float.idl +1 -1
  22. package/OES_texture_float_linear.idl +1 -1
  23. package/OES_texture_half_float.idl +1 -1
  24. package/OES_texture_half_float_linear.idl +1 -1
  25. package/OES_vertex_array_object.idl +1 -1
  26. package/OVR_multiview2.idl +1 -1
  27. package/WEBGL_blend_equation_advanced_coherent.idl +1 -1
  28. package/WEBGL_color_buffer_float.idl +1 -1
  29. package/WEBGL_compressed_texture_astc.idl +1 -1
  30. package/WEBGL_compressed_texture_etc.idl +1 -1
  31. package/WEBGL_compressed_texture_etc1.idl +1 -1
  32. package/WEBGL_compressed_texture_pvrtc.idl +1 -1
  33. package/WEBGL_compressed_texture_s3tc.idl +1 -1
  34. package/WEBGL_compressed_texture_s3tc_srgb.idl +1 -1
  35. package/WEBGL_debug_renderer_info.idl +1 -1
  36. package/WEBGL_debug_shaders.idl +1 -1
  37. package/WEBGL_depth_texture.idl +1 -1
  38. package/WEBGL_draw_buffers.idl +1 -1
  39. package/WEBGL_draw_instanced_base_vertex_base_instance.idl +1 -1
  40. package/WEBGL_lose_context.idl +1 -1
  41. package/WEBGL_multi_draw.idl +1 -1
  42. package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +1 -1
  43. package/html.idl +1 -8
  44. package/mediacapture-viewport.idl +6 -1
  45. package/model-element.idl +9 -0
  46. package/package.json +1 -1
  47. package/raw-camera-access.idl +18 -0
  48. package/resource-timing.idl +6 -0
  49. package/screen-capture.idl +2 -2
  50. package/secure-payment-confirmation.idl +2 -2
  51. package/serial.idl +1 -1
  52. package/wai-aria.idl +49 -49
  53. package/webgl1.idl +1 -1
  54. package/webgl2.idl +1 -1
  55. package/webgpu.idl +17 -8
  56. package/webnn.idl +8 -21
  57. package/webtransport.idl +8 -0
  58. package/webxr.idl +6 -5
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL ANGLE_instanced_arrays Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/)
4
+ // Source: WebGL ANGLE_instanced_arrays Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/ANGLE_instanced_arrays/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface ANGLE_instanced_arrays {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_blend_minmax Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/)
4
+ // Source: WebGL EXT_blend_minmax Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_blend_minmax/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_blend_minmax {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_clip_cull_distance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/EXT_clip_cull_distance/)
4
+ // Source: WebGL EXT_clip_cull_distance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/EXT_clip_cull_distance/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_clip_cull_distance {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_color_buffer_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_float/)
4
+ // Source: WebGL EXT_color_buffer_float Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_color_buffer_float/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_color_buffer_float {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_color_buffer_half_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_color_buffer_half_float/)
4
+ // Source: WebGL EXT_color_buffer_half_float Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_color_buffer_half_float/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_color_buffer_half_float {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_disjoint_timer_query Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query/)
4
+ // Source: WebGL EXT_disjoint_timer_query Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_disjoint_timer_query/)
5
5
 
6
6
  typedef unsigned long long GLuint64EXT;
7
7
 
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_disjoint_timer_query_webgl2 Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_disjoint_timer_query_webgl2/)
4
+ // Source: WebGL EXT_disjoint_timer_query_webgl2 Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_disjoint_timer_query_webgl2/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_disjoint_timer_query_webgl2 {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_float_blend Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_float_blend/)
4
+ // Source: WebGL EXT_float_blend Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_float_blend/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_float_blend {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_frag_depth Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/)
4
+ // Source: WebGL EXT_frag_depth Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_frag_depth/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_frag_depth {
package/EXT_sRGB.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_sRGB Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/)
4
+ // Source: WebGL EXT_sRGB Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_sRGB/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_sRGB {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_shader_texture_lod Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/)
4
+ // Source: WebGL EXT_shader_texture_lod Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_shader_texture_lod/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_shader_texture_lod {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_texture_compression_bptc Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_compression_bptc/)
4
+ // Source: WebGL EXT_texture_compression_bptc Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_compression_bptc/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_texture_compression_bptc {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_texture_compression_rgtc Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_compression_rgtc/)
4
+ // Source: WebGL EXT_texture_compression_rgtc Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_compression_rgtc/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_texture_compression_rgtc {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_texture_filter_anisotropic Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotropic/)
4
+ // Source: WebGL EXT_texture_filter_anisotropic Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_filter_anisotropic/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_texture_filter_anisotropic {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL EXT_texture_norm16 Extension Specification (https://www.khronos.org/registry/webgl/extensions/EXT_texture_norm16/)
4
+ // Source: WebGL EXT_texture_norm16 Extension Specification (https://registry.khronos.org/webgl/extensions/EXT_texture_norm16/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface EXT_texture_norm16 {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL KHR_parallel_shader_compile Extension Specification (https://www.khronos.org/registry/webgl/extensions/KHR_parallel_shader_compile/)
4
+ // Source: WebGL KHR_parallel_shader_compile Extension Specification (https://registry.khronos.org/webgl/extensions/KHR_parallel_shader_compile/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface KHR_parallel_shader_compile {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_draw_buffers_indexed Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_draw_buffers_indexed/)
4
+ // Source: WebGL OES_draw_buffers_indexed Extension Specification (https://registry.khronos.org/webgl/extensions/OES_draw_buffers_indexed/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_draw_buffers_indexed {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_element_index_uint Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/)
4
+ // Source: WebGL OES_element_index_uint Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/OES_element_index_uint/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_element_index_uint {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_fbo_render_mipmap Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_fbo_render_mipmap/)
4
+ // Source: WebGL OES_fbo_render_mipmap Extension Specification (https://registry.khronos.org/webgl/extensions/OES_fbo_render_mipmap/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_fbo_render_mipmap {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_standard_derivatives Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/)
4
+ // Source: WebGL OES_standard_derivatives Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/OES_standard_derivatives/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_standard_derivatives {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_texture_float Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_float/)
4
+ // Source: WebGL OES_texture_float Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/OES_texture_float/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_texture_float { };
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_texture_float_linear Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/)
4
+ // Source: WebGL OES_texture_float_linear Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/OES_texture_float_linear/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_texture_float_linear { };
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_texture_half_float Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/)
4
+ // Source: WebGL OES_texture_half_float Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/OES_texture_half_float/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_texture_half_float {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_texture_half_float_linear Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linear/)
4
+ // Source: WebGL OES_texture_half_float_linear Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/OES_texture_half_float_linear/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_texture_half_float_linear { };
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OES_vertex_array_object Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/)
4
+ // Source: WebGL OES_vertex_array_object Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/OES_vertex_array_object/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WebGLVertexArrayObjectOES : WebGLObject {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL OVR_multiview2 Extension Specification (https://www.khronos.org/registry/webgl/extensions/OVR_multiview2/)
4
+ // Source: WebGL OVR_multiview2 Extension Specification (https://registry.khronos.org/webgl/extensions/OVR_multiview2/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OVR_multiview2 {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_blend_equation_advanced_coherent Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_blend_equation_advanced_coherent/)
4
+ // Source: WebGL WEBGL_blend_equation_advanced_coherent Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_blend_equation_advanced_coherent/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_blend_equation_advanced_coherent {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_color_buffer_float Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_color_buffer_float/)
4
+ // Source: WebGL WEBGL_color_buffer_float Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_color_buffer_float/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_color_buffer_float {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_compressed_texture_astc Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_astc/)
4
+ // Source: WebGL WEBGL_compressed_texture_astc Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_astc/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_compressed_texture_astc {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_compressed_texture_etc Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc/)
4
+ // Source: WebGL WEBGL_compressed_texture_etc Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_etc/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_compressed_texture_etc {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_compressed_texture_etc1 Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_etc1/)
4
+ // Source: WebGL WEBGL_compressed_texture_etc1 Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_etc1/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_compressed_texture_etc1 {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_compressed_texture_pvrtc Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvrtc/)
4
+ // Source: WebGL WEBGL_compressed_texture_pvrtc Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_pvrtc/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_compressed_texture_pvrtc {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_compressed_texture_s3tc Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc/)
4
+ // Source: WebGL WEBGL_compressed_texture_s3tc Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_compressed_texture_s3tc {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_compressed_texture_s3tc_srgb Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/)
4
+ // Source: WebGL WEBGL_compressed_texture_s3tc_srgb Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_compressed_texture_s3tc_srgb {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_debug_renderer_info Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/)
4
+ // Source: WebGL WEBGL_debug_renderer_info Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_debug_renderer_info/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_debug_renderer_info {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_debug_shaders Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/)
4
+ // Source: WebGL WEBGL_debug_shaders Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_debug_shaders/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_debug_shaders {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_depth_texture Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)
4
+ // Source: WebGL WEBGL_depth_texture Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_depth_texture/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_depth_texture {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_draw_buffers Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_draw_buffers/)
4
+ // Source: WebGL WEBGL_draw_buffers Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_draw_buffers/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_draw_buffers {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_draw_instanced_base_vertex_base_instance/)
4
+ // Source: WebGL WEBGL_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_draw_instanced_base_vertex_base_instance/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_draw_instanced_base_vertex_base_instance {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_lose_context Khronos Ratified Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/)
4
+ // Source: WebGL WEBGL_lose_context Khronos Ratified Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_lose_context/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_lose_context {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_multi_draw Extension Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_multi_draw/)
4
+ // Source: WebGL WEBGL_multi_draw Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_multi_draw/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_multi_draw {
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL WEBGL_multi_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://www.khronos.org/registry/webgl/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/)
4
+ // Source: WebGL WEBGL_multi_draw_instanced_base_vertex_base_instance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
package/html.idl CHANGED
@@ -1364,14 +1364,7 @@ interface mixin CanvasShadowStyles {
1364
1364
 
1365
1365
  interface mixin CanvasFilters {
1366
1366
  // filters
1367
- attribute (DOMString or CanvasFilter) filter; // (default "none")
1368
- };
1369
-
1370
- typedef record<DOMString, any> CanvasFilterInput;
1371
-
1372
- [Exposed=(Window,Worker,PaintWorklet)]
1373
- interface CanvasFilter {
1374
- constructor(optional (CanvasFilterInput or sequence<CanvasFilterInput>) filters);
1367
+ attribute DOMString filter; // (default "none")
1375
1368
  };
1376
1369
 
1377
1370
  interface mixin CanvasRect {
@@ -5,5 +5,10 @@
5
5
 
6
6
  partial interface MediaDevices {
7
7
  Promise<MediaStream> getViewportMedia(
8
- optional DisplayMediaStreamConstraints constraints = {});
8
+ optional ViewportMediaStreamConstraints constraints = {});
9
+ };
10
+
11
+ dictionary ViewportMediaStreamConstraints {
12
+ (boolean or MediaTrackConstraints) video = true;
13
+ (boolean or MediaTrackConstraints) audio = false;
9
14
  };
@@ -0,0 +1,9 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: The <model> element (https://immersive-web.github.io/model-element/)
5
+
6
+ [Exposed=Window]
7
+ interface HTMLModelElement : HTMLElement {
8
+
9
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.14.0",
4
+ "version": "3.16.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -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
+ };
@@ -22,9 +22,15 @@ interface PerformanceResourceTiming : PerformanceEntry {
22
22
  readonly attribute unsigned long long transferSize;
23
23
  readonly attribute unsigned long long encodedBodySize;
24
24
  readonly attribute unsigned long long decodedBodySize;
25
+ readonly attribute RenderBlockingStatusType renderBlockingStatus;
25
26
  [Default] object toJSON();
26
27
  };
27
28
 
29
+ enum RenderBlockingStatusType {
30
+ "blocking",
31
+ "non-blocking"
32
+ };
33
+
28
34
  partial interface Performance {
29
35
  undefined clearResourceTimings ();
30
36
  undefined setResourceTimingBufferSize (unsigned long maxSize);
@@ -4,7 +4,7 @@
4
4
  // Source: Screen Capture (https://w3c.github.io/mediacapture-screen-share/)
5
5
 
6
6
  partial interface MediaDevices {
7
- Promise<MediaStream> getDisplayMedia(optional DisplayMediaStreamConstraints constraints = {});
7
+ Promise<MediaStream> getDisplayMedia(optional DisplayMediaStreamOptions options = {});
8
8
  };
9
9
 
10
10
  enum SelfCapturePreferenceEnum {
@@ -22,7 +22,7 @@ enum SurfaceSwitchingPreferenceEnum {
22
22
  "exclude"
23
23
  };
24
24
 
25
- dictionary DisplayMediaStreamConstraints {
25
+ dictionary DisplayMediaStreamOptions {
26
26
  (boolean or MediaTrackConstraints) video = true;
27
27
  (boolean or MediaTrackConstraints) audio = false;
28
28
  SelfCapturePreferenceEnum selfBrowserSurface;
@@ -22,7 +22,7 @@ dictionary AuthenticationExtensionsPaymentInputs {
22
22
  boolean isPayment;
23
23
 
24
24
  // Only used for authentication.
25
- USVString rp;
25
+ USVString rpId;
26
26
  USVString topOrigin;
27
27
  DOMString payeeName;
28
28
  USVString payeeOrigin;
@@ -35,7 +35,7 @@ dictionary CollectedClientPaymentData : CollectedClientData {
35
35
  };
36
36
 
37
37
  dictionary CollectedClientAdditionalPaymentData {
38
- required USVString rp;
38
+ required USVString rpId;
39
39
  required USVString topOrigin;
40
40
  DOMString payeeName;
41
41
  USVString payeeOrigin;
package/serial.idl CHANGED
@@ -52,7 +52,7 @@ dictionary SerialPortInfo {
52
52
  };
53
53
 
54
54
  dictionary SerialOptions {
55
- required [EnforceRange] unsigned long baudRate;
55
+ [EnforceRange] required unsigned long baudRate;
56
56
  [EnforceRange] octet dataBits = 8;
57
57
  [EnforceRange] octet stopBits = 1;
58
58
  ParityType parity = "none";
package/wai-aria.idl CHANGED
@@ -4,56 +4,56 @@
4
4
  // Source: Accessible Rich Internet Applications (WAI-ARIA) 1.3 (https://w3c.github.io/aria/)
5
5
 
6
6
  interface mixin ARIAMixin {
7
- attribute DOMString? role;
8
- attribute Element? ariaActiveDescendantElement;
9
- attribute DOMString? ariaAtomic;
10
- attribute DOMString? ariaAutoComplete;
11
- attribute DOMString? ariaBusy;
12
- attribute DOMString? ariaChecked;
13
- attribute DOMString? ariaColCount;
14
- attribute DOMString? ariaColIndex;
15
- attribute DOMString? ariaColIndexText;
16
- attribute DOMString? ariaColSpan;
17
- attribute FrozenArray<Element>? ariaControlsElements;
18
- attribute DOMString? ariaCurrent;
19
- attribute FrozenArray<Element>? ariaDescribedByElements;
20
- attribute DOMString? ariaDescription;
21
- attribute FrozenArray<Element>? ariaDetailsElements;
22
- attribute DOMString? ariaDisabled;
23
- attribute Element? ariaErrorMessageElement;
24
- attribute DOMString? ariaExpanded;
25
- attribute FrozenArray<Element>? ariaFlowToElements;
26
- attribute DOMString? ariaHasPopup;
27
- attribute DOMString? ariaHidden;
28
- attribute DOMString? ariaInvalid;
29
- attribute DOMString? ariaKeyShortcuts;
30
- attribute DOMString? ariaLabel;
31
- attribute FrozenArray<Element>? ariaLabelledByElements;
32
- attribute DOMString? ariaLevel;
33
- attribute DOMString? ariaLive;
34
- attribute DOMString? ariaModal;
35
- attribute DOMString? ariaMultiLine;
36
- attribute DOMString? ariaMultiSelectable;
37
- attribute DOMString? ariaOrientation;
38
- attribute FrozenArray<Element>? ariaOwnsElements;
39
- attribute DOMString? ariaPlaceholder;
40
- attribute DOMString? ariaPosInSet;
41
- attribute DOMString? ariaPressed;
42
- attribute DOMString? ariaReadOnly;
7
+ [CEReactions] attribute DOMString? role;
8
+ [CEReactions] attribute Element? ariaActiveDescendantElement;
9
+ [CEReactions] attribute DOMString? ariaAtomic;
10
+ [CEReactions] attribute DOMString? ariaAutoComplete;
11
+ [CEReactions] attribute DOMString? ariaBusy;
12
+ [CEReactions] attribute DOMString? ariaChecked;
13
+ [CEReactions] attribute DOMString? ariaColCount;
14
+ [CEReactions] attribute DOMString? ariaColIndex;
15
+ [CEReactions] attribute DOMString? ariaColIndexText;
16
+ [CEReactions] attribute DOMString? ariaColSpan;
17
+ [CEReactions] attribute FrozenArray<Element>? ariaControlsElements;
18
+ [CEReactions] attribute DOMString? ariaCurrent;
19
+ [CEReactions] attribute FrozenArray<Element>? ariaDescribedByElements;
20
+ [CEReactions] attribute DOMString? ariaDescription;
21
+ [CEReactions] attribute FrozenArray<Element>? ariaDetailsElements;
22
+ [CEReactions] attribute DOMString? ariaDisabled;
23
+ [CEReactions] attribute Element? ariaErrorMessageElement;
24
+ [CEReactions] attribute DOMString? ariaExpanded;
25
+ [CEReactions] attribute FrozenArray<Element>? ariaFlowToElements;
26
+ [CEReactions] attribute DOMString? ariaHasPopup;
27
+ [CEReactions] attribute DOMString? ariaHidden;
28
+ [CEReactions] attribute DOMString? ariaInvalid;
29
+ [CEReactions] attribute DOMString? ariaKeyShortcuts;
30
+ [CEReactions] attribute DOMString? ariaLabel;
31
+ [CEReactions] attribute FrozenArray<Element>? ariaLabelledByElements;
32
+ [CEReactions] attribute DOMString? ariaLevel;
33
+ [CEReactions] attribute DOMString? ariaLive;
34
+ [CEReactions] attribute DOMString? ariaModal;
35
+ [CEReactions] attribute DOMString? ariaMultiLine;
36
+ [CEReactions] attribute DOMString? ariaMultiSelectable;
37
+ [CEReactions] attribute DOMString? ariaOrientation;
38
+ [CEReactions] attribute FrozenArray<Element>? ariaOwnsElements;
39
+ [CEReactions] attribute DOMString? ariaPlaceholder;
40
+ [CEReactions] attribute DOMString? ariaPosInSet;
41
+ [CEReactions] attribute DOMString? ariaPressed;
42
+ [CEReactions] attribute DOMString? ariaReadOnly;
43
43
 
44
- attribute DOMString? ariaRequired;
45
- attribute DOMString? ariaRoleDescription;
46
- attribute DOMString? ariaRowCount;
47
- attribute DOMString? ariaRowIndex;
48
- attribute DOMString? ariaRowIndexText;
49
- attribute DOMString? ariaRowSpan;
50
- attribute DOMString? ariaSelected;
51
- attribute DOMString? ariaSetSize;
52
- attribute DOMString? ariaSort;
53
- attribute DOMString? ariaValueMax;
54
- attribute DOMString? ariaValueMin;
55
- attribute DOMString? ariaValueNow;
56
- attribute DOMString? ariaValueText;
44
+ [CEReactions] attribute DOMString? ariaRequired;
45
+ [CEReactions] attribute DOMString? ariaRoleDescription;
46
+ [CEReactions] attribute DOMString? ariaRowCount;
47
+ [CEReactions] attribute DOMString? ariaRowIndex;
48
+ [CEReactions] attribute DOMString? ariaRowIndexText;
49
+ [CEReactions] attribute DOMString? ariaRowSpan;
50
+ [CEReactions] attribute DOMString? ariaSelected;
51
+ [CEReactions] attribute DOMString? ariaSetSize;
52
+ [CEReactions] attribute DOMString? ariaSort;
53
+ [CEReactions] attribute DOMString? ariaValueMax;
54
+ [CEReactions] attribute DOMString? ariaValueMin;
55
+ [CEReactions] attribute DOMString? ariaValueNow;
56
+ [CEReactions] attribute DOMString? ariaValueText;
57
57
  };
58
58
 
59
59
  Element includes ARIAMixin;
package/webgl1.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL Specification (https://www.khronos.org/registry/webgl/specs/latest/1.0/)
4
+ // Source: WebGL Specification (https://registry.khronos.org/webgl/specs/latest/1.0/)
5
5
 
6
6
  typedef unsigned long GLenum;
7
7
  typedef boolean GLboolean;
package/webgl2.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebGL 2.0 Specification (https://www.khronos.org/registry/webgl/specs/latest/2.0/)
4
+ // Source: WebGL 2.0 Specification (https://registry.khronos.org/webgl/specs/latest/2.0/)
5
5
 
6
6
  typedef long long GLint64;
7
7
  typedef unsigned long long GLuint64;
package/webgpu.idl CHANGED
@@ -18,6 +18,7 @@ interface GPUSupportedLimits {
18
18
  readonly attribute unsigned long maxTextureDimension3D;
19
19
  readonly attribute unsigned long maxTextureArrayLayers;
20
20
  readonly attribute unsigned long maxBindGroups;
21
+ readonly attribute unsigned long maxBindingsPerBindGroup;
21
22
  readonly attribute unsigned long maxDynamicUniformBuffersPerPipelineLayout;
22
23
  readonly attribute unsigned long maxDynamicStorageBuffersPerPipelineLayout;
23
24
  readonly attribute unsigned long maxSampledTexturesPerShaderStage;
@@ -30,11 +31,13 @@ interface GPUSupportedLimits {
30
31
  readonly attribute unsigned long minUniformBufferOffsetAlignment;
31
32
  readonly attribute unsigned long minStorageBufferOffsetAlignment;
32
33
  readonly attribute unsigned long maxVertexBuffers;
34
+ readonly attribute unsigned long long maxBufferSize;
33
35
  readonly attribute unsigned long maxVertexAttributes;
34
36
  readonly attribute unsigned long maxVertexBufferArrayStride;
35
37
  readonly attribute unsigned long maxInterStageShaderComponents;
36
38
  readonly attribute unsigned long maxInterStageShaderVariables;
37
39
  readonly attribute unsigned long maxColorAttachments;
40
+ readonly attribute unsigned long maxColorAttachmentBytesPerPixel;
38
41
  readonly attribute unsigned long maxComputeWorkgroupStorageSize;
39
42
  readonly attribute unsigned long maxComputeInvocationsPerWorkgroup;
40
43
  readonly attribute unsigned long maxComputeWorkgroupSizeX;
@@ -896,7 +899,7 @@ dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
896
899
  };
897
900
 
898
901
  dictionary GPUImageCopyExternalImage {
899
- required (ImageBitmap or HTMLCanvasElement or OffscreenCanvas) source;
902
+ required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source;
900
903
  GPUOrigin2D origin = {};
901
904
  boolean flipY = false;
902
905
  };
@@ -1157,26 +1160,32 @@ partial interface GPUDevice {
1157
1160
  readonly attribute Promise<GPUDeviceLostInfo> lost;
1158
1161
  };
1159
1162
 
1160
- enum GPUErrorFilter {
1161
- "out-of-memory",
1162
- "validation"
1163
- };
1164
-
1165
1163
  [Exposed=(Window, DedicatedWorker), SecureContext]
1166
1164
  interface GPUError {
1167
1165
  readonly attribute DOMString message;
1168
1166
  };
1169
1167
 
1168
+ [Exposed=(Window, DedicatedWorker), SecureContext]
1169
+ interface GPUValidationError : GPUError {
1170
+ constructor(DOMString message);
1171
+ };
1172
+
1170
1173
  [Exposed=(Window, DedicatedWorker), SecureContext]
1171
1174
  interface GPUOutOfMemoryError : GPUError {
1172
1175
  constructor(DOMString message);
1173
1176
  };
1174
1177
 
1175
1178
  [Exposed=(Window, DedicatedWorker), SecureContext]
1176
- interface GPUValidationError : GPUError {
1179
+ interface GPUInternalError : GPUError {
1177
1180
  constructor(DOMString message);
1178
1181
  };
1179
1182
 
1183
+ enum GPUErrorFilter {
1184
+ "validation",
1185
+ "out-of-memory",
1186
+ "internal"
1187
+ };
1188
+
1180
1189
  partial interface GPUDevice {
1181
1190
  undefined pushErrorScope(GPUErrorFilter filter);
1182
1191
  Promise<GPUError?> popErrorScope();
@@ -1188,7 +1197,7 @@ interface GPUUncapturedErrorEvent : Event {
1188
1197
  DOMString type,
1189
1198
  GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict
1190
1199
  );
1191
- readonly attribute GPUError error;
1200
+ [SameObject] readonly attribute GPUError error;
1192
1201
  };
1193
1202
 
1194
1203
  dictionary GPUUncapturedErrorEventInit : EventInit {
package/webnn.idl CHANGED
@@ -31,26 +31,20 @@ interface ML {
31
31
  MLContext createContext(GPUDevice gpuDevice);
32
32
  };
33
33
 
34
- dictionary MLArrayInput {
35
- required ArrayBufferView resource;
36
- required sequence<long> dimensions;
37
- };
38
-
39
- typedef record<DOMString, (ArrayBufferView or MLArrayInput)> MLNamedArrayInputs;
40
- typedef record<DOMString, ArrayBufferView> MLNamedArrayOutputs;
34
+ typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
41
35
 
42
36
  [SecureContext, Exposed=(Window, DedicatedWorker)]
43
37
  interface MLContext {};
44
38
 
45
39
  partial interface MLContext {
46
40
  [Exposed=(DedicatedWorker)]
47
- undefined compute(MLGraph graph, MLNamedArrayInputs inputs, MLNamedArrayOutputs outputs);
41
+ undefined compute(
42
+ MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
48
43
  };
49
44
 
50
45
  partial interface MLContext {
51
- Promise<undefined> computeAsync(MLGraph graph, MLNamedArrayInputs inputs,
52
-
53
- MLNamedArrayOutputs outputs);
46
+ Promise<undefined> computeAsync(
47
+ MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
54
48
  };
55
49
 
56
50
  partial interface MLContext {
@@ -76,8 +70,7 @@ dictionary MLOperandDescriptor {
76
70
  required MLOperandType type;
77
71
 
78
72
  // The dimensions field is only required for tensor operands.
79
- // The negative value means an unknown dimension.
80
- sequence<long> dimensions;
73
+ sequence<unsigned long> dimensions;
81
74
  };
82
75
 
83
76
  [SecureContext, Exposed=(Window, DedicatedWorker)]
@@ -484,13 +477,7 @@ interface MLGraph {};
484
477
 
485
478
  typedef (GPUBuffer or GPUTexture) MLGPUResource;
486
479
 
487
- dictionary MLGPUInput {
488
- required MLGPUResource resource;
489
- required sequence<long> dimensions;
490
- };
491
-
492
- typedef record<DOMString, (MLGPUResource or MLGPUInput)> MLNamedGPUInputs;
493
- typedef record<DOMString, MLGPUResource> MLNamedGPUOutputs;
480
+ typedef record<DOMString, MLGPUResource> MLNamedGPUResources;
494
481
 
495
482
  [SecureContext, Exposed=(Window, DedicatedWorker)]
496
483
  interface MLCommandEncoder {};
@@ -500,7 +487,7 @@ partial interface MLCommandEncoder {
500
487
  };
501
488
 
502
489
  partial interface MLCommandEncoder {
503
- undefined dispatch(MLGraph graph, MLNamedGPUInputs inputs, MLNamedGPUOutputs outputs);
490
+ undefined dispatch(MLGraph graph, MLNamedGPUResources inputs, MLNamedGPUResources outputs);
504
491
  };
505
492
 
506
493
  partial interface MLCommandEncoder {
package/webtransport.idl CHANGED
@@ -22,6 +22,7 @@ interface WebTransport {
22
22
  Promise<WebTransportStats> getStats();
23
23
  readonly attribute Promise<undefined> ready;
24
24
  readonly attribute WebTransportReliabilityMode reliability;
25
+ readonly attribute WebTransportCongestionControl congestionControl;
25
26
  readonly attribute Promise<WebTransportCloseInfo> closed;
26
27
  undefined close(optional WebTransportCloseInfo closeInfo = {});
27
28
 
@@ -51,6 +52,13 @@ dictionary WebTransportOptions {
51
52
  boolean allowPooling = false;
52
53
  boolean requireUnreliable = false;
53
54
  sequence<WebTransportHash> serverCertificateHashes;
55
+ WebTransportCongestionControl congestionControl = "default";
56
+ };
57
+
58
+ enum WebTransportCongestionControl {
59
+ "default",
60
+ "throughput",
61
+ "low-latency",
54
62
  };
55
63
 
56
64
  dictionary WebTransportCloseInfo {
package/webxr.idl CHANGED
@@ -23,8 +23,8 @@ enum XRSessionMode {
23
23
  };
24
24
 
25
25
  dictionary XRSessionInit {
26
- sequence<any> requiredFeatures;
27
- sequence<any> optionalFeatures;
26
+ sequence<DOMString> requiredFeatures;
27
+ sequence<DOMString> optionalFeatures;
28
28
  };
29
29
 
30
30
  enum XRVisibilityState {
@@ -40,6 +40,7 @@ enum XRVisibilityState {
40
40
  readonly attribute Float32Array? supportedFrameRates;
41
41
  [SameObject] readonly attribute XRRenderState renderState;
42
42
  [SameObject] readonly attribute XRInputSourceArray inputSources;
43
+ readonly attribute FrozenArray<DOMString> enabledFeatures;
43
44
 
44
45
  // Methods
45
46
  undefined updateRenderState(optional XRRenderStateInit state = {});
@@ -283,11 +284,11 @@ dictionary XRSessionSupportedPermissionDescriptor: PermissionDescriptor {
283
284
 
284
285
  dictionary XRPermissionDescriptor: PermissionDescriptor {
285
286
  XRSessionMode mode;
286
- sequence<any> requiredFeatures;
287
- sequence<any> optionalFeatures;
287
+ sequence<DOMString> requiredFeatures;
288
+ sequence<DOMString> optionalFeatures;
288
289
  };
289
290
 
290
291
  [Exposed=Window]
291
292
  interface XRPermissionStatus: PermissionStatus {
292
- attribute FrozenArray<any> granted;
293
+ attribute FrozenArray<DOMString> granted;
293
294
  };