@@ -4786,6 +4786,16 @@ interface ElementContentEditable {
47864786 readonly isContentEditable: boolean;
47874787}
47884788
4789+ interface ElementInternals extends ARIAMixin {
4790+ /** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */
4791+ readonly shadowRoot: ShadowRoot | null;
4792+ }
4793+
4794+ declare var ElementInternals: {
4795+ prototype: ElementInternals;
4796+ new(): ElementInternals;
4797+ };
4798+
47894799/** Events providing information related to errors in scripts or in files. */
47904800interface ErrorEvent extends Event {
47914801 readonly colno: number;
@@ -5025,13 +5035,10 @@ declare var FileSystemDirectoryEntry: {
50255035 new(): FileSystemDirectoryEntry;
50265036};
50275037
5028- /** @deprecated */
50295038interface FileSystemDirectoryReader {
5030- /** @deprecated */
50315039 readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;
50325040}
50335041
5034- /** @deprecated */
50355042declare var FileSystemDirectoryReader: {
50365043 prototype: FileSystemDirectoryReader;
50375044 new(): FileSystemDirectoryReader;
@@ -5584,6 +5591,7 @@ interface GlobalEventHandlers {
55845591 * @param ev The event.
55855592 */
55865593 onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
5594+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
55875595 /**
55885596 * Occurs when the seek operation ends.
55895597 * @param ev The event.
@@ -8503,6 +8511,7 @@ interface IDBTransactionEventMap {
85038511interface IDBTransaction extends EventTarget {
85048512 /** Returns the transaction's connection. */
85058513 readonly db: IDBDatabase;
8514+ readonly durability: IDBTransactionDurability;
85068515 /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
85078516 readonly error: DOMException | null;
85088517 /** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
@@ -16739,7 +16748,7 @@ interface PositionErrorCallback {
1673916748}
1674016749
1674116750interface QueuingStrategySize<T = any> {
16742- (chunk? : T): number;
16751+ (chunk: T): number;
1674316752}
1674416753
1674516754interface RTCPeerConnectionErrorCallback {
@@ -17332,6 +17341,7 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null;
1733217341 * @param ev The event.
1733317342 */
1733417343declare var onscroll: ((this: Window, ev: Event) => any) | null;
17344+ declare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;
1733517345/**
1733617346 * Occurs when the seek operation ends.
1733717347 * @param ev The event.
@@ -17546,6 +17556,7 @@ type GamepadMappingType = "" | "standard" | "xr-standard";
1754617556type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
1754717557type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1754817558type IDBRequestReadyState = "done" | "pending";
17559+ type IDBTransactionDurability = "default" | "relaxed" | "strict";
1754917560type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
1755017561type ImageOrientation = "flipY" | "none";
1755117562type ImageSmoothingQuality = "high" | "low" | "medium";
0 commit comments