Skip to content

Commit 1b3d2d8

Browse files
authored
Update to webref/idl@3.44.3 (#1696)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent cdb35dc commit 1b3d2d8

File tree

7 files changed

+114
-76
lines changed

7 files changed

+114
-76
lines changed

baselines/dom.generated.d.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,16 +1757,16 @@ interface ScrollToOptions extends ScrollOptions {
17571757
interface SecurityPolicyViolationEventInit extends EventInit {
17581758
blockedURI?: string;
17591759
columnNumber?: number;
1760-
disposition: SecurityPolicyViolationEventDisposition;
1761-
documentURI: string;
1762-
effectiveDirective: string;
1760+
disposition?: SecurityPolicyViolationEventDisposition;
1761+
documentURI?: string;
1762+
effectiveDirective?: string;
17631763
lineNumber?: number;
1764-
originalPolicy: string;
1764+
originalPolicy?: string;
17651765
referrer?: string;
17661766
sample?: string;
17671767
sourceFile?: string;
1768-
statusCode: number;
1769-
violatedDirective: string;
1768+
statusCode?: number;
1769+
violatedDirective?: string;
17701770
}
17711771

17721772
interface ShadowRootInit {
@@ -8748,7 +8748,6 @@ declare var GainNode: {
87488748

87498749
/**
87508750
* This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.
8751-
* Available only in secure contexts.
87528751
*
87538752
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad)
87548753
*/
@@ -8777,7 +8776,6 @@ declare var Gamepad: {
87778776

87788777
/**
87798778
* An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device.
8780-
* Available only in secure contexts.
87818779
*
87828780
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton)
87838781
*/
@@ -8797,7 +8795,6 @@ declare var GamepadButton: {
87978795

87988796
/**
87998797
* This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to.
8800-
* Available only in secure contexts.
88018798
*
88028799
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent)
88038800
*/

baselines/serviceworker.generated.d.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,16 +585,16 @@ interface RsaPssParams extends Algorithm {
585585
interface SecurityPolicyViolationEventInit extends EventInit {
586586
blockedURI?: string;
587587
columnNumber?: number;
588-
disposition: SecurityPolicyViolationEventDisposition;
589-
documentURI: string;
590-
effectiveDirective: string;
588+
disposition?: SecurityPolicyViolationEventDisposition;
589+
documentURI?: string;
590+
effectiveDirective?: string;
591591
lineNumber?: number;
592-
originalPolicy: string;
592+
originalPolicy?: string;
593593
referrer?: string;
594594
sample?: string;
595595
sourceFile?: string;
596-
statusCode: number;
597-
violatedDirective: string;
596+
statusCode?: number;
597+
violatedDirective?: string;
598598
}
599599

600600
interface StorageEstimate {
@@ -4881,6 +4881,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
48814881

48824882
/**
48834883
* This ServiceWorker API interface represents the global execution context of a service worker.
4884+
* Available only in secure contexts.
48844885
*
48854886
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
48864887
*/

baselines/sharedworker.generated.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -551,16 +551,16 @@ interface RsaPssParams extends Algorithm {
551551
interface SecurityPolicyViolationEventInit extends EventInit {
552552
blockedURI?: string;
553553
columnNumber?: number;
554-
disposition: SecurityPolicyViolationEventDisposition;
555-
documentURI: string;
556-
effectiveDirective: string;
554+
disposition?: SecurityPolicyViolationEventDisposition;
555+
documentURI?: string;
556+
effectiveDirective?: string;
557557
lineNumber?: number;
558-
originalPolicy: string;
558+
originalPolicy?: string;
559559
referrer?: string;
560560
sample?: string;
561561
sourceFile?: string;
562-
statusCode: number;
563-
violatedDirective: string;
562+
statusCode?: number;
563+
violatedDirective?: string;
564564
}
565565

566566
interface StorageEstimate {

baselines/webworker.generated.d.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -629,16 +629,16 @@ interface RsaPssParams extends Algorithm {
629629
interface SecurityPolicyViolationEventInit extends EventInit {
630630
blockedURI?: string;
631631
columnNumber?: number;
632-
disposition: SecurityPolicyViolationEventDisposition;
633-
documentURI: string;
634-
effectiveDirective: string;
632+
disposition?: SecurityPolicyViolationEventDisposition;
633+
documentURI?: string;
634+
effectiveDirective?: string;
635635
lineNumber?: number;
636-
originalPolicy: string;
636+
originalPolicy?: string;
637637
referrer?: string;
638638
sample?: string;
639639
sourceFile?: string;
640-
statusCode: number;
641-
violatedDirective: string;
640+
statusCode?: number;
641+
violatedDirective?: string;
642642
}
643643

644644
interface StorageEstimate {
@@ -5205,6 +5205,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
52055205

52065206
/**
52075207
* This ServiceWorker API interface represents the global execution context of a service worker.
5208+
* Available only in secure contexts.
52085209
*
52095210
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
52105211
*/

inputfiles/overridingTypes.jsonc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3040,6 +3040,10 @@
30403040
]
30413041
}
30423042
},
3043+
"InstallEvent": {
3044+
// https://github.com/mdn/browser-compat-data/issues/22591
3045+
"exposed": ""
3046+
},
30433047
"Instance": {
30443048
"constructor": {
30453049
"signature": {
@@ -3353,6 +3357,25 @@
33533357
"[property: string]: string | number | null | undefined"
33543358
]
33553359
},
3360+
// https://github.com/w3c/mediasession/issues/322
3361+
"MediaSessionActionDetails": {
3362+
"members": {
3363+
"member": {
3364+
"fastSeek": {
3365+
"name": "fastSeek",
3366+
"type": "boolean"
3367+
},
3368+
"seekOffset": {
3369+
"name": "seekOffset",
3370+
"type": "double"
3371+
},
3372+
"seekTime": {
3373+
"name": "seekTime",
3374+
"type": "double"
3375+
}
3376+
}
3377+
}
3378+
},
33563379
"PermissionDescriptor": {
33573380
"members": {
33583381
"member": {

inputfiles/removedTypes.jsonc

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
"ConnectionType": {
2020
"value": ["wimax"]
2121
},
22-
"GamepadHapticActuatorType": {
23-
"value": ["dual-rumble"] // Blink only as of 2022-12
24-
},
2522
"MediaSessionAction": {
2623
"value": [
2724
"enterpictureinpicture", // Blink only as of 2023-10
@@ -49,6 +46,25 @@
4946
"bt2020-ncl" // Blink only as of 2022-10
5047
]
5148
},
49+
"VideoPixelFormat": {
50+
"value": [
51+
// All no implementation as of 2024-03
52+
"I420AP10",
53+
"I420AP12",
54+
"I420P10",
55+
"I420P12",
56+
"I422A",
57+
"I422AP10",
58+
"I422AP12",
59+
"I422P10",
60+
"I422P12",
61+
"I444A",
62+
"I444AP10",
63+
"I444AP12",
64+
"I444P10",
65+
"I444P12"
66+
]
67+
},
5268
"VideoTransferCharacteristics": {
5369
"value": [
5470
"hlg", // Blink only as of 2022-10
@@ -117,13 +133,6 @@
117133
}
118134
}
119135
},
120-
"ServiceWorkerGlobalScope": {
121-
"properties": {
122-
"property": {
123-
"onsync": null // No implementations as of 2023-11
124-
}
125-
}
126-
},
127136
"SVGFEGaussianBlurElement": {
128137
"constants": {
129138
"constant": {
@@ -238,6 +247,7 @@
238247
// https://searchfox.org/mozilla-central/source/dom/webidl/CredentialManagement.webidl
239248
// https://searchfox.org/wubkat/source/Source/WebCore/Modules/credentialmanagement/CredentialRequestOptions.idl
240249
// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/credentialmanagement/credential_request_options.idl
250+
"digital": null, // Behind a flag in WebKit and Blink as of 2024-03
241251
"federated": null,
242252
"identity": null,
243253
"otp": null,
@@ -527,8 +537,6 @@
527537
"PublicKeyCredentialRequestOptions": {
528538
"members": {
529539
"member": {
530-
"attestation": null, // No implementation as of 2023-09
531-
"attestationFormats": null, // No implementation as of 2023-09
532540
"hints": null // // No implementation as of 2023-09
533541
}
534542
}
@@ -714,6 +722,14 @@
714722
}
715723
}
716724
},
725+
"WebTransportOptions": {
726+
"members": {
727+
"member": {
728+
"anticipatedConcurrentIncomingBidirectionalStreams": null, // No implementation as of 2024-03
729+
"anticipatedConcurrentIncomingUnidirectionalStreams": null // No implementation as of 2024-03
730+
}
731+
}
732+
},
717733
"WebTransportSendStreamOptions": {
718734
"members": {
719735
"member": {

0 commit comments

Comments
 (0)