@webref/idl 2.8.1 → 2.11.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.
@@ -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 Draft Specification (https://www.khronos.org/registry/webgl/extensions/OES_draw_buffers_indexed/)
4
+ // Source: WebGL OES_draw_buffers_indexed Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_draw_buffers_indexed/)
5
5
 
6
6
  [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
7
  interface OES_draw_buffers_indexed {
package/app-history.idl CHANGED
@@ -121,7 +121,7 @@ interface AppHistoryDestination {
121
121
 
122
122
  [Exposed=Window]
123
123
  interface AppHistoryEntry : EventTarget {
124
- readonly attribute USVString url;
124
+ readonly attribute USVString? url;
125
125
  readonly attribute DOMString key;
126
126
  readonly attribute DOMString id;
127
127
  readonly attribute long long index;
@@ -4,7 +4,7 @@
4
4
  // Source: Compute Pressure API (https://wicg.github.io/compute-pressure/)
5
5
 
6
6
  callback ComputePressureUpdateCallback = undefined (
7
- ComputePressureObserverUpdate update,
7
+ ComputePressureEntry update,
8
8
  ComputePressureObserver observer
9
9
  );
10
10
 
@@ -18,7 +18,7 @@ interface ComputePressureObserver {
18
18
  undefined unobserve();
19
19
  };
20
20
 
21
- dictionary ComputePressureObserverUpdate {
21
+ dictionary ComputePressureEntry {
22
22
  double cpuSpeed;
23
23
  double cpuUtilization;
24
24
  ComputePressureObserverOptions options;
package/contact-api.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: Contact Picker API (https://wicg.github.io/contact-api/spec/)
4
+ // Source: Contact Picker API (https://w3c.github.io/contact-api/spec/)
5
5
 
6
6
  [Exposed=Window]
7
7
  partial interface Navigator {
@@ -7,6 +7,7 @@
7
7
  interface Credential {
8
8
  readonly attribute USVString id;
9
9
  readonly attribute DOMString type;
10
+ static boolean isConditionalMediationAvailable();
10
11
  };
11
12
 
12
13
  [SecureContext]
@@ -39,6 +40,7 @@ dictionary CredentialRequestOptions {
39
40
  enum CredentialMediationRequirement {
40
41
  "silent",
41
42
  "optional",
43
+ "conditional",
42
44
  "required"
43
45
  };
44
46
 
@@ -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: CSS Cascading and Inheritance Level 5 (https://drafts.csswg.org/css-cascade-5/)
5
+
6
+ partial interface CSSImportRule {
7
+ readonly attribute CSSOMString? layerName;
8
+ };
9
+
10
+ [Exposed=Window]
11
+ interface CSSLayerBlockRule : CSSGroupingRule {
12
+ readonly attribute CSSOMString name;
13
+ };
14
+
15
+ [Exposed=Window]
16
+ interface CSSLayerStatementRule : CSSRule {
17
+ readonly attribute FrozenArray<CSSOMString> nameList;
18
+ };
@@ -3,11 +3,18 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS Custom Highlight API Module Level 1 (https://drafts.csswg.org/css-highlight-api-1/)
5
5
 
6
+ enum HighlightType {
7
+ "highlight",
8
+ "spelling-error",
9
+ "grammar-error"
10
+ };
11
+
6
12
  [Exposed=Window]
7
13
  interface Highlight {
8
14
  constructor(AbstractRange... initialRanges);
9
15
  setlike<AbstractRange>;
10
16
  attribute long priority;
17
+ attribute HighlightType type;
11
18
  };
12
19
 
13
20
  partial namespace CSS {
package/css-typed-om.idl CHANGED
@@ -323,7 +323,7 @@ interface CSSImageValue : CSSStyleValue {
323
323
  interface CSSColorValue : CSSStyleValue {
324
324
  readonly attribute CSSKeywordValue colorSpace;
325
325
  CSSColorValue to(CSSKeywordish colorSpace);
326
- [Exposed=Window] static CSSColorValue parse(USVString cssText);
326
+ [Exposed=Window] static (CSSColorValue or CSSStyleValue) parse(USVString cssText);
327
327
  };
328
328
 
329
329
  [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
package/dom.idl CHANGED
@@ -97,6 +97,7 @@ interface AbortSignal : EventTarget {
97
97
 
98
98
  readonly attribute boolean aborted;
99
99
  readonly attribute any reason;
100
+ undefined throwIfAborted();
100
101
 
101
102
  attribute EventHandler onabort;
102
103
  };
@@ -0,0 +1,113 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: EditContext API (https://w3c.github.io/edit-context/)
5
+
6
+ partial interface Element {
7
+ attribute EditContext? editContext;
8
+ };
9
+
10
+ dictionary EditContextInit {
11
+ DOMString text;
12
+ unsigned long selectionStart;
13
+ unsigned long selectionEnd;
14
+ };
15
+
16
+ [Exposed=Window]
17
+ interface EditContext : EventTarget {
18
+ constructor(optional EditContextInit options = {});
19
+
20
+ undefined updateText(unsigned long rangeStart, unsigned long rangeEnd,
21
+ DOMString text);
22
+ undefined updateSelection(unsigned long start, unsigned long end);
23
+ undefined updateControlBound(DOMRect controlBound);
24
+ undefined updateSelectionBound(DOMRect selectionBound);
25
+ undefined updateCharacterBounds(unsigned long rangeStart, sequence<DOMRect> characterBounds);
26
+
27
+ sequence<Element> attachedElements();
28
+
29
+ readonly attribute DOMString text;
30
+ readonly attribute unsigned long selectionStart;
31
+ readonly attribute unsigned long selectionEnd;
32
+ readonly attribute unsigned long compositionRangeStart;
33
+ readonly attribute unsigned long compositionRangeEnd;
34
+ readonly attribute boolean isInComposition;
35
+ readonly attribute DOMRect controlBound;
36
+ readonly attribute DOMRect selectionBound;
37
+ readonly attribute unsigned long characterBoundsRangeStart;
38
+ sequence<DOMRect> characterBounds();
39
+
40
+ attribute EventHandler ontextupdate;
41
+ attribute EventHandler ontextformatupdate;
42
+ attribute EventHandler oncharacterboundsupdate;
43
+ attribute EventHandler oncompositionstart;
44
+ attribute EventHandler oncompositionend;
45
+ };
46
+
47
+ dictionary TextUpdateEventInit {
48
+ unsigned long updateRangeStart;
49
+ unsigned long updateRangeEnd;
50
+ DOMString text;
51
+ unsigned long selectionStart;
52
+ unsigned long selectionEnd;
53
+ unsigned long compositionStart;
54
+ unsigned long compositionEnd;
55
+ };
56
+
57
+ [Exposed=Window]
58
+ interface TextUpdateEvent : Event {
59
+ constructor(optional TextUpdateEventInit options = {});
60
+ readonly attribute unsigned long updateRangeStart;
61
+ readonly attribute unsigned long updateRangeEnd;
62
+ readonly attribute DOMString text;
63
+ readonly attribute unsigned long selectionStart;
64
+ readonly attribute unsigned long selectionEnd;
65
+ readonly attribute unsigned long compositionStart;
66
+ readonly attribute unsigned long compositionEnd;
67
+ };
68
+
69
+ dictionary TextFormatInit {
70
+ unsigned long rangeStart;
71
+ unsigned long rangeEnd;
72
+ DOMString textColor;
73
+ DOMString backgroundColor;
74
+ DOMString underlineStyle;
75
+ DOMString underlineThickness;
76
+ DOMString underlineColor;
77
+ };
78
+
79
+ [Exposed=Window]
80
+ interface TextFormat {
81
+ constructor(optional TextFormatInit options = {});
82
+ attribute unsigned long rangeStart;
83
+ attribute unsigned long rangeEnd;
84
+ attribute DOMString textColor;
85
+ attribute DOMString backgroundColor;
86
+ attribute DOMString underlineStyle;
87
+ attribute DOMString underlineThickness;
88
+ attribute DOMString underlineColor;
89
+ };
90
+
91
+ dictionary TextFormatUpdateEventInit {
92
+ sequence<TextFormat> textFormats;
93
+ };
94
+
95
+ [Exposed=Window]
96
+ interface TextFormatUpdateEvent : Event {
97
+ constructor(optional TextFormatUpdateEventInit options = {});
98
+
99
+ sequence<TextFormat> getTextFormats();
100
+ };
101
+
102
+ dictionary CharacterBoundsUpdateEventInit {
103
+ unsigned long rangeStart;
104
+ unsigned long rangeEnd;
105
+ };
106
+
107
+ [Exposed=Window]
108
+ interface CharacterBoundsUpdateEvent : Event {
109
+ constructor(optional CharacterBoundsUpdateEventInit options = {});
110
+
111
+ readonly attribute unsigned long rangeStart;
112
+ readonly attribute unsigned long rangeEnd;
113
+ };
package/event-timing.idl CHANGED
@@ -18,9 +18,15 @@ interface EventCounts {
18
18
  readonly maplike<DOMString, unsigned long long>;
19
19
  };
20
20
 
21
+ [Exposed=Window]
22
+ interface InteractionCounts {
23
+ readonly maplike<DOMString, unsigned long long>;
24
+ };
25
+
21
26
  [Exposed=Window]
22
27
  partial interface Performance {
23
28
  [SameObject] readonly attribute EventCounts eventCounts;
29
+ [SameObject] readonly attribute InteractionCounts interactionCounts;
24
30
  };
25
31
 
26
32
  partial dictionary PerformanceObserverInit {
File without changes
package/html.idl CHANGED
@@ -933,6 +933,8 @@ interface HTMLInputElement : HTMLElement {
933
933
  undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
934
934
  undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
935
935
 
936
+ undefined showPicker();
937
+
936
938
  // also has obsolete members
937
939
  };
938
940
 
@@ -1367,7 +1369,14 @@ interface mixin CanvasShadowStyles {
1367
1369
 
1368
1370
  interface mixin CanvasFilters {
1369
1371
  // filters
1370
- attribute DOMString filter; // (default "none")
1372
+ attribute (DOMString or CanvasFilter) filter; // (default "none")
1373
+ };
1374
+
1375
+ typedef record<DOMString, any> CanvasFilterInput;
1376
+
1377
+ [Exposed=(Window,Worker,PaintWorklet)]
1378
+ interface CanvasFilter {
1379
+ constructor(optional (CanvasFilterInput or sequence<CanvasFilterInput>) filters);
1371
1380
  };
1372
1381
 
1373
1382
  interface mixin CanvasRect {
@@ -1993,9 +2002,9 @@ interface mixin WindowOrWorkerGlobalScope {
1993
2002
 
1994
2003
  // timers
1995
2004
  long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
1996
- undefined clearTimeout(optional long handle = 0);
2005
+ undefined clearTimeout(optional long id = 0);
1997
2006
  long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
1998
- undefined clearInterval(optional long handle = 0);
2007
+ undefined clearInterval(optional long id = 0);
1999
2008
 
2000
2009
  // microtask queuing
2001
2010
  undefined queueMicrotask(VoidFunction callback);
@@ -0,0 +1,24 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Manifest Incubations (https://wicg.github.io/manifest-incubations/)
5
+
6
+ [Exposed=Window]
7
+ interface BeforeInstallPromptEvent : Event {
8
+ constructor(DOMString type, optional EventInit eventInitDict = {});
9
+ Promise<PromptResponseObject> prompt();
10
+ };
11
+
12
+ dictionary PromptResponseObject {
13
+ AppBannerPromptOutcome userChoice;
14
+ };
15
+
16
+ enum AppBannerPromptOutcome {
17
+ "accepted",
18
+ "dismissed"
19
+ };
20
+
21
+ partial interface Window {
22
+ attribute EventHandler onappinstalled;
23
+ attribute EventHandler onbeforeinstallprompt;
24
+ };
@@ -238,3 +238,11 @@ typedef (boolean or ConstrainBooleanParameters) ConstrainBoolean;
238
238
  typedef (DOMString or
239
239
  sequence<DOMString> or
240
240
  ConstrainDOMStringParameters) ConstrainDOMString;
241
+
242
+ dictionary DevicePermissionDescriptor : PermissionDescriptor {
243
+ DOMString deviceId;
244
+ };
245
+
246
+ dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
247
+ boolean panTiltZoom = false;
248
+ };
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": "2.8.1",
4
+ "version": "2.11.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/permissions.idl CHANGED
@@ -56,11 +56,3 @@ enum PermissionName {
56
56
  "speaker-selection",
57
57
  "xr-spatial-tracking",
58
58
  };
59
-
60
- dictionary DevicePermissionDescriptor : PermissionDescriptor {
61
- DOMString deviceId;
62
- };
63
-
64
- dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
65
- boolean panTiltZoom = false;
66
- };
@@ -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: Priority Hints (https://wicg.github.io/priority-hints/)
5
+
6
+ enum Importance { "high", "low", "auto" };
7
+
8
+ partial interface Request {
9
+ readonly attribute Importance importance;
10
+ };
11
+
12
+ partial dictionary RequestInit {
13
+ Importance importance;
14
+ };
15
+
16
+ partial interface HTMLImageElement {
17
+ [CEReactions] attribute DOMString importance;
18
+ };
19
+
20
+ partial interface HTMLLinkElement {
21
+ [CEReactions] attribute DOMString importance;
22
+ };
23
+
24
+ partial interface HTMLScriptElement {
25
+ [CEReactions] attribute DOMString importance;
26
+ };
27
+
28
+ partial interface HTMLIFrameElement {
29
+ [CEReactions] attribute DOMString importance;
30
+ };
package/sanitizer-api.idl CHANGED
@@ -16,8 +16,11 @@
16
16
  static SanitizerConfig getDefaultConfiguration();
17
17
  };
18
18
 
19
+ dictionary SetHTMLOptions {
20
+ Sanitizer sanitizer;
21
+ };
19
22
  partial interface Element {
20
- undefined setHTML(DOMString input, Sanitizer sanitizer);
23
+ undefined setHTML(DOMString input, optional SetHTMLOptions options = {});
21
24
  };
22
25
 
23
26
  dictionary SanitizerConfig {
@@ -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: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation)
4
+ // Source: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation/)
5
5
 
6
6
  dictionary SecurePaymentConfirmationRequest {
7
7
  required BufferSource challenge;
package/streams.idl CHANGED
@@ -74,8 +74,8 @@ interface ReadableStreamDefaultReader {
74
74
  ReadableStreamDefaultReader includes ReadableStreamGenericReader;
75
75
 
76
76
  dictionary ReadableStreamDefaultReadResult {
77
- any value;
78
- boolean done;
77
+ any value;
78
+ boolean done;
79
79
  };
80
80
 
81
81
  [Exposed=(Window,Worker,Worklet)]
@@ -88,8 +88,8 @@ interface ReadableStreamBYOBReader {
88
88
  ReadableStreamBYOBReader includes ReadableStreamGenericReader;
89
89
 
90
90
  dictionary ReadableStreamBYOBReadResult {
91
- ArrayBufferView value;
92
- boolean done;
91
+ ArrayBufferView value;
92
+ boolean done;
93
93
  };
94
94
 
95
95
  [Exposed=(Window,Worker,Worklet)]
package/wasm-js-api.idl CHANGED
@@ -92,6 +92,7 @@ enum ValueType {
92
92
  "i64",
93
93
  "f32",
94
94
  "f64",
95
+ "v128",
95
96
  "externref",
96
97
  "anyfunc",
97
98
  };
package/web-locks.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: Web Locks API (https://wicg.github.io/web-locks/)
4
+ // Source: Web Locks API (https://w3c.github.io/web-locks/)
5
5
 
6
6
  [SecureContext]
7
7
  interface mixin NavigatorLocks {
package/web-nfc.idl CHANGED
@@ -51,6 +51,7 @@ interface NDEFReader : EventTarget {
51
51
  Promise<undefined> scan(optional NDEFScanOptions options={});
52
52
  Promise<undefined> write(NDEFMessageSource message,
53
53
  optional NDEFWriteOptions options={});
54
+ Promise<undefined> makeReadOnly(optional NDEFMakeReadOnlyOptions options={});
54
55
  };
55
56
 
56
57
  [SecureContext, Exposed=Window]
@@ -71,6 +72,10 @@ dictionary NDEFWriteOptions {
71
72
  AbortSignal? signal;
72
73
  };
73
74
 
75
+ dictionary NDEFMakeReadOnlyOptions {
76
+ AbortSignal? signal;
77
+ };
78
+
74
79
  dictionary NDEFScanOptions {
75
80
  AbortSignal signal;
76
81
  };
package/webauthn.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: Web Authentication: An API for accessing Public Key Credentials - Level 3 (https://w3c.github.io/webauthn/)
4
+ // Source: Web Authentication: An API for accessing Public Key Credentials - Level (https://w3c.github.io/webauthn/)
5
5
 
6
6
  [SecureContext, Exposed=Window]
7
7
  interface PublicKeyCredential : Credential {
package/webgpu.idl CHANGED
@@ -277,13 +277,19 @@ enum GPUTextureFormat {
277
277
  "rgba32sint",
278
278
  "rgba32float",
279
279
 
280
- // Depth and stencil formats
280
+ // Depth/stencil formats
281
281
  "stencil8",
282
282
  "depth16unorm",
283
283
  "depth24plus",
284
284
  "depth24plus-stencil8",
285
285
  "depth32float",
286
286
 
287
+ // "depth24unorm-stencil8" feature
288
+ "depth24unorm-stencil8",
289
+
290
+ // "depth32float-stencil8" feature
291
+ "depth32float-stencil8",
292
+
287
293
  // BC compressed formats usable if "texture-compression-bc" is both
288
294
  // supported by the device/user agent and enabled in requestDevice.
289
295
  "bc1-rgba-unorm",
@@ -344,12 +350,6 @@ enum GPUTextureFormat {
344
350
  "astc-12x10-unorm-srgb",
345
351
  "astc-12x12-unorm",
346
352
  "astc-12x12-unorm-srgb",
347
-
348
- // "depth24unorm-stencil8" feature
349
- "depth24unorm-stencil8",
350
-
351
- // "depth32float-stencil8" feature
352
- "depth32float-stencil8",
353
353
  };
354
354
 
355
355
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -517,9 +517,14 @@ interface GPUShaderModule {
517
517
  };
518
518
  GPUShaderModule includes GPUObjectBase;
519
519
 
520
+ dictionary GPUShaderModuleCompilationHint {
521
+ required GPUPipelineLayout layout;
522
+ };
523
+
520
524
  dictionary GPUShaderModuleDescriptor : GPUObjectDescriptorBase {
521
525
  required USVString code;
522
526
  object sourceMap;
527
+ record<USVString, GPUShaderModuleCompilationHint> hints;
523
528
  };
524
529
 
525
530
  enum GPUCompilationMessageType {
@@ -804,10 +809,10 @@ interface GPUCommandEncoder {
804
809
  GPUImageCopyTexture destination,
805
810
  GPUExtent3D copySize);
806
811
 
807
- undefined fillBuffer(
808
- GPUBuffer destination,
809
- GPUSize64 destinationOffset,
810
- GPUSize64 size);
812
+ undefined clearBuffer(
813
+ GPUBuffer buffer,
814
+ optional GPUSize64 offset = 0,
815
+ optional GPUSize64 size);
811
816
 
812
817
  undefined pushDebugGroup(USVString groupLabel);
813
818
  undefined popDebugGroup();
package/webrtc.idl CHANGED
@@ -4,11 +4,11 @@
4
4
  // Source: WebRTC 1.0: Real-Time Communication Between Browsers (https://w3c.github.io/webrtc-pc/)
5
5
 
6
6
  dictionary RTCConfiguration {
7
- sequence<RTCIceServer> iceServers;
8
- RTCIceTransportPolicy iceTransportPolicy;
9
- RTCBundlePolicy bundlePolicy;
10
- RTCRtcpMuxPolicy rtcpMuxPolicy;
11
- sequence<RTCCertificate> certificates;
7
+ sequence<RTCIceServer> iceServers = [];
8
+ RTCIceTransportPolicy iceTransportPolicy = "all";
9
+ RTCBundlePolicy bundlePolicy = "balanced";
10
+ RTCRtcpMuxPolicy rtcpMuxPolicy = "require";
11
+ sequence<RTCCertificate> certificates = [];
12
12
  [EnforceRange] octet iceCandidatePoolSize = 0;
13
13
  };
14
14
 
@@ -247,7 +247,7 @@ partial interface RTCPeerConnection {
247
247
  };
248
248
 
249
249
  dictionary RTCCertificateExpiration {
250
- [EnforceRange] EpochTimeStamp expires;
250
+ [EnforceRange] unsigned long long expires;
251
251
  };
252
252
 
253
253
  [Exposed=Window, Serializable]
package/webtransport.idl CHANGED
@@ -46,8 +46,8 @@ dictionary WebTransportOptions {
46
46
  };
47
47
 
48
48
  dictionary WebTransportCloseInfo {
49
- unsigned long closeCode;
50
- DOMString reason;
49
+ unsigned long closeCode = 0;
50
+ DOMString reason = "";
51
51
  };
52
52
 
53
53
  dictionary WebTransportStats {
@@ -11,18 +11,18 @@ partial interface Navigator {
11
11
  [Exposed=Window]
12
12
  interface WindowControlsOverlay : EventTarget {
13
13
  readonly attribute boolean visible;
14
- DOMRect getBoundingClientRect();
14
+ DOMRect getTitlebarAreaRect();
15
15
  attribute EventHandler ongeometrychange;
16
16
  };
17
17
 
18
18
  [Exposed=Window]
19
19
  interface WindowControlsOverlayGeometryChangeEvent : Event {
20
20
  constructor(DOMString type, WindowControlsOverlayGeometryChangeEventInit eventInitDict);
21
- [SameObject] readonly attribute DOMRect boundingRect;
21
+ [SameObject] readonly attribute DOMRect titlebarAreaRect;
22
22
  readonly attribute boolean visible;
23
23
  };
24
24
 
25
25
  dictionary WindowControlsOverlayGeometryChangeEventInit : EventInit {
26
- required DOMRect boundingRect;
26
+ required DOMRect titlebarAreaRect;
27
27
  boolean visible = false;
28
28
  };