@webref/idl 3.29.0 → 3.30.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 +19 -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 +16 -0
  67. package/compute-pressure.idl +40 -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 +645 -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 +97 -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 +2716 -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 +101 -0
  176. package/orientation-event.idl +82 -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 +29 -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/requestStorageAccessForOrigin.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 +57 -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 +52 -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 +240 -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 +63 -0
  233. package/ua-client-hints.idl +44 -0
  234. package/uievents.idl +248 -0
  235. package/url.idl +44 -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 +110 -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 +251 -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 +349 -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 +1267 -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 +628 -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,112 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Payment Request API 1.1 (https://w3c.github.io/payment-request/)
5
+
6
+ [SecureContext, Exposed=Window]
7
+ interface PaymentRequest : EventTarget {
8
+ constructor(
9
+ sequence<PaymentMethodData> methodData,
10
+ PaymentDetailsInit details
11
+ );
12
+ [NewObject]
13
+ Promise<PaymentResponse> show(optional Promise<PaymentDetailsUpdate> detailsPromise);
14
+ [NewObject]
15
+ Promise<undefined> abort();
16
+ [NewObject]
17
+ Promise<boolean> canMakePayment();
18
+
19
+ readonly attribute DOMString id;
20
+
21
+ attribute EventHandler onpaymentmethodchange;
22
+ };
23
+
24
+ dictionary PaymentMethodData {
25
+ required DOMString supportedMethods;
26
+ object data;
27
+ };
28
+
29
+ dictionary PaymentCurrencyAmount {
30
+ required DOMString currency;
31
+ required DOMString value;
32
+ };
33
+
34
+ dictionary PaymentDetailsBase {
35
+ sequence<PaymentItem> displayItems;
36
+ sequence<PaymentDetailsModifier> modifiers;
37
+ };
38
+
39
+ dictionary PaymentDetailsInit : PaymentDetailsBase {
40
+ DOMString id;
41
+ required PaymentItem total;
42
+ };
43
+
44
+ dictionary PaymentDetailsUpdate : PaymentDetailsBase {
45
+ PaymentItem total;
46
+ object paymentMethodErrors;
47
+ };
48
+
49
+ dictionary PaymentDetailsModifier {
50
+ required DOMString supportedMethods;
51
+ PaymentItem total;
52
+ sequence<PaymentItem> additionalDisplayItems;
53
+ object data;
54
+ };
55
+
56
+ dictionary PaymentItem {
57
+ required DOMString label;
58
+ required PaymentCurrencyAmount amount;
59
+ boolean pending = false;
60
+ };
61
+
62
+ dictionary PaymentCompleteDetails {
63
+ object? data = null;
64
+ };
65
+
66
+ enum PaymentComplete {
67
+ "fail",
68
+ "success",
69
+ "unknown"
70
+ };
71
+
72
+ [SecureContext, Exposed=Window]
73
+ interface PaymentResponse : EventTarget {
74
+ [Default] object toJSON();
75
+
76
+ readonly attribute DOMString requestId;
77
+ readonly attribute DOMString methodName;
78
+ readonly attribute object details;
79
+
80
+ [NewObject]
81
+ Promise<undefined> complete(
82
+ optional PaymentComplete result = "unknown",
83
+ optional PaymentCompleteDetails details = {}
84
+ );
85
+ [NewObject]
86
+ Promise<undefined> retry(optional PaymentValidationErrors errorFields = {});
87
+ };
88
+
89
+ dictionary PaymentValidationErrors {
90
+ DOMString error;
91
+ object paymentMethod;
92
+ };
93
+
94
+ [SecureContext, Exposed=Window]
95
+ interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
96
+ constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {});
97
+ readonly attribute DOMString methodName;
98
+ readonly attribute object? methodDetails;
99
+ };
100
+
101
+ dictionary PaymentMethodChangeEventInit : PaymentRequestUpdateEventInit {
102
+ DOMString methodName = "";
103
+ object? methodDetails = null;
104
+ };
105
+
106
+ [SecureContext, Exposed=Window]
107
+ interface PaymentRequestUpdateEvent : Event {
108
+ constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict = {});
109
+ undefined updateWith(Promise<PaymentDetailsUpdate> detailsPromise);
110
+ };
111
+
112
+ dictionary PaymentRequestUpdateEventInit : EventInit {};
@@ -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: Measure Memory API (https://wicg.github.io/performance-measure-memory/)
5
+
6
+ dictionary MemoryMeasurement {
7
+ unsigned long long bytes;
8
+ sequence<MemoryBreakdownEntry> breakdown;
9
+ };
10
+
11
+ dictionary MemoryBreakdownEntry {
12
+ unsigned long long bytes;
13
+ sequence<MemoryAttribution> attribution;
14
+ sequence<DOMString> types;
15
+ };
16
+
17
+ dictionary MemoryAttribution {
18
+ USVString url;
19
+ MemoryAttributionContainer container;
20
+ DOMString scope;
21
+ };
22
+
23
+ dictionary MemoryAttributionContainer {
24
+ DOMString id;
25
+ USVString src;
26
+ };
27
+
28
+ partial interface Performance {
29
+ [Exposed=(Window,ServiceWorker,SharedWorker), CrossOriginIsolated] Promise<MemoryMeasurement> measureUserAgentSpecificMemory();
30
+ };
@@ -0,0 +1,49 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Performance Timeline (https://w3c.github.io/performance-timeline/)
5
+
6
+ partial interface Performance {
7
+ PerformanceEntryList getEntries ();
8
+ PerformanceEntryList getEntriesByType (DOMString type);
9
+ PerformanceEntryList getEntriesByName (DOMString name, optional DOMString type);
10
+ };
11
+ typedef sequence<PerformanceEntry> PerformanceEntryList;
12
+
13
+ [Exposed=(Window,Worker)]
14
+ interface PerformanceEntry {
15
+ readonly attribute DOMString name;
16
+ readonly attribute DOMString entryType;
17
+ readonly attribute DOMHighResTimeStamp startTime;
18
+ readonly attribute DOMHighResTimeStamp duration;
19
+ [Default] object toJSON();
20
+ };
21
+
22
+ callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries,
23
+ PerformanceObserver observer,
24
+ optional PerformanceObserverCallbackOptions options = {});
25
+ [Exposed=(Window,Worker)]
26
+ interface PerformanceObserver {
27
+ constructor(PerformanceObserverCallback callback);
28
+ undefined observe (optional PerformanceObserverInit options = {});
29
+ undefined disconnect ();
30
+ PerformanceEntryList takeRecords();
31
+ [SameObject] static readonly attribute FrozenArray<DOMString> supportedEntryTypes;
32
+ };
33
+
34
+ dictionary PerformanceObserverCallbackOptions {
35
+ unsigned long long droppedEntriesCount;
36
+ };
37
+
38
+ dictionary PerformanceObserverInit {
39
+ sequence<DOMString> entryTypes;
40
+ DOMString type;
41
+ boolean buffered;
42
+ };
43
+
44
+ [Exposed=(Window,Worker)]
45
+ interface PerformanceObserverEntryList {
46
+ PerformanceEntryList getEntries();
47
+ PerformanceEntryList getEntriesByType (DOMString type);
48
+ PerformanceEntryList getEntriesByName (DOMString name, optional DOMString type);
49
+ };
@@ -0,0 +1,34 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Web Periodic Background Synchronization (https://wicg.github.io/periodic-background-sync/)
5
+
6
+ partial interface ServiceWorkerGlobalScope {
7
+ attribute EventHandler onperiodicsync;
8
+ };
9
+
10
+ [Exposed=(Window,Worker)]
11
+ partial interface ServiceWorkerRegistration {
12
+ readonly attribute PeriodicSyncManager periodicSync;
13
+ };
14
+
15
+ [Exposed=(Window,Worker)]
16
+ interface PeriodicSyncManager {
17
+ Promise<undefined> register(DOMString tag, optional BackgroundSyncOptions options = {});
18
+ Promise<sequence<DOMString>> getTags();
19
+ Promise<undefined> unregister(DOMString tag);
20
+ };
21
+
22
+ dictionary BackgroundSyncOptions {
23
+ [EnforceRange] unsigned long long minInterval = 0;
24
+ };
25
+
26
+ dictionary PeriodicSyncEventInit : ExtendableEventInit {
27
+ required DOMString tag;
28
+ };
29
+
30
+ [Exposed=ServiceWorker]
31
+ interface PeriodicSyncEvent : ExtendableEvent {
32
+ constructor(DOMString type, PeriodicSyncEventInit init);
33
+ readonly attribute DOMString tag;
34
+ };
@@ -0,0 +1,29 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Permissions Policy (https://w3c.github.io/webappsec-permissions-policy/)
5
+
6
+ [Exposed=Window]
7
+ interface PermissionsPolicy {
8
+ boolean allowsFeature(DOMString feature, optional DOMString origin);
9
+ sequence<DOMString> features();
10
+ sequence<DOMString> allowedFeatures();
11
+ sequence<DOMString> getAllowlistForFeature(DOMString feature);
12
+ };
13
+
14
+ partial interface Document {
15
+ [SameObject] readonly attribute PermissionsPolicy permissionsPolicy;
16
+ };
17
+
18
+ partial interface HTMLIFrameElement {
19
+ [SameObject] readonly attribute PermissionsPolicy permissionsPolicy;
20
+ };
21
+
22
+ [Exposed=Window]
23
+ interface PermissionsPolicyViolationReportBody : ReportBody {
24
+ readonly attribute DOMString featureId;
25
+ readonly attribute DOMString? sourceFile;
26
+ readonly attribute long? lineNumber;
27
+ readonly attribute long? columnNumber;
28
+ readonly attribute DOMString disposition;
29
+ };
@@ -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: Requesting Permissions (https://wicg.github.io/permissions-request/)
5
+
6
+ partial interface Permissions {
7
+ Promise<PermissionStatus> request(object permissionDesc);
8
+ };
@@ -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: Relinquishing Permissions (https://wicg.github.io/permissions-revoke/)
5
+
6
+ partial interface Permissions {
7
+ Promise<PermissionStatus> revoke(object permissionDesc);
8
+ };
@@ -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: Permissions (https://w3c.github.io/permissions/)
5
+
6
+ [Exposed=(Window)]
7
+ partial interface Navigator {
8
+ [SameObject] readonly attribute Permissions permissions;
9
+ };
10
+
11
+ [Exposed=(Worker)]
12
+ partial interface WorkerNavigator {
13
+ [SameObject] readonly attribute Permissions permissions;
14
+ };
15
+
16
+ [Exposed=(Window,Worker)]
17
+ interface Permissions {
18
+ Promise<PermissionStatus> query(object permissionDesc);
19
+ };
20
+
21
+ dictionary PermissionDescriptor {
22
+ required DOMString name;
23
+ };
24
+
25
+ [Exposed=(Window,Worker)]
26
+ interface PermissionStatus : EventTarget {
27
+ readonly attribute PermissionState state;
28
+ readonly attribute DOMString name;
29
+ attribute EventHandler onchange;
30
+ };
31
+
32
+ enum PermissionState {
33
+ "granted",
34
+ "denied",
35
+ "prompt",
36
+ };
37
+
38
+ dictionary PermissionSetParameters {
39
+ required PermissionDescriptor descriptor;
40
+ required PermissionState state;
41
+ };
@@ -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: Picture-in-Picture (https://w3c.github.io/picture-in-picture/)
5
+
6
+ partial interface HTMLVideoElement {
7
+ [NewObject] Promise<PictureInPictureWindow> requestPictureInPicture();
8
+
9
+ attribute EventHandler onenterpictureinpicture;
10
+ attribute EventHandler onleavepictureinpicture;
11
+
12
+ [CEReactions] attribute boolean disablePictureInPicture;
13
+ };
14
+
15
+ partial interface Document {
16
+ readonly attribute boolean pictureInPictureEnabled;
17
+
18
+ [NewObject] Promise<undefined> exitPictureInPicture();
19
+ };
20
+
21
+ partial interface mixin DocumentOrShadowRoot {
22
+ readonly attribute Element? pictureInPictureElement;
23
+ };
24
+
25
+ [Exposed=Window]
26
+ interface PictureInPictureWindow : EventTarget {
27
+ readonly attribute long width;
28
+ readonly attribute long height;
29
+
30
+ attribute EventHandler onresize;
31
+ };
32
+
33
+ [Exposed=Window]
34
+ interface PictureInPictureEvent : Event {
35
+ constructor(DOMString type, PictureInPictureEventInit eventInitDict);
36
+ [SameObject] readonly attribute PictureInPictureWindow pictureInPictureWindow;
37
+ };
38
+
39
+ dictionary PictureInPictureEventInit : EventInit {
40
+ required PictureInPictureWindow pictureInPictureWindow;
41
+ };
@@ -0,0 +1,64 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Pointer Events (https://w3c.github.io/pointerevents/)
5
+
6
+ dictionary PointerEventInit : MouseEventInit {
7
+ long pointerId = 0;
8
+ double width = 1;
9
+ double height = 1;
10
+ float pressure = 0;
11
+ float tangentialPressure = 0;
12
+ long tiltX;
13
+ long tiltY;
14
+ long twist = 0;
15
+ double altitudeAngle;
16
+ double azimuthAngle;
17
+ DOMString pointerType = "";
18
+ boolean isPrimary = false;
19
+ sequence<PointerEvent> coalescedEvents = [];
20
+ sequence<PointerEvent> predictedEvents = [];
21
+ };
22
+
23
+ [Exposed=Window]
24
+ interface PointerEvent : MouseEvent {
25
+ constructor(DOMString type, optional PointerEventInit eventInitDict = {});
26
+ readonly attribute long pointerId;
27
+ readonly attribute double width;
28
+ readonly attribute double height;
29
+ readonly attribute float pressure;
30
+ readonly attribute float tangentialPressure;
31
+ readonly attribute long tiltX;
32
+ readonly attribute long tiltY;
33
+ readonly attribute long twist;
34
+ readonly attribute double altitudeAngle;
35
+ readonly attribute double azimuthAngle;
36
+ readonly attribute DOMString pointerType;
37
+ readonly attribute boolean isPrimary;
38
+ [SecureContext] sequence<PointerEvent> getCoalescedEvents();
39
+ sequence<PointerEvent> getPredictedEvents();
40
+ };
41
+
42
+ partial interface Element {
43
+ undefined setPointerCapture (long pointerId);
44
+ undefined releasePointerCapture (long pointerId);
45
+ boolean hasPointerCapture (long pointerId);
46
+ };
47
+
48
+ partial interface mixin GlobalEventHandlers {
49
+ attribute EventHandler onpointerover;
50
+ attribute EventHandler onpointerenter;
51
+ attribute EventHandler onpointerdown;
52
+ attribute EventHandler onpointermove;
53
+ [SecureContext] attribute EventHandler onpointerrawupdate;
54
+ attribute EventHandler onpointerup;
55
+ attribute EventHandler onpointercancel;
56
+ attribute EventHandler onpointerout;
57
+ attribute EventHandler onpointerleave;
58
+ attribute EventHandler ongotpointercapture;
59
+ attribute EventHandler onlostpointercapture;
60
+ };
61
+
62
+ partial interface Navigator {
63
+ readonly attribute long maxTouchPoints;
64
+ };
@@ -0,0 +1,28 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Pointer Lock 2.0 (https://w3c.github.io/pointerlock/)
5
+
6
+ partial interface Element {
7
+ undefined requestPointerLock();
8
+ };
9
+
10
+ partial interface Document {
11
+ attribute EventHandler onpointerlockchange;
12
+ attribute EventHandler onpointerlockerror;
13
+ undefined exitPointerLock();
14
+ };
15
+
16
+ partial interface mixin DocumentOrShadowRoot {
17
+ readonly attribute Element ? pointerLockElement;
18
+ };
19
+
20
+ partial interface MouseEvent {
21
+ readonly attribute double movementX;
22
+ readonly attribute double movementY;
23
+ };
24
+
25
+ partial dictionary MouseEventInit {
26
+ double movementX = 0;
27
+ double movementY = 0;
28
+ };
package/portals.idl ADDED
@@ -0,0 +1,50 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Portals (https://wicg.github.io/portals/)
5
+
6
+ [Exposed=Window]
7
+ interface HTMLPortalElement : HTMLElement {
8
+ [HTMLConstructor] constructor();
9
+
10
+ [CEReactions] attribute USVString src;
11
+ [CEReactions] attribute DOMString referrerPolicy;
12
+
13
+ [NewObject] Promise<undefined> activate(optional PortalActivateOptions options = {});
14
+ undefined postMessage(any message, optional StructuredSerializeOptions options = {});
15
+
16
+ attribute EventHandler onmessage;
17
+ attribute EventHandler onmessageerror;
18
+ };
19
+
20
+ dictionary PortalActivateOptions : StructuredSerializeOptions {
21
+ any data;
22
+ };
23
+
24
+ partial interface Window {
25
+ readonly attribute PortalHost? portalHost;
26
+ };
27
+
28
+ [Exposed=Window]
29
+ interface PortalHost : EventTarget {
30
+ undefined postMessage(any message, optional StructuredSerializeOptions options = {});
31
+
32
+ attribute EventHandler onmessage;
33
+ attribute EventHandler onmessageerror;
34
+ };
35
+
36
+ [Exposed=Window]
37
+ interface PortalActivateEvent : Event {
38
+ constructor(DOMString type, optional PortalActivateEventInit eventInitDict = {});
39
+
40
+ readonly attribute any data;
41
+ HTMLPortalElement adoptPredecessor();
42
+ };
43
+
44
+ dictionary PortalActivateEventInit : EventInit {
45
+ any data = null;
46
+ };
47
+
48
+ partial interface mixin WindowEventHandlers {
49
+ attribute EventHandler onportalactivate;
50
+ };
@@ -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: preferCurrentTab (https://wicg.github.io/prefer-current-tab/)
5
+
6
+ partial dictionary MediaStreamConstraints {
7
+ boolean preferCurrentTab = false;
8
+ };
@@ -0,0 +1,15 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Prerendering Revamped (https://wicg.github.io/nav-speculation/prerendering.html)
5
+
6
+ partial interface Document {
7
+ readonly attribute boolean prerendering;
8
+
9
+ // Under "special event handler IDL attributes that only apply to Document objects"
10
+ attribute EventHandler onprerenderingchange;
11
+ };
12
+
13
+ partial interface PerformanceNavigationTiming {
14
+ readonly attribute DOMHighResTimeStamp activationStart;
15
+ };
@@ -0,0 +1,95 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Presentation API (https://w3c.github.io/presentation-api/)
5
+
6
+ partial interface Navigator {
7
+ [SecureContext, SameObject] readonly attribute Presentation presentation;
8
+ };
9
+
10
+ [SecureContext, Exposed=Window]
11
+ interface Presentation {
12
+ };
13
+
14
+ partial interface Presentation {
15
+ attribute PresentationRequest? defaultRequest;
16
+ };
17
+
18
+ partial interface Presentation {
19
+ readonly attribute PresentationReceiver? receiver;
20
+ };
21
+
22
+ [SecureContext, Exposed=Window]
23
+ interface PresentationRequest : EventTarget {
24
+ constructor(USVString url);
25
+ constructor(sequence<USVString> urls);
26
+ Promise<PresentationConnection> start();
27
+ Promise<PresentationConnection> reconnect(USVString presentationId);
28
+ Promise<PresentationAvailability> getAvailability();
29
+
30
+ attribute EventHandler onconnectionavailable;
31
+ };
32
+
33
+ [SecureContext, Exposed=Window]
34
+ interface PresentationAvailability : EventTarget {
35
+ readonly attribute boolean value;
36
+
37
+ attribute EventHandler onchange;
38
+ };
39
+
40
+ [SecureContext, Exposed=Window]
41
+ interface PresentationConnectionAvailableEvent : Event {
42
+ constructor(DOMString type, PresentationConnectionAvailableEventInit eventInitDict);
43
+ [SameObject] readonly attribute PresentationConnection connection;
44
+ };
45
+
46
+ dictionary PresentationConnectionAvailableEventInit : EventInit {
47
+ required PresentationConnection connection;
48
+ };
49
+
50
+ enum PresentationConnectionState { "connecting", "connected", "closed", "terminated" };
51
+
52
+ [SecureContext, Exposed=Window]
53
+ interface PresentationConnection : EventTarget {
54
+ readonly attribute USVString id;
55
+ readonly attribute USVString url;
56
+ readonly attribute PresentationConnectionState state;
57
+ undefined close();
58
+ undefined terminate();
59
+ attribute EventHandler onconnect;
60
+ attribute EventHandler onclose;
61
+ attribute EventHandler onterminate;
62
+
63
+ // Communication
64
+ attribute BinaryType binaryType;
65
+ attribute EventHandler onmessage;
66
+ undefined send (DOMString message);
67
+ undefined send (Blob data);
68
+ undefined send (ArrayBuffer data);
69
+ undefined send (ArrayBufferView data);
70
+ };
71
+
72
+ enum PresentationConnectionCloseReason { "error", "closed", "wentaway" };
73
+
74
+ [SecureContext, Exposed=Window]
75
+ interface PresentationConnectionCloseEvent : Event {
76
+ constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDict);
77
+ readonly attribute PresentationConnectionCloseReason reason;
78
+ readonly attribute DOMString message;
79
+ };
80
+
81
+ dictionary PresentationConnectionCloseEventInit : EventInit {
82
+ required PresentationConnectionCloseReason reason;
83
+ DOMString message = "";
84
+ };
85
+
86
+ [SecureContext, Exposed=Window]
87
+ interface PresentationReceiver {
88
+ readonly attribute Promise<PresentationConnectionList> connectionList;
89
+ };
90
+
91
+ [SecureContext, Exposed=Window]
92
+ interface PresentationConnectionList : EventTarget {
93
+ readonly attribute FrozenArray<PresentationConnection> connections;
94
+ attribute EventHandler onconnectionavailable;
95
+ };
@@ -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: Private Click Measurement (https://privacycg.github.io/private-click-measurement/)
5
+
6
+ partial interface HTMLAnchorElement {
7
+ [CEReactions] attribute unsigned long attributionSourceId;
8
+ };
package/proximity.idl ADDED
@@ -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: Proximity Sensor (https://w3c.github.io/proximity/)
5
+
6
+ [SecureContext, Exposed=Window]
7
+ interface ProximitySensor : Sensor {
8
+ constructor(optional SensorOptions sensorOptions = {});
9
+ readonly attribute double? distance;
10
+ readonly attribute double? max;
11
+ readonly attribute boolean? near;
12
+ };
13
+
14
+ dictionary ProximityReadingValues {
15
+ required double? distance;
16
+ required double? max;
17
+ required boolean? near;
18
+ };