@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.
- package/ANGLE_instanced_arrays.idl +12 -0
- package/CSP.idl +56 -0
- package/DOM-Parsing.idl +26 -0
- package/EXT_blend_minmax.idl +10 -0
- package/EXT_color_buffer_float.idl +8 -0
- package/EXT_color_buffer_half_float.idl +12 -0
- package/EXT_disjoint_timer_query.idl +30 -0
- package/EXT_disjoint_timer_query_webgl2.idl +14 -0
- package/EXT_float_blend.idl +8 -0
- package/EXT_frag_depth.idl +8 -0
- package/EXT_sRGB.idl +12 -0
- package/EXT_shader_texture_lod.idl +8 -0
- package/EXT_texture_compression_bptc.idl +12 -0
- package/EXT_texture_compression_rgtc.idl +12 -0
- package/EXT_texture_filter_anisotropic.idl +10 -0
- package/EXT_texture_norm16.idl +16 -0
- package/FedCM.idl +67 -0
- package/FileAPI.idl +100 -0
- package/IndexedDB.idl +226 -0
- package/KHR_parallel_shader_compile.idl +9 -0
- package/OES_draw_buffers_indexed.idl +26 -0
- package/OES_element_index_uint.idl +8 -0
- package/OES_fbo_render_mipmap.idl +8 -0
- package/OES_standard_derivatives.idl +9 -0
- package/OES_texture_float.idl +7 -0
- package/OES_texture_float_linear.idl +7 -0
- package/OES_texture_half_float.idl +9 -0
- package/OES_texture_half_float_linear.idl +7 -0
- package/OES_vertex_array_object.idl +18 -0
- package/OVR_multiview2.idl +14 -0
- package/SVG.idl +693 -0
- package/WEBGL_blend_equation_advanced_coherent.idl +23 -0
- package/WEBGL_clip_cull_distance.idl +20 -0
- package/WEBGL_color_buffer_float.idl +11 -0
- package/WEBGL_compressed_texture_astc.idl +41 -0
- package/WEBGL_compressed_texture_etc.idl +19 -0
- package/WEBGL_compressed_texture_etc1.idl +10 -0
- package/WEBGL_compressed_texture_pvrtc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc.idl +13 -0
- package/WEBGL_compressed_texture_s3tc_srgb.idl +13 -0
- package/WEBGL_debug_renderer_info.idl +12 -0
- package/WEBGL_debug_shaders.idl +11 -0
- package/WEBGL_depth_texture.idl +9 -0
- package/WEBGL_draw_buffers.idl +46 -0
- package/WEBGL_draw_instanced_base_vertex_base_instance.idl +14 -0
- package/WEBGL_lose_context.idl +10 -0
- package/WEBGL_multi_draw.idl +32 -0
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +26 -0
- package/WEBGL_provoking_vertex.idl +13 -0
- package/WebCryptoAPI.idl +237 -0
- package/accelerometer.idl +40 -0
- package/ambient-light.idl +14 -0
- package/anchors.idl +37 -0
- package/attribution-reporting-api.idl +12 -0
- package/audio-output.idl +17 -0
- package/autoplay-detection.idl +19 -0
- package/background-fetch.idl +89 -0
- package/background-sync.idl +30 -0
- package/badging.idl +19 -0
- package/battery-status.idl +21 -0
- package/beacon.idl +8 -0
- package/capture-handle-identity.idl +27 -0
- package/clipboard-apis.idl +51 -0
- package/close-watcher.idl +19 -0
- package/compat.idl +13 -0
- package/compression.idl +16 -0
- package/compute-pressure.idl +40 -0
- package/console.idl +34 -0
- package/contact-picker.idl +44 -0
- package/content-index.idl +46 -0
- package/cookie-store.idl +110 -0
- package/crash-reporting.idl +10 -0
- package/credential-management.idl +105 -0
- package/csp-embedded-enforcement.idl +8 -0
- package/csp-next.idl +21 -0
- package/css-animation-worklet.idl +37 -0
- package/css-animations-2.idl +9 -0
- package/css-animations.idl +47 -0
- package/css-cascade-6.idl +10 -0
- package/css-cascade.idl +18 -0
- package/css-color-5.idl +12 -0
- package/css-conditional.idl +27 -0
- package/css-contain-3.idl +10 -0
- package/css-contain.idl +13 -0
- package/css-counter-styles.idl +23 -0
- package/css-font-loading.idl +134 -0
- package/css-fonts.idl +36 -0
- package/css-highlight-api.idl +27 -0
- package/css-images-4.idl +8 -0
- package/css-layout-api.idl +144 -0
- package/css-masking.idl +20 -0
- package/css-nav.idl +48 -0
- package/css-nesting.idl +10 -0
- package/css-paint-api.idl +39 -0
- package/css-parser-api.idl +76 -0
- package/css-properties-values-api.idl +23 -0
- package/css-pseudo.idl +16 -0
- package/css-regions.idl +29 -0
- package/css-shadow-parts.idl +8 -0
- package/css-transitions-2.idl +9 -0
- package/css-transitions.idl +25 -0
- package/css-typed-om.idl +423 -0
- package/css-view-transitions.idl +18 -0
- package/cssom-view.idl +200 -0
- package/cssom.idl +159 -0
- package/custom-state-pseudo-class.idl +14 -0
- package/datacue.idl +12 -0
- package/deprecation-reporting.idl +15 -0
- package/device-memory.idl +14 -0
- package/device-posture.idl +21 -0
- package/digital-goods.idl +44 -0
- package/dom.idl +645 -0
- package/edit-context.idl +111 -0
- package/element-timing.idl +22 -0
- package/encoding.idl +59 -0
- package/encrypted-media.idl +125 -0
- package/entries-api.idl +71 -0
- package/event-timing.idl +29 -0
- package/eyedropper-api.idl +18 -0
- package/fenced-frame.idl +49 -0
- package/fetch.idl +117 -0
- package/fido.idl +47 -0
- package/file-system-access.idl +72 -0
- package/filter-effects.idl +341 -0
- package/font-metrics-api.idl +42 -0
- package/fs.idl +97 -0
- package/fullscreen.idl +35 -0
- package/gamepad-extensions.idl +71 -0
- package/gamepad.idl +49 -0
- package/generic-sensor.idl +60 -0
- package/geolocation-sensor.idl +47 -0
- package/geolocation.idl +65 -0
- package/geometry.idl +290 -0
- package/get-installed-related-apps.idl +16 -0
- package/gpc-spec.idl +10 -0
- package/gyroscope.idl +24 -0
- package/hr-time.idl +19 -0
- package/html-media-capture.idl +8 -0
- package/html.idl +2716 -0
- package/idle-detection.idl +31 -0
- package/image-capture.idl +160 -0
- package/image-resource.idl +11 -0
- package/ink-enhancement.idl +32 -0
- package/input-device-capabilities.idl +24 -0
- package/input-events.idl +14 -0
- package/intersection-observer.idl +46 -0
- package/intervention-reporting.idl +14 -0
- package/is-input-pending.idl +16 -0
- package/js-self-profiling.idl +44 -0
- package/keyboard-lock.idl +14 -0
- package/keyboard-map.idl +15 -0
- package/largest-contentful-paint.idl +15 -0
- package/layout-instability.idl +20 -0
- package/local-font-access.idl +24 -0
- package/longtasks.idl +19 -0
- package/magnetometer.idl +46 -0
- package/manifest-incubations.idl +24 -0
- package/mathml-core.idl +9 -0
- package/media-capabilities.idl +115 -0
- package/media-playback-quality.idl +18 -0
- package/media-source.idl +91 -0
- package/mediacapture-automation.idl +36 -0
- package/mediacapture-fromelement.idl +17 -0
- package/mediacapture-handle-actions.idl +31 -0
- package/mediacapture-region.idl +15 -0
- package/mediacapture-streams.idl +248 -0
- package/mediacapture-transform.idl +23 -0
- package/mediacapture-viewport.idl +14 -0
- package/mediasession.idl +84 -0
- package/mediastream-recording.idl +60 -0
- package/model-element.idl +9 -0
- package/mst-content-hint.idl +18 -0
- package/navigation-timing.idl +71 -0
- package/netinfo.idl +43 -0
- package/notifications.idl +101 -0
- package/orientation-event.idl +82 -0
- package/orientation-sensor.idl +35 -0
- package/package.json +1 -1
- package/page-lifecycle.idl +19 -0
- package/paint-timing.idl +7 -0
- package/payment-handler.idl +131 -0
- package/payment-request.idl +112 -0
- package/performance-measure-memory.idl +30 -0
- package/performance-timeline.idl +49 -0
- package/periodic-background-sync.idl +34 -0
- package/permissions-policy.idl +29 -0
- package/permissions-request.idl +8 -0
- package/permissions-revoke.idl +8 -0
- package/permissions.idl +41 -0
- package/picture-in-picture.idl +41 -0
- package/pointerevents.idl +64 -0
- package/pointerlock.idl +28 -0
- package/portals.idl +50 -0
- package/prefer-current-tab.idl +8 -0
- package/prerendering-revamped.idl +15 -0
- package/presentation-api.idl +95 -0
- package/private-click-measurement.idl +8 -0
- package/proximity.idl +18 -0
- package/push-api.idl +93 -0
- package/raw-camera-access.idl +18 -0
- package/referrer-policy.idl +16 -0
- package/remote-playback.idl +32 -0
- package/reporting.idl +39 -0
- package/requestStorageAccessForOrigin.idl +12 -0
- package/requestidlecallback.idl +20 -0
- package/resize-observer.idl +37 -0
- package/resource-timing.idl +40 -0
- package/sanitizer-api.idl +38 -0
- package/savedata.idl +10 -0
- package/scheduling-apis.idl +57 -0
- package/screen-capture.idl +85 -0
- package/screen-orientation.idl +35 -0
- package/screen-wake-lock.idl +24 -0
- package/scroll-animations.idl +41 -0
- package/scroll-to-text-fragment.idl +12 -0
- package/secure-payment-confirmation.idl +52 -0
- package/selection-api.idl +46 -0
- package/serial.idl +85 -0
- package/server-timing.idl +17 -0
- package/service-workers.idl +240 -0
- package/shape-detection-api.idl +69 -0
- package/speech-api.idl +202 -0
- package/storage-access.idl +9 -0
- package/storage.idl +25 -0
- package/streams.idl +222 -0
- package/svg-animations.idl +68 -0
- package/testutils.idl +9 -0
- package/text-detection-api.idl +18 -0
- package/touch-events.idl +79 -0
- package/trust-token-api.idl +29 -0
- package/trusted-types.idl +71 -0
- package/turtledove.idl +63 -0
- package/ua-client-hints.idl +44 -0
- package/uievents.idl +248 -0
- package/url.idl +44 -0
- package/urlpattern.idl +59 -0
- package/user-timing.idl +34 -0
- package/vibration.idl +10 -0
- package/video-rvfc.idl +27 -0
- package/virtual-keyboard.idl +21 -0
- package/wai-aria.idl +59 -0
- package/wasm-js-api.idl +110 -0
- package/wasm-web-api.idl +11 -0
- package/web-animations-2.idl +102 -0
- package/web-animations.idl +149 -0
- package/web-app-launch.idl +19 -0
- package/web-bluetooth.idl +251 -0
- package/web-locks.idl +50 -0
- package/web-nfc.idl +81 -0
- package/web-otp.idl +21 -0
- package/web-share.idl +16 -0
- package/webaudio.idl +674 -0
- package/webauthn.idl +349 -0
- package/webcodecs-aac-codec-registration.idl +17 -0
- package/webcodecs-avc-codec-registration.idl +17 -0
- package/webcodecs-flac-codec-registration.idl +13 -0
- package/webcodecs-hevc-codec-registration.idl +17 -0
- package/webcodecs-opus-codec-registration.idl +22 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +500 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webdriver.idl +9 -0
- package/webgl1.idl +745 -0
- package/webgl2.idl +582 -0
- package/webgpu.idl +1267 -0
- package/webhid.idl +127 -0
- package/webidl.idl +48 -0
- package/webmidi.idl +91 -0
- package/webnn.idl +549 -0
- package/webrtc-encoded-transform.idl +127 -0
- package/webrtc-ice.idl +24 -0
- package/webrtc-identity.idl +97 -0
- package/webrtc-priority.idl +24 -0
- package/webrtc-stats.idl +288 -0
- package/webrtc-svc.idl +8 -0
- package/webrtc.idl +628 -0
- package/websockets.idl +48 -0
- package/webtransport.idl +143 -0
- package/webusb.idl +249 -0
- package/webvtt.idl +40 -0
- package/webxr-ar-module.idl +29 -0
- package/webxr-depth-sensing.idl +57 -0
- package/webxr-dom-overlays.idl +31 -0
- package/webxr-gamepads-module.idl +8 -0
- package/webxr-hand-input.idl +66 -0
- package/webxr-hit-test.idl +69 -0
- package/webxr-lighting-estimation.idl +39 -0
- package/webxr.idl +295 -0
- package/webxrlayers.idl +212 -0
- package/window-controls-overlay.idl +28 -0
- package/window-placement.idl +42 -0
- package/xhr.idl +99 -0
package/cssom.idl
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom-1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface MediaList {
|
|
8
|
+
stringifier attribute [LegacyNullToEmptyString] CSSOMString mediaText;
|
|
9
|
+
readonly attribute unsigned long length;
|
|
10
|
+
getter CSSOMString? item(unsigned long index);
|
|
11
|
+
undefined appendMedium(CSSOMString medium);
|
|
12
|
+
undefined deleteMedium(CSSOMString medium);
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
[Exposed=Window]
|
|
16
|
+
interface StyleSheet {
|
|
17
|
+
readonly attribute CSSOMString type;
|
|
18
|
+
readonly attribute USVString? href;
|
|
19
|
+
readonly attribute (Element or ProcessingInstruction)? ownerNode;
|
|
20
|
+
readonly attribute CSSStyleSheet? parentStyleSheet;
|
|
21
|
+
readonly attribute DOMString? title;
|
|
22
|
+
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
23
|
+
attribute boolean disabled;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
[Exposed=Window]
|
|
27
|
+
interface CSSStyleSheet : StyleSheet {
|
|
28
|
+
constructor(optional CSSStyleSheetInit options = {});
|
|
29
|
+
|
|
30
|
+
readonly attribute CSSRule? ownerRule;
|
|
31
|
+
[SameObject] readonly attribute CSSRuleList cssRules;
|
|
32
|
+
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
|
|
33
|
+
undefined deleteRule(unsigned long index);
|
|
34
|
+
|
|
35
|
+
Promise<CSSStyleSheet> replace(USVString text);
|
|
36
|
+
undefined replaceSync(USVString text);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
dictionary CSSStyleSheetInit {
|
|
40
|
+
DOMString baseURL = null;
|
|
41
|
+
(MediaList or DOMString) media = "";
|
|
42
|
+
boolean disabled = false;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
partial interface CSSStyleSheet {
|
|
46
|
+
[SameObject] readonly attribute CSSRuleList rules;
|
|
47
|
+
long addRule(optional DOMString selector = "undefined", optional DOMString style = "undefined", optional unsigned long index);
|
|
48
|
+
undefined removeRule(optional unsigned long index = 0);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
[Exposed=Window]
|
|
52
|
+
interface StyleSheetList {
|
|
53
|
+
getter CSSStyleSheet? item(unsigned long index);
|
|
54
|
+
readonly attribute unsigned long length;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
partial interface mixin DocumentOrShadowRoot {
|
|
58
|
+
[SameObject] readonly attribute StyleSheetList styleSheets;
|
|
59
|
+
attribute ObservableArray<CSSStyleSheet> adoptedStyleSheets;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
interface mixin LinkStyle {
|
|
63
|
+
readonly attribute CSSStyleSheet? sheet;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
ProcessingInstruction includes LinkStyle;
|
|
67
|
+
[Exposed=Window]
|
|
68
|
+
interface CSSRuleList {
|
|
69
|
+
getter CSSRule? item(unsigned long index);
|
|
70
|
+
readonly attribute unsigned long length;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
[Exposed=Window]
|
|
74
|
+
interface CSSRule {
|
|
75
|
+
attribute CSSOMString cssText;
|
|
76
|
+
readonly attribute CSSRule? parentRule;
|
|
77
|
+
readonly attribute CSSStyleSheet? parentStyleSheet;
|
|
78
|
+
|
|
79
|
+
// the following attribute and constants are historical
|
|
80
|
+
readonly attribute unsigned short type;
|
|
81
|
+
const unsigned short STYLE_RULE = 1;
|
|
82
|
+
const unsigned short CHARSET_RULE = 2;
|
|
83
|
+
const unsigned short IMPORT_RULE = 3;
|
|
84
|
+
const unsigned short MEDIA_RULE = 4;
|
|
85
|
+
const unsigned short FONT_FACE_RULE = 5;
|
|
86
|
+
const unsigned short PAGE_RULE = 6;
|
|
87
|
+
const unsigned short MARGIN_RULE = 9;
|
|
88
|
+
const unsigned short NAMESPACE_RULE = 10;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
[Exposed=Window]
|
|
92
|
+
interface CSSStyleRule : CSSRule {
|
|
93
|
+
attribute CSSOMString selectorText;
|
|
94
|
+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
[Exposed=Window]
|
|
98
|
+
interface CSSImportRule : CSSRule {
|
|
99
|
+
readonly attribute USVString href;
|
|
100
|
+
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
101
|
+
[SameObject] readonly attribute CSSStyleSheet styleSheet;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
[Exposed=Window]
|
|
105
|
+
interface CSSGroupingRule : CSSRule {
|
|
106
|
+
[SameObject] readonly attribute CSSRuleList cssRules;
|
|
107
|
+
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
|
|
108
|
+
undefined deleteRule(unsigned long index);
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
[Exposed=Window]
|
|
112
|
+
interface CSSPageRule : CSSGroupingRule {
|
|
113
|
+
attribute CSSOMString selectorText;
|
|
114
|
+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
[Exposed=Window]
|
|
118
|
+
interface CSSMarginRule : CSSRule {
|
|
119
|
+
readonly attribute CSSOMString name;
|
|
120
|
+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
[Exposed=Window]
|
|
124
|
+
interface CSSNamespaceRule : CSSRule {
|
|
125
|
+
readonly attribute CSSOMString namespaceURI;
|
|
126
|
+
readonly attribute CSSOMString prefix;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
[Exposed=Window]
|
|
130
|
+
interface CSSStyleDeclaration {
|
|
131
|
+
[CEReactions] attribute CSSOMString cssText;
|
|
132
|
+
readonly attribute unsigned long length;
|
|
133
|
+
getter CSSOMString item(unsigned long index);
|
|
134
|
+
CSSOMString getPropertyValue(CSSOMString property);
|
|
135
|
+
CSSOMString getPropertyPriority(CSSOMString property);
|
|
136
|
+
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
|
|
137
|
+
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
|
138
|
+
readonly attribute CSSRule? parentRule;
|
|
139
|
+
[CEReactions] attribute [LegacyNullToEmptyString] CSSOMString cssFloat;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
interface mixin ElementCSSInlineStyle {
|
|
143
|
+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
HTMLElement includes ElementCSSInlineStyle;
|
|
147
|
+
|
|
148
|
+
SVGElement includes ElementCSSInlineStyle;
|
|
149
|
+
|
|
150
|
+
MathMLElement includes ElementCSSInlineStyle;
|
|
151
|
+
|
|
152
|
+
partial interface Window {
|
|
153
|
+
[NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional CSSOMString? pseudoElt);
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
[Exposed=Window]
|
|
157
|
+
namespace CSS {
|
|
158
|
+
CSSOMString escape(CSSOMString ident);
|
|
159
|
+
};
|
|
@@ -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: Custom State Pseudo Class (https://wicg.github.io/custom-state-pseudo-class/)
|
|
5
|
+
|
|
6
|
+
partial interface ElementInternals {
|
|
7
|
+
readonly attribute CustomStateSet states;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window]
|
|
11
|
+
interface CustomStateSet {
|
|
12
|
+
setlike<DOMString>;
|
|
13
|
+
undefined add(DOMString value);
|
|
14
|
+
};
|
package/datacue.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: DataCue API (https://wicg.github.io/datacue/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface DataCue : TextTrackCue {
|
|
8
|
+
constructor(double startTime, unrestricted double endTime,
|
|
9
|
+
any value, optional DOMString type);
|
|
10
|
+
attribute any value;
|
|
11
|
+
readonly attribute DOMString type;
|
|
12
|
+
};
|
|
@@ -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: Deprecation Reporting (https://wicg.github.io/deprecation-reporting/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(Window,Worker)]
|
|
7
|
+
interface DeprecationReportBody : ReportBody {
|
|
8
|
+
[Default] object toJSON();
|
|
9
|
+
readonly attribute DOMString id;
|
|
10
|
+
readonly attribute object? anticipatedRemoval;
|
|
11
|
+
readonly attribute DOMString message;
|
|
12
|
+
readonly attribute DOMString? sourceFile;
|
|
13
|
+
readonly attribute unsigned long? lineNumber;
|
|
14
|
+
readonly attribute unsigned long? columnNumber;
|
|
15
|
+
};
|
|
@@ -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: Device Memory (https://www.w3.org/TR/device-memory/)
|
|
5
|
+
|
|
6
|
+
[
|
|
7
|
+
SecureContext,
|
|
8
|
+
Exposed=(Window,Worker)
|
|
9
|
+
] interface mixin NavigatorDeviceMemory {
|
|
10
|
+
readonly attribute double deviceMemory;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
Navigator includes NavigatorDeviceMemory;
|
|
14
|
+
WorkerNavigator includes NavigatorDeviceMemory;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Device Posture API (https://w3c.github.io/device-posture/)
|
|
5
|
+
|
|
6
|
+
[SecureContext, Exposed=(Window)]
|
|
7
|
+
partial interface Navigator {
|
|
8
|
+
[SameObject] readonly attribute DevicePosture devicePosture;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[SecureContext, Exposed=(Window)]
|
|
12
|
+
interface DevicePosture : EventTarget {
|
|
13
|
+
readonly attribute DevicePostureType type;
|
|
14
|
+
attribute EventHandler onchange;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
enum DevicePostureType {
|
|
18
|
+
"continuous",
|
|
19
|
+
"folded",
|
|
20
|
+
"folded-over"
|
|
21
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Digital Goods API (https://wicg.github.io/digital-goods/)
|
|
5
|
+
|
|
6
|
+
partial interface Window {
|
|
7
|
+
[SecureContext] Promise<DigitalGoodsService> getDigitalGoodsService(
|
|
8
|
+
DOMString serviceProvider);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=Window, SecureContext] interface DigitalGoodsService {
|
|
12
|
+
|
|
13
|
+
Promise<sequence<ItemDetails>> getDetails(sequence<DOMString> itemIds);
|
|
14
|
+
|
|
15
|
+
Promise<sequence<PurchaseDetails>> listPurchases();
|
|
16
|
+
|
|
17
|
+
Promise<sequence<PurchaseDetails>> listPurchaseHistory();
|
|
18
|
+
|
|
19
|
+
Promise<undefined> consume(DOMString purchaseToken);
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
dictionary ItemDetails {
|
|
23
|
+
required DOMString itemId;
|
|
24
|
+
required DOMString title;
|
|
25
|
+
required PaymentCurrencyAmount price;
|
|
26
|
+
ItemType type;
|
|
27
|
+
DOMString description;
|
|
28
|
+
sequence<DOMString> iconURLs;
|
|
29
|
+
DOMString subscriptionPeriod;
|
|
30
|
+
DOMString freeTrialPeriod;
|
|
31
|
+
PaymentCurrencyAmount introductoryPrice;
|
|
32
|
+
DOMString introductoryPricePeriod;
|
|
33
|
+
[EnforceRange] unsigned long long introductoryPriceCycles;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
enum ItemType {
|
|
37
|
+
"product",
|
|
38
|
+
"subscription",
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
dictionary PurchaseDetails {
|
|
42
|
+
required DOMString itemId;
|
|
43
|
+
required DOMString purchaseToken;
|
|
44
|
+
};
|