@@ -1693,14 +1693,16 @@ interface ScrollToOptions extends ScrollOptions {
1693
1693
interface SecurityPolicyViolationEventInit extends EventInit {
1694
1694
blockedURI?: string;
1695
1695
columnNumber?: number;
1696
- documentURI?: string;
1697
- effectiveDirective?: string;
1696
+ disposition: SecurityPolicyViolationEventDisposition;
1697
+ documentURI: string;
1698
+ effectiveDirective: string;
1698
1699
lineNumber?: number;
1699
- originalPolicy? : string;
1700
+ originalPolicy: string;
1700
1701
referrer?: string;
1702
+ sample?: string;
1701
1703
sourceFile?: string;
1702
- statusCode? : number;
1703
- violatedDirective? : string;
1704
+ statusCode: number;
1705
+ violatedDirective: string;
1704
1706
}
1705
1707
1706
1708
interface ShadowRootInit {
@@ -2620,6 +2622,25 @@ declare var CDATASection: {
2620
2622
new(): CDATASection;
2621
2623
};
2622
2624
2625
+ interface CSPViolationReportBody extends ReportBody {
2626
+ readonly blockedURL: string | null;
2627
+ readonly columnNumber: number | null;
2628
+ readonly disposition: SecurityPolicyViolationEventDisposition;
2629
+ readonly documentURL: string;
2630
+ readonly effectiveDirective: string;
2631
+ readonly lineNumber: number | null;
2632
+ readonly originalPolicy: string;
2633
+ readonly referrer: string | null;
2634
+ readonly sample: string | null;
2635
+ readonly sourceFile: string | null;
2636
+ readonly statusCode: number;
2637
+ }
2638
+
2639
+ declare var CSPViolationReportBody: {
2640
+ prototype: CSPViolationReportBody;
2641
+ new(): CSPViolationReportBody;
2642
+ };
2643
+
2623
2644
/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */
2624
2645
interface CSSConditionRule extends CSSGroupingRule {
2625
2646
conditionText: string;
@@ -3662,6 +3683,16 @@ declare var CountQueuingStrategy: {
3662
3683
new(init: QueuingStrategyInit): CountQueuingStrategy;
3663
3684
};
3664
3685
3686
+ interface CrashReportBody extends ReportBody {
3687
+ readonly crashId: string;
3688
+ readonly reason: string | null;
3689
+ }
3690
+
3691
+ declare var CrashReportBody: {
3692
+ prototype: CrashReportBody;
3693
+ new(): CrashReportBody;
3694
+ };
3695
+
3665
3696
interface Credential {
3666
3697
readonly id: string;
3667
3698
readonly type: string;
@@ -4304,6 +4335,20 @@ declare var DelayNode: {
4304
4335
new(context: BaseAudioContext, options?: DelayOptions): DelayNode;
4305
4336
};
4306
4337
4338
+ interface DeprecationReportBody extends ReportBody {
4339
+ readonly anticipatedRemoval: Date | null;
4340
+ readonly columnNumber: number | null;
4341
+ readonly id: string;
4342
+ readonly lineNumber: number | null;
4343
+ readonly message: string;
4344
+ readonly sourceFile: string | null;
4345
+ }
4346
+
4347
+ declare var DeprecationReportBody: {
4348
+ prototype: DeprecationReportBody;
4349
+ new(): DeprecationReportBody;
4350
+ };
4351
+
4307
4352
/** Provides information about the amount of acceleration the device is experiencing along all three axes. */
4308
4353
interface DeviceAcceleration {
4309
4354
readonly x: number | null;
@@ -9621,6 +9666,19 @@ declare var IntersectionObserverEntry: {
9621
9666
new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry;
9622
9667
};
9623
9668
9669
+ interface InterventionReportBody extends ReportBody {
9670
+ readonly columnNumber: number | null;
9671
+ readonly id: string;
9672
+ readonly lineNumber: number | null;
9673
+ readonly message: string;
9674
+ readonly sourceFile: string | null;
9675
+ }
9676
+
9677
+ declare var InterventionReportBody: {
9678
+ prototype: InterventionReportBody;
9679
+ new(): InterventionReportBody;
9680
+ };
9681
+
9624
9682
/** KeyboardEvent objects describe a user interaction with the keyboard; each event describes a single interaction between the user and a key (or combination of a key with modifier keys) on the keyboard. */
9625
9683
interface KeyboardEvent extends UIEvent {
9626
9684
readonly altKey: boolean;
@@ -12436,6 +12494,25 @@ interface ReadableStreamGenericReader {
12436
12494
cancel(reason?: any): Promise<void>;
12437
12495
}
12438
12496
12497
+ interface Report {
12498
+ readonly body: ReportBody | null;
12499
+ readonly type: string;
12500
+ readonly url: string;
12501
+ }
12502
+
12503
+ declare var Report: {
12504
+ prototype: Report;
12505
+ new(): Report;
12506
+ };
12507
+
12508
+ interface ReportBody {
12509
+ }
12510
+
12511
+ declare var ReportBody: {
12512
+ prototype: ReportBody;
12513
+ new(): ReportBody;
12514
+ };
12515
+
12439
12516
/** This Fetch API interface represents a resource request. */
12440
12517
interface Request extends Body {
12441
12518
/**
@@ -14660,11 +14737,13 @@ declare var ScriptProcessorNode: {
14660
14737
interface SecurityPolicyViolationEvent extends Event {
14661
14738
readonly blockedURI: string;
14662
14739
readonly columnNumber: number;
14740
+ readonly disposition: SecurityPolicyViolationEventDisposition;
14663
14741
readonly documentURI: string;
14664
14742
readonly effectiveDirective: string;
14665
14743
readonly lineNumber: number;
14666
14744
readonly originalPolicy: string;
14667
14745
readonly referrer: string;
14746
+ readonly sample: string;
14668
14747
readonly sourceFile: string;
14669
14748
readonly statusCode: number;
14670
14749
readonly violatedDirective: string;
@@ -19833,6 +19912,7 @@ type ScrollBehavior = "auto" | "smooth";
19833
19912
type ScrollLogicalPosition = "center" | "end" | "nearest" | "start";
19834
19913
type ScrollRestoration = "auto" | "manual";
19835
19914
type ScrollSetting = "" | "up";
19915
+ type SecurityPolicyViolationEventDisposition = "enforce" | "report";
19836
19916
type SelectionMode = "end" | "preserve" | "select" | "start";
19837
19917
type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";
19838
19918
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
0 commit comments