devtools-protocol 0.0.1493946 → 0.0.1495237
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/json/browser_protocol.json +30 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +14 -0
- package/types/protocol-proxy-api.d.ts +349 -0
- package/types/protocol-tests-proxy-api.d.ts +349 -0
- package/types/protocol.d.ts +855 -91
package/types/protocol.d.ts
CHANGED
@@ -12,6 +12,7 @@ export namespace Protocol {
|
|
12
12
|
|
13
13
|
/**
|
14
14
|
* This domain is deprecated - use Runtime or Log instead.
|
15
|
+
* @deprecated
|
15
16
|
*/
|
16
17
|
export namespace Console {
|
17
18
|
|
@@ -42,11 +43,11 @@ export namespace Protocol {
|
|
42
43
|
*/
|
43
44
|
export interface ConsoleMessage {
|
44
45
|
/**
|
45
|
-
* Message source.
|
46
|
+
* Message source.
|
46
47
|
*/
|
47
48
|
source: ('xml' | 'javascript' | 'network' | 'console-api' | 'storage' | 'appcache' | 'rendering' | 'security' | 'other' | 'deprecation' | 'worker');
|
48
49
|
/**
|
49
|
-
* Message severity.
|
50
|
+
* Message severity.
|
50
51
|
*/
|
51
52
|
level: ('log' | 'warning' | 'error' | 'debug' | 'info');
|
52
53
|
/**
|
@@ -114,6 +115,7 @@ export namespace Protocol {
|
|
114
115
|
|
115
116
|
/**
|
116
117
|
* Location in the source code.
|
118
|
+
* @experimental
|
117
119
|
*/
|
118
120
|
export interface ScriptPosition {
|
119
121
|
lineNumber: integer;
|
@@ -122,6 +124,7 @@ export namespace Protocol {
|
|
122
124
|
|
123
125
|
/**
|
124
126
|
* Location range within one script.
|
127
|
+
* @experimental
|
125
128
|
*/
|
126
129
|
export interface LocationRange {
|
127
130
|
scriptId: Runtime.ScriptId;
|
@@ -153,6 +156,7 @@ export namespace Protocol {
|
|
153
156
|
* JavaScript script name or url.
|
154
157
|
* Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously
|
155
158
|
* sent `Debugger.scriptParsed` event.
|
159
|
+
* @deprecated
|
156
160
|
*/
|
157
161
|
url: string;
|
158
162
|
/**
|
@@ -172,6 +176,7 @@ export namespace Protocol {
|
|
172
176
|
* can be restarted or not. Note that a `true` value here does not
|
173
177
|
* guarantee that Debugger#restartFrame with this CallFrameId will be
|
174
178
|
* successful, but it is very likely.
|
179
|
+
* @experimental
|
175
180
|
*/
|
176
181
|
canBeRestarted?: boolean;
|
177
182
|
}
|
@@ -194,7 +199,7 @@ export namespace Protocol {
|
|
194
199
|
*/
|
195
200
|
export interface Scope {
|
196
201
|
/**
|
197
|
-
* Scope type.
|
202
|
+
* Scope type.
|
198
203
|
*/
|
199
204
|
type: ('global' | 'local' | 'with' | 'closure' | 'catch' | 'block' | 'script' | 'eval' | 'module' | 'wasm-expression-stack');
|
200
205
|
/**
|
@@ -247,12 +252,12 @@ export namespace Protocol {
|
|
247
252
|
* Column number in the script (0-based).
|
248
253
|
*/
|
249
254
|
columnNumber?: integer;
|
250
|
-
/**
|
251
|
-
* (BreakLocationType enum)
|
252
|
-
*/
|
253
255
|
type?: ('debuggerStatement' | 'call' | 'return');
|
254
256
|
}
|
255
257
|
|
258
|
+
/**
|
259
|
+
* @experimental
|
260
|
+
*/
|
256
261
|
export interface WasmDisassemblyChunk {
|
257
262
|
/**
|
258
263
|
* The next chunk of disassembled lines.
|
@@ -280,7 +285,7 @@ export namespace Protocol {
|
|
280
285
|
*/
|
281
286
|
export interface DebugSymbols {
|
282
287
|
/**
|
283
|
-
* Type of the debug symbols.
|
288
|
+
* Type of the debug symbols.
|
284
289
|
*/
|
285
290
|
type: ('SourceMap' | 'EmbeddedDWARF' | 'ExternalDWARF');
|
286
291
|
/**
|
@@ -310,9 +315,6 @@ export namespace Protocol {
|
|
310
315
|
* Location to continue to.
|
311
316
|
*/
|
312
317
|
location: Location;
|
313
|
-
/**
|
314
|
-
* (ContinueToLocationRequestTargetCallFrames enum)
|
315
|
-
*/
|
316
318
|
targetCallFrames?: ('any' | 'current');
|
317
319
|
}
|
318
320
|
|
@@ -320,6 +322,7 @@ export namespace Protocol {
|
|
320
322
|
/**
|
321
323
|
* The maximum size in bytes of collected scripts (not referenced by other heap objects)
|
322
324
|
* the debugger can hold. Puts no limit if parameter is omitted.
|
325
|
+
* @experimental
|
323
326
|
*/
|
324
327
|
maxScriptsCacheSize?: number;
|
325
328
|
}
|
@@ -327,6 +330,7 @@ export namespace Protocol {
|
|
327
330
|
export interface EnableResponse {
|
328
331
|
/**
|
329
332
|
* Unique identifier of the debugger.
|
333
|
+
* @experimental
|
330
334
|
*/
|
331
335
|
debuggerId: Runtime.UniqueDebuggerId;
|
332
336
|
}
|
@@ -361,6 +365,7 @@ export namespace Protocol {
|
|
361
365
|
returnByValue?: boolean;
|
362
366
|
/**
|
363
367
|
* Whether preview should be generated for the result.
|
368
|
+
* @experimental
|
364
369
|
*/
|
365
370
|
generatePreview?: boolean;
|
366
371
|
/**
|
@@ -369,6 +374,7 @@ export namespace Protocol {
|
|
369
374
|
throwOnSideEffect?: boolean;
|
370
375
|
/**
|
371
376
|
* Terminate execution after timing out (number of milliseconds).
|
377
|
+
* @experimental
|
372
378
|
*/
|
373
379
|
timeout?: Runtime.TimeDelta;
|
374
380
|
}
|
@@ -508,7 +514,8 @@ export namespace Protocol {
|
|
508
514
|
callFrameId: CallFrameId;
|
509
515
|
/**
|
510
516
|
* The `mode` parameter must be present and set to 'StepInto', otherwise
|
511
|
-
* `restartFrame` will error out.
|
517
|
+
* `restartFrame` will error out.
|
518
|
+
* @experimental
|
512
519
|
*/
|
513
520
|
mode?: ('StepInto');
|
514
521
|
}
|
@@ -516,14 +523,17 @@ export namespace Protocol {
|
|
516
523
|
export interface RestartFrameResponse {
|
517
524
|
/**
|
518
525
|
* New stack trace.
|
526
|
+
* @deprecated
|
519
527
|
*/
|
520
528
|
callFrames: CallFrame[];
|
521
529
|
/**
|
522
530
|
* Async stack trace, if any.
|
531
|
+
* @deprecated
|
523
532
|
*/
|
524
533
|
asyncStackTrace?: Runtime.StackTrace;
|
525
534
|
/**
|
526
535
|
* Async stack trace, if any.
|
536
|
+
* @deprecated
|
527
537
|
*/
|
528
538
|
asyncStackTraceId?: Runtime.StackTraceId;
|
529
539
|
}
|
@@ -629,7 +639,7 @@ export namespace Protocol {
|
|
629
639
|
|
630
640
|
export interface SetInstrumentationBreakpointRequest {
|
631
641
|
/**
|
632
|
-
* Instrumentation name.
|
642
|
+
* Instrumentation name.
|
633
643
|
*/
|
634
644
|
instrumentation: ('beforeScriptExecution' | 'beforeScriptWithSourceMapExecution');
|
635
645
|
}
|
@@ -716,7 +726,7 @@ export namespace Protocol {
|
|
716
726
|
|
717
727
|
export interface SetPauseOnExceptionsRequest {
|
718
728
|
/**
|
719
|
-
* Pause on exceptions mode.
|
729
|
+
* Pause on exceptions mode.
|
720
730
|
*/
|
721
731
|
state: ('none' | 'caught' | 'uncaught' | 'all');
|
722
732
|
}
|
@@ -753,6 +763,7 @@ export namespace Protocol {
|
|
753
763
|
/**
|
754
764
|
* If true, then `scriptSource` is allowed to change the function on top of the stack
|
755
765
|
* as long as the top-most stack frame is the only activation of that function.
|
766
|
+
* @experimental
|
756
767
|
*/
|
757
768
|
allowTopFrameEditing?: boolean;
|
758
769
|
}
|
@@ -760,24 +771,29 @@ export namespace Protocol {
|
|
760
771
|
export interface SetScriptSourceResponse {
|
761
772
|
/**
|
762
773
|
* New stack trace in case editing has happened while VM was stopped.
|
774
|
+
* @deprecated
|
763
775
|
*/
|
764
776
|
callFrames?: CallFrame[];
|
765
777
|
/**
|
766
778
|
* Whether current call stack was modified after applying the changes.
|
779
|
+
* @deprecated
|
767
780
|
*/
|
768
781
|
stackChanged?: boolean;
|
769
782
|
/**
|
770
783
|
* Async stack trace, if any.
|
784
|
+
* @deprecated
|
771
785
|
*/
|
772
786
|
asyncStackTrace?: Runtime.StackTrace;
|
773
787
|
/**
|
774
788
|
* Async stack trace, if any.
|
789
|
+
* @deprecated
|
775
790
|
*/
|
776
791
|
asyncStackTraceId?: Runtime.StackTraceId;
|
777
792
|
/**
|
778
793
|
* Whether the operation was successful or not. Only `Ok` denotes a
|
779
794
|
* successful live edit while the other enum variants denote why
|
780
|
-
* the live edit failed.
|
795
|
+
* the live edit failed.
|
796
|
+
* @experimental
|
781
797
|
*/
|
782
798
|
status: ('Ok' | 'CompileError' | 'BlockedByActiveGenerator' | 'BlockedByActiveFunction' | 'BlockedByTopLevelEsModuleChange');
|
783
799
|
/**
|
@@ -817,10 +833,12 @@ export namespace Protocol {
|
|
817
833
|
/**
|
818
834
|
* Debugger will pause on the execution of the first async task which was scheduled
|
819
835
|
* before next pause.
|
836
|
+
* @experimental
|
820
837
|
*/
|
821
838
|
breakOnAsyncCall?: boolean;
|
822
839
|
/**
|
823
840
|
* The skipList specifies location ranges that should be skipped on step into.
|
841
|
+
* @experimental
|
824
842
|
*/
|
825
843
|
skipList?: LocationRange[];
|
826
844
|
}
|
@@ -828,6 +846,7 @@ export namespace Protocol {
|
|
828
846
|
export interface StepOverRequest {
|
829
847
|
/**
|
830
848
|
* The skipList specifies location ranges that should be skipped on step over.
|
849
|
+
* @experimental
|
831
850
|
*/
|
832
851
|
skipList?: LocationRange[];
|
833
852
|
}
|
@@ -835,6 +854,7 @@ export namespace Protocol {
|
|
835
854
|
/**
|
836
855
|
* Fired when breakpoint is resolved to an actual script and location.
|
837
856
|
* Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
|
857
|
+
* @deprecated
|
838
858
|
*/
|
839
859
|
export interface BreakpointResolvedEvent {
|
840
860
|
/**
|
@@ -872,7 +892,7 @@ export namespace Protocol {
|
|
872
892
|
*/
|
873
893
|
callFrames: CallFrame[];
|
874
894
|
/**
|
875
|
-
* Pause reason.
|
895
|
+
* Pause reason.
|
876
896
|
*/
|
877
897
|
reason: ('ambiguous' | 'assert' | 'CSPViolation' | 'debugCommand' | 'DOM' | 'EventListener' | 'exception' | 'instrumentation' | 'OOM' | 'other' | 'promiseRejection' | 'XHR' | 'step');
|
878
898
|
/**
|
@@ -889,10 +909,13 @@ export namespace Protocol {
|
|
889
909
|
asyncStackTrace?: Runtime.StackTrace;
|
890
910
|
/**
|
891
911
|
* Async stack trace, if any.
|
912
|
+
* @experimental
|
892
913
|
*/
|
893
914
|
asyncStackTraceId?: Runtime.StackTraceId;
|
894
915
|
/**
|
895
916
|
* Never present, will be removed.
|
917
|
+
* @deprecated
|
918
|
+
* @experimental
|
896
919
|
*/
|
897
920
|
asyncCallStackTraceId?: Runtime.StackTraceId;
|
898
921
|
}
|
@@ -959,18 +982,22 @@ export namespace Protocol {
|
|
959
982
|
length?: integer;
|
960
983
|
/**
|
961
984
|
* JavaScript top stack frame of where the script parsed event was triggered if available.
|
985
|
+
* @experimental
|
962
986
|
*/
|
963
987
|
stackTrace?: Runtime.StackTrace;
|
964
988
|
/**
|
965
989
|
* If the scriptLanguage is WebAssembly, the code section offset in the module.
|
990
|
+
* @experimental
|
966
991
|
*/
|
967
992
|
codeOffset?: integer;
|
968
993
|
/**
|
969
994
|
* The language of the script.
|
995
|
+
* @experimental
|
970
996
|
*/
|
971
997
|
scriptLanguage?: Debugger.ScriptLanguage;
|
972
998
|
/**
|
973
999
|
* The name the embedder supplied for this script.
|
1000
|
+
* @experimental
|
974
1001
|
*/
|
975
1002
|
embedderName?: string;
|
976
1003
|
}
|
@@ -1022,6 +1049,7 @@ export namespace Protocol {
|
|
1022
1049
|
executionContextAuxData?: any;
|
1023
1050
|
/**
|
1024
1051
|
* True, if this script is generated as a result of the live edit operation.
|
1052
|
+
* @experimental
|
1025
1053
|
*/
|
1026
1054
|
isLiveEdit?: boolean;
|
1027
1055
|
/**
|
@@ -1042,33 +1070,42 @@ export namespace Protocol {
|
|
1042
1070
|
length?: integer;
|
1043
1071
|
/**
|
1044
1072
|
* JavaScript top stack frame of where the script parsed event was triggered if available.
|
1073
|
+
* @experimental
|
1045
1074
|
*/
|
1046
1075
|
stackTrace?: Runtime.StackTrace;
|
1047
1076
|
/**
|
1048
1077
|
* If the scriptLanguage is WebAssembly, the code section offset in the module.
|
1078
|
+
* @experimental
|
1049
1079
|
*/
|
1050
1080
|
codeOffset?: integer;
|
1051
1081
|
/**
|
1052
1082
|
* The language of the script.
|
1083
|
+
* @experimental
|
1053
1084
|
*/
|
1054
1085
|
scriptLanguage?: Debugger.ScriptLanguage;
|
1055
1086
|
/**
|
1056
1087
|
* If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
|
1088
|
+
* @experimental
|
1057
1089
|
*/
|
1058
1090
|
debugSymbols?: Debugger.DebugSymbols[];
|
1059
1091
|
/**
|
1060
1092
|
* The name the embedder supplied for this script.
|
1093
|
+
* @experimental
|
1061
1094
|
*/
|
1062
1095
|
embedderName?: string;
|
1063
1096
|
/**
|
1064
1097
|
* The list of set breakpoints in this script if calls to `setBreakpointByUrl`
|
1065
1098
|
* matches this script's URL or hash. Clients that use this list can ignore the
|
1066
1099
|
* `breakpointResolved` event. They are equivalent.
|
1100
|
+
* @experimental
|
1067
1101
|
*/
|
1068
1102
|
resolvedBreakpoints?: ResolvedBreakpoint[];
|
1069
1103
|
}
|
1070
1104
|
}
|
1071
1105
|
|
1106
|
+
/**
|
1107
|
+
* @experimental
|
1108
|
+
*/
|
1072
1109
|
export namespace HeapProfiler {
|
1073
1110
|
|
1074
1111
|
/**
|
@@ -1215,6 +1252,7 @@ export namespace Protocol {
|
|
1215
1252
|
reportProgress?: boolean;
|
1216
1253
|
/**
|
1217
1254
|
* Deprecated in favor of `exposeInternals`.
|
1255
|
+
* @deprecated
|
1218
1256
|
*/
|
1219
1257
|
treatGlobalObjectsAsRoots?: boolean;
|
1220
1258
|
/**
|
@@ -1223,6 +1261,7 @@ export namespace Protocol {
|
|
1223
1261
|
captureNumericValue?: boolean;
|
1224
1262
|
/**
|
1225
1263
|
* If true, exposes internals of the snapshot.
|
1264
|
+
* @experimental
|
1226
1265
|
*/
|
1227
1266
|
exposeInternals?: boolean;
|
1228
1267
|
}
|
@@ -1235,6 +1274,7 @@ export namespace Protocol {
|
|
1235
1274
|
/**
|
1236
1275
|
* If true, a raw snapshot without artificial roots will be generated.
|
1237
1276
|
* Deprecated in favor of `exposeInternals`.
|
1277
|
+
* @deprecated
|
1238
1278
|
*/
|
1239
1279
|
treatGlobalObjectsAsRoots?: boolean;
|
1240
1280
|
/**
|
@@ -1243,6 +1283,7 @@ export namespace Protocol {
|
|
1243
1283
|
captureNumericValue?: boolean;
|
1244
1284
|
/**
|
1245
1285
|
* If true, exposes internals of the snapshot.
|
1286
|
+
* @experimental
|
1246
1287
|
*/
|
1247
1288
|
exposeInternals?: boolean;
|
1248
1289
|
}
|
@@ -1495,6 +1536,7 @@ export namespace Protocol {
|
|
1495
1536
|
* `takePreciseCoverage` for the current isolate. May only be sent if precise code
|
1496
1537
|
* coverage has been started. This event can be trigged by the embedder to, for example,
|
1497
1538
|
* trigger collection of coverage data immediately at a certain point in time.
|
1539
|
+
* @experimental
|
1498
1540
|
*/
|
1499
1541
|
export interface PreciseCoverageDeltaUpdateEvent {
|
1500
1542
|
/**
|
@@ -1536,9 +1578,6 @@ export namespace Protocol {
|
|
1536
1578
|
* Represents options for serialization. Overrides `generatePreview` and `returnByValue`.
|
1537
1579
|
*/
|
1538
1580
|
export interface SerializationOptions {
|
1539
|
-
/**
|
1540
|
-
* (SerializationOptionsSerialization enum)
|
1541
|
-
*/
|
1542
1581
|
serialization: ('deep' | 'json' | 'idOnly');
|
1543
1582
|
/**
|
1544
1583
|
* Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
|
@@ -1583,9 +1622,6 @@ export namespace Protocol {
|
|
1583
1622
|
* Represents deep serialized value.
|
1584
1623
|
*/
|
1585
1624
|
export interface DeepSerializedValue {
|
1586
|
-
/**
|
1587
|
-
* (DeepSerializedValueType enum)
|
1588
|
-
*/
|
1589
1625
|
type: ('undefined' | 'null' | 'string' | 'number' | 'boolean' | 'bigint' | 'regexp' | 'date' | 'symbol' | 'array' | 'object' | 'function' | 'map' | 'set' | 'weakmap' | 'weakset' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'node' | 'window' | 'generator');
|
1590
1626
|
value?: any;
|
1591
1627
|
objectId?: string;
|
@@ -1646,13 +1682,13 @@ export namespace Protocol {
|
|
1646
1682
|
*/
|
1647
1683
|
export interface RemoteObject {
|
1648
1684
|
/**
|
1649
|
-
* Object type.
|
1685
|
+
* Object type.
|
1650
1686
|
*/
|
1651
1687
|
type: ('object' | 'function' | 'undefined' | 'string' | 'number' | 'boolean' | 'symbol' | 'bigint');
|
1652
1688
|
/**
|
1653
1689
|
* Object subtype hint. Specified for `object` type values only.
|
1654
1690
|
* NOTE: If you change anything here, make sure to also update
|
1655
|
-
* `subtype` in `ObjectPreview` and `PropertyPreview` below.
|
1691
|
+
* `subtype` in `ObjectPreview` and `PropertyPreview` below.
|
1656
1692
|
*/
|
1657
1693
|
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue');
|
1658
1694
|
/**
|
@@ -1674,6 +1710,7 @@ export namespace Protocol {
|
|
1674
1710
|
description?: string;
|
1675
1711
|
/**
|
1676
1712
|
* Deep serialized value.
|
1713
|
+
* @experimental
|
1677
1714
|
*/
|
1678
1715
|
deepSerializedValue?: DeepSerializedValue;
|
1679
1716
|
/**
|
@@ -1682,11 +1719,18 @@ export namespace Protocol {
|
|
1682
1719
|
objectId?: RemoteObjectId;
|
1683
1720
|
/**
|
1684
1721
|
* Preview containing abbreviated property values. Specified for `object` type values only.
|
1722
|
+
* @experimental
|
1685
1723
|
*/
|
1686
1724
|
preview?: ObjectPreview;
|
1725
|
+
/**
|
1726
|
+
* @experimental
|
1727
|
+
*/
|
1687
1728
|
customPreview?: CustomPreview;
|
1688
1729
|
}
|
1689
1730
|
|
1731
|
+
/**
|
1732
|
+
* @experimental
|
1733
|
+
*/
|
1690
1734
|
export interface CustomPreview {
|
1691
1735
|
/**
|
1692
1736
|
* The JSON-stringified result of formatter.header(object, config) call.
|
@@ -1736,14 +1780,15 @@ export namespace Protocol {
|
|
1736
1780
|
|
1737
1781
|
/**
|
1738
1782
|
* Object containing abbreviated remote object value.
|
1783
|
+
* @experimental
|
1739
1784
|
*/
|
1740
1785
|
export interface ObjectPreview {
|
1741
1786
|
/**
|
1742
|
-
* Object type.
|
1787
|
+
* Object type.
|
1743
1788
|
*/
|
1744
1789
|
type: ('object' | 'function' | 'undefined' | 'string' | 'number' | 'boolean' | 'symbol' | 'bigint');
|
1745
1790
|
/**
|
1746
|
-
* Object subtype hint. Specified for `object` type values only.
|
1791
|
+
* Object subtype hint. Specified for `object` type values only.
|
1747
1792
|
*/
|
1748
1793
|
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue');
|
1749
1794
|
/**
|
@@ -1798,13 +1843,16 @@ export namespace Protocol {
|
|
1798
1843
|
Wasmvalue = 'wasmvalue',
|
1799
1844
|
}
|
1800
1845
|
|
1846
|
+
/**
|
1847
|
+
* @experimental
|
1848
|
+
*/
|
1801
1849
|
export interface PropertyPreview {
|
1802
1850
|
/**
|
1803
1851
|
* Property name.
|
1804
1852
|
*/
|
1805
1853
|
name: string;
|
1806
1854
|
/**
|
1807
|
-
* Object type. Accessor means that the property itself is an accessor property.
|
1855
|
+
* Object type. Accessor means that the property itself is an accessor property.
|
1808
1856
|
*/
|
1809
1857
|
type: ('object' | 'function' | 'undefined' | 'string' | 'number' | 'boolean' | 'symbol' | 'accessor' | 'bigint');
|
1810
1858
|
/**
|
@@ -1816,11 +1864,14 @@ export namespace Protocol {
|
|
1816
1864
|
*/
|
1817
1865
|
valuePreview?: ObjectPreview;
|
1818
1866
|
/**
|
1819
|
-
* Object subtype hint. Specified for `object` type values only.
|
1867
|
+
* Object subtype hint. Specified for `object` type values only.
|
1820
1868
|
*/
|
1821
1869
|
subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue');
|
1822
1870
|
}
|
1823
1871
|
|
1872
|
+
/**
|
1873
|
+
* @experimental
|
1874
|
+
*/
|
1824
1875
|
export interface EntryPreview {
|
1825
1876
|
/**
|
1826
1877
|
* Preview of the key. Specified for map-like collection entries.
|
@@ -1898,6 +1949,7 @@ export namespace Protocol {
|
|
1898
1949
|
|
1899
1950
|
/**
|
1900
1951
|
* Object private field descriptor.
|
1952
|
+
* @experimental
|
1901
1953
|
*/
|
1902
1954
|
export interface PrivatePropertyDescriptor {
|
1903
1955
|
/**
|
@@ -1965,6 +2017,7 @@ export namespace Protocol {
|
|
1965
2017
|
* A system-unique execution context identifier. Unlike the id, this is unique across
|
1966
2018
|
* multiple processes, so can be reliably used to identify specific context while backend
|
1967
2019
|
* performs a cross-process navigation.
|
2020
|
+
* @experimental
|
1968
2021
|
*/
|
1969
2022
|
uniqueId: string;
|
1970
2023
|
/**
|
@@ -2018,6 +2071,7 @@ export namespace Protocol {
|
|
2018
2071
|
* Dictionary with entries of meta data that the client associated
|
2019
2072
|
* with this exception, such as information about associated network
|
2020
2073
|
* requests, etc.
|
2074
|
+
* @experimental
|
2021
2075
|
*/
|
2022
2076
|
exceptionMetaData?: any;
|
2023
2077
|
}
|
@@ -2077,18 +2131,21 @@ export namespace Protocol {
|
|
2077
2131
|
parent?: StackTrace;
|
2078
2132
|
/**
|
2079
2133
|
* Asynchronous JavaScript stack trace that preceded this stack, if available.
|
2134
|
+
* @experimental
|
2080
2135
|
*/
|
2081
2136
|
parentId?: StackTraceId;
|
2082
2137
|
}
|
2083
2138
|
|
2084
2139
|
/**
|
2085
2140
|
* Unique identifier of current debugger.
|
2141
|
+
* @experimental
|
2086
2142
|
*/
|
2087
2143
|
export type UniqueDebuggerId = string;
|
2088
2144
|
|
2089
2145
|
/**
|
2090
2146
|
* If `debuggerId` is set stack trace comes from another debugger and can be resolved there. This
|
2091
2147
|
* allows to track cross-debugger calls. See `Runtime.StackTrace` and `Debugger.paused` for usages.
|
2148
|
+
* @experimental
|
2092
2149
|
*/
|
2093
2150
|
export interface StackTraceId {
|
2094
2151
|
id: string;
|
@@ -2148,6 +2205,7 @@ export namespace Protocol {
|
|
2148
2205
|
returnByValue?: boolean;
|
2149
2206
|
/**
|
2150
2207
|
* Whether preview should be generated for the result.
|
2208
|
+
* @experimental
|
2151
2209
|
*/
|
2152
2210
|
generatePreview?: boolean;
|
2153
2211
|
/**
|
@@ -2171,6 +2229,7 @@ export namespace Protocol {
|
|
2171
2229
|
objectGroup?: string;
|
2172
2230
|
/**
|
2173
2231
|
* Whether to throw an exception if side effect cannot be ruled out during evaluation.
|
2232
|
+
* @experimental
|
2174
2233
|
*/
|
2175
2234
|
throwOnSideEffect?: boolean;
|
2176
2235
|
/**
|
@@ -2180,11 +2239,13 @@ export namespace Protocol {
|
|
2180
2239
|
* in context different than intended (e.g. as a result of navigation across process
|
2181
2240
|
* boundaries).
|
2182
2241
|
* This is mutually exclusive with `executionContextId`.
|
2242
|
+
* @experimental
|
2183
2243
|
*/
|
2184
2244
|
uniqueContextId?: string;
|
2185
2245
|
/**
|
2186
2246
|
* Specifies the result serialization. If provided, overrides
|
2187
2247
|
* `generatePreview` and `returnByValue`.
|
2248
|
+
* @experimental
|
2188
2249
|
*/
|
2189
2250
|
serializationOptions?: SerializationOptions;
|
2190
2251
|
}
|
@@ -2263,6 +2324,7 @@ export namespace Protocol {
|
|
2263
2324
|
returnByValue?: boolean;
|
2264
2325
|
/**
|
2265
2326
|
* Whether preview should be generated for the result.
|
2327
|
+
* @experimental
|
2266
2328
|
*/
|
2267
2329
|
generatePreview?: boolean;
|
2268
2330
|
/**
|
@@ -2277,20 +2339,24 @@ export namespace Protocol {
|
|
2277
2339
|
/**
|
2278
2340
|
* Whether to throw an exception if side effect cannot be ruled out during evaluation.
|
2279
2341
|
* This implies `disableBreaks` below.
|
2342
|
+
* @experimental
|
2280
2343
|
*/
|
2281
2344
|
throwOnSideEffect?: boolean;
|
2282
2345
|
/**
|
2283
2346
|
* Terminate execution after timing out (number of milliseconds).
|
2347
|
+
* @experimental
|
2284
2348
|
*/
|
2285
2349
|
timeout?: TimeDelta;
|
2286
2350
|
/**
|
2287
2351
|
* Disable breakpoints during execution.
|
2352
|
+
* @experimental
|
2288
2353
|
*/
|
2289
2354
|
disableBreaks?: boolean;
|
2290
2355
|
/**
|
2291
2356
|
* Setting this flag to true enables `let` re-declaration and top-level `await`.
|
2292
2357
|
* Note that `let` variables can only be re-declared if they originate from
|
2293
2358
|
* `replMode` themselves.
|
2359
|
+
* @experimental
|
2294
2360
|
*/
|
2295
2361
|
replMode?: boolean;
|
2296
2362
|
/**
|
@@ -2298,6 +2364,7 @@ export namespace Protocol {
|
|
2298
2364
|
* which includes eval(), Function(), setTimeout() and setInterval()
|
2299
2365
|
* when called with non-callable arguments. This flag bypasses CSP for this
|
2300
2366
|
* evaluation and allows unsafe-eval. Defaults to true.
|
2367
|
+
* @experimental
|
2301
2368
|
*/
|
2302
2369
|
allowUnsafeEvalBlockedByCSP?: boolean;
|
2303
2370
|
/**
|
@@ -2307,11 +2374,13 @@ export namespace Protocol {
|
|
2307
2374
|
* in context different than intended (e.g. as a result of navigation across process
|
2308
2375
|
* boundaries).
|
2309
2376
|
* This is mutually exclusive with `contextId`.
|
2377
|
+
* @experimental
|
2310
2378
|
*/
|
2311
2379
|
uniqueContextId?: string;
|
2312
2380
|
/**
|
2313
2381
|
* Specifies the result serialization. If provided, overrides
|
2314
2382
|
* `generatePreview` and `returnByValue`.
|
2383
|
+
* @experimental
|
2315
2384
|
*/
|
2316
2385
|
serializationOptions?: SerializationOptions;
|
2317
2386
|
}
|
@@ -2366,14 +2435,17 @@ export namespace Protocol {
|
|
2366
2435
|
/**
|
2367
2436
|
* If true, returns accessor properties (with getter/setter) only; internal properties are not
|
2368
2437
|
* returned either.
|
2438
|
+
* @experimental
|
2369
2439
|
*/
|
2370
2440
|
accessorPropertiesOnly?: boolean;
|
2371
2441
|
/**
|
2372
2442
|
* Whether preview should be generated for the results.
|
2443
|
+
* @experimental
|
2373
2444
|
*/
|
2374
2445
|
generatePreview?: boolean;
|
2375
2446
|
/**
|
2376
2447
|
* If true, returns non-indexed properties only.
|
2448
|
+
* @experimental
|
2377
2449
|
*/
|
2378
2450
|
nonIndexedPropertiesOnly?: boolean;
|
2379
2451
|
}
|
@@ -2389,6 +2461,7 @@ export namespace Protocol {
|
|
2389
2461
|
internalProperties?: InternalPropertyDescriptor[];
|
2390
2462
|
/**
|
2391
2463
|
* Object private properties.
|
2464
|
+
* @experimental
|
2392
2465
|
*/
|
2393
2466
|
privateProperties?: PrivatePropertyDescriptor[];
|
2394
2467
|
/**
|
@@ -2515,6 +2588,8 @@ export namespace Protocol {
|
|
2515
2588
|
* Deprecated in favor of `executionContextName` due to an unclear use case
|
2516
2589
|
* and bugs in implementation (crbug.com/1169639). `executionContextId` will be
|
2517
2590
|
* removed in the future.
|
2591
|
+
* @deprecated
|
2592
|
+
* @experimental
|
2518
2593
|
*/
|
2519
2594
|
executionContextId?: ExecutionContextId;
|
2520
2595
|
/**
|
@@ -2544,6 +2619,7 @@ export namespace Protocol {
|
|
2544
2619
|
|
2545
2620
|
/**
|
2546
2621
|
* Notification is issued every time when binding is called.
|
2622
|
+
* @experimental
|
2547
2623
|
*/
|
2548
2624
|
export interface BindingCalledEvent {
|
2549
2625
|
name: string;
|
@@ -2580,7 +2656,7 @@ export namespace Protocol {
|
|
2580
2656
|
*/
|
2581
2657
|
export interface ConsoleAPICalledEvent {
|
2582
2658
|
/**
|
2583
|
-
* Type of the call.
|
2659
|
+
* Type of the call.
|
2584
2660
|
*/
|
2585
2661
|
type: ('log' | 'debug' | 'info' | 'error' | 'warning' | 'dir' | 'dirxml' | 'table' | 'trace' | 'clear' | 'startGroup' | 'startGroupCollapsed' | 'endGroup' | 'assert' | 'profile' | 'profileEnd' | 'count' | 'timeEnd');
|
2586
2662
|
/**
|
@@ -2605,6 +2681,7 @@ export namespace Protocol {
|
|
2605
2681
|
* Console context descriptor for calls on non-default console context (not console.*):
|
2606
2682
|
* 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call
|
2607
2683
|
* on named context.
|
2684
|
+
* @experimental
|
2608
2685
|
*/
|
2609
2686
|
context?: string;
|
2610
2687
|
}
|
@@ -2650,10 +2727,12 @@ export namespace Protocol {
|
|
2650
2727
|
export interface ExecutionContextDestroyedEvent {
|
2651
2728
|
/**
|
2652
2729
|
* Id of the destroyed context
|
2730
|
+
* @deprecated
|
2653
2731
|
*/
|
2654
2732
|
executionContextId: ExecutionContextId;
|
2655
2733
|
/**
|
2656
2734
|
* Unique Id of the destroyed context
|
2735
|
+
* @experimental
|
2657
2736
|
*/
|
2658
2737
|
executionContextUniqueId: string;
|
2659
2738
|
}
|
@@ -2667,6 +2746,7 @@ export namespace Protocol {
|
|
2667
2746
|
hints: any;
|
2668
2747
|
/**
|
2669
2748
|
* Identifier of the context where the call was made.
|
2749
|
+
* @experimental
|
2670
2750
|
*/
|
2671
2751
|
executionContextId?: ExecutionContextId;
|
2672
2752
|
}
|
@@ -2674,6 +2754,7 @@ export namespace Protocol {
|
|
2674
2754
|
|
2675
2755
|
/**
|
2676
2756
|
* This domain is deprecated.
|
2757
|
+
* @deprecated
|
2677
2758
|
*/
|
2678
2759
|
export namespace Schema {
|
2679
2760
|
|
@@ -2699,6 +2780,9 @@ export namespace Protocol {
|
|
2699
2780
|
}
|
2700
2781
|
}
|
2701
2782
|
|
2783
|
+
/**
|
2784
|
+
* @experimental
|
2785
|
+
*/
|
2702
2786
|
export namespace Accessibility {
|
2703
2787
|
|
2704
2788
|
/**
|
@@ -3001,6 +3085,7 @@ export namespace Protocol {
|
|
3001
3085
|
/**
|
3002
3086
|
* The loadComplete event mirrors the load complete event sent by the browser to assistive
|
3003
3087
|
* technology when the web page has finished loading.
|
3088
|
+
* @experimental
|
3004
3089
|
*/
|
3005
3090
|
export interface LoadCompleteEvent {
|
3006
3091
|
/**
|
@@ -3011,6 +3096,7 @@ export namespace Protocol {
|
|
3011
3096
|
|
3012
3097
|
/**
|
3013
3098
|
* The nodesUpdated event is sent every time a previously requested node has changed the in tree.
|
3099
|
+
* @experimental
|
3014
3100
|
*/
|
3015
3101
|
export interface NodesUpdatedEvent {
|
3016
3102
|
/**
|
@@ -3020,6 +3106,9 @@ export namespace Protocol {
|
|
3020
3106
|
}
|
3021
3107
|
}
|
3022
3108
|
|
3109
|
+
/**
|
3110
|
+
* @experimental
|
3111
|
+
*/
|
3023
3112
|
export namespace Animation {
|
3024
3113
|
|
3025
3114
|
export const enum AnimationType {
|
@@ -3064,7 +3153,7 @@ export namespace Protocol {
|
|
3064
3153
|
*/
|
3065
3154
|
currentTime: number;
|
3066
3155
|
/**
|
3067
|
-
* Animation type of `Animation`.
|
3156
|
+
* Animation type of `Animation`.
|
3068
3157
|
*/
|
3069
3158
|
type: ('CSSTransition' | 'CSSAnimation' | 'WebAnimation');
|
3070
3159
|
/**
|
@@ -3318,6 +3407,7 @@ export namespace Protocol {
|
|
3318
3407
|
|
3319
3408
|
/**
|
3320
3409
|
* Audits domain allows investigation of page violations and possible improvements.
|
3410
|
+
* @experimental
|
3321
3411
|
*/
|
3322
3412
|
export namespace Audits {
|
3323
3413
|
|
@@ -3542,6 +3632,8 @@ export namespace Protocol {
|
|
3542
3632
|
|
3543
3633
|
export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch' | 'ValidationFailedIntegrityMismatch');
|
3544
3634
|
|
3635
|
+
export type UnencodedDigestError = ('MalformedDictionary' | 'UnknownAlgorithm' | 'IncorrectDigestType' | 'IncorrectDigestLength');
|
3636
|
+
|
3545
3637
|
/**
|
3546
3638
|
* Details for issues around "Attribution Reporting API" usage.
|
3547
3639
|
* Explainer: https://github.com/WICG/attribution-reporting-api
|
@@ -3569,6 +3661,9 @@ export namespace Protocol {
|
|
3569
3661
|
loaderId: Network.LoaderId;
|
3570
3662
|
}
|
3571
3663
|
|
3664
|
+
/**
|
3665
|
+
* @deprecated
|
3666
|
+
*/
|
3572
3667
|
export interface NavigatorUserAgentIssueDetails {
|
3573
3668
|
url: string;
|
3574
3669
|
location?: SourceCodeLocation;
|
@@ -3586,6 +3681,11 @@ export namespace Protocol {
|
|
3586
3681
|
request: AffectedRequest;
|
3587
3682
|
}
|
3588
3683
|
|
3684
|
+
export interface UnencodedDigestIssueDetails {
|
3685
|
+
error: UnencodedDigestError;
|
3686
|
+
request: AffectedRequest;
|
3687
|
+
}
|
3688
|
+
|
3589
3689
|
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB');
|
3590
3690
|
|
3591
3691
|
/**
|
@@ -3770,7 +3870,7 @@ export namespace Protocol {
|
|
3770
3870
|
* optional fields in InspectorIssueDetails to convey more specific
|
3771
3871
|
* information about the kind of issue.
|
3772
3872
|
*/
|
3773
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UserReidentificationIssue');
|
3873
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'UserReidentificationIssue');
|
3774
3874
|
|
3775
3875
|
/**
|
3776
3876
|
* This struct holds a list of optional fields with additional information
|
@@ -3789,6 +3889,9 @@ export namespace Protocol {
|
|
3789
3889
|
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
3790
3890
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
3791
3891
|
partitioningBlobURLIssueDetails?: PartitioningBlobURLIssueDetails;
|
3892
|
+
/**
|
3893
|
+
* @deprecated
|
3894
|
+
*/
|
3792
3895
|
navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
|
3793
3896
|
genericIssueDetails?: GenericIssueDetails;
|
3794
3897
|
deprecationIssueDetails?: DeprecationIssueDetails;
|
@@ -3802,6 +3905,7 @@ export namespace Protocol {
|
|
3802
3905
|
sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
|
3803
3906
|
elementAccessibilityIssueDetails?: ElementAccessibilityIssueDetails;
|
3804
3907
|
sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
|
3908
|
+
unencodedDigestIssueDetails?: UnencodedDigestIssueDetails;
|
3805
3909
|
userReidentificationIssueDetails?: UserReidentificationIssueDetails;
|
3806
3910
|
}
|
3807
3911
|
|
@@ -3836,7 +3940,7 @@ export namespace Protocol {
|
|
3836
3940
|
*/
|
3837
3941
|
requestId: Network.RequestId;
|
3838
3942
|
/**
|
3839
|
-
* The encoding to use.
|
3943
|
+
* The encoding to use.
|
3840
3944
|
*/
|
3841
3945
|
encoding: ('webp' | 'jpeg' | 'png');
|
3842
3946
|
/**
|
@@ -3882,6 +3986,7 @@ export namespace Protocol {
|
|
3882
3986
|
|
3883
3987
|
/**
|
3884
3988
|
* Defines commands and events for browser extensions.
|
3989
|
+
* @experimental
|
3885
3990
|
*/
|
3886
3991
|
export namespace Extensions {
|
3887
3992
|
|
@@ -3974,6 +4079,7 @@ export namespace Protocol {
|
|
3974
4079
|
|
3975
4080
|
/**
|
3976
4081
|
* Defines commands and events for Autofill.
|
4082
|
+
* @experimental
|
3977
4083
|
*/
|
3978
4084
|
export namespace Autofill {
|
3979
4085
|
|
@@ -4118,6 +4224,7 @@ export namespace Protocol {
|
|
4118
4224
|
|
4119
4225
|
/**
|
4120
4226
|
* Defines events for background web platform features.
|
4227
|
+
* @experimental
|
4121
4228
|
*/
|
4122
4229
|
export namespace BackgroundService {
|
4123
4230
|
|
@@ -4210,17 +4317,25 @@ export namespace Protocol {
|
|
4210
4317
|
*/
|
4211
4318
|
export namespace Browser {
|
4212
4319
|
|
4320
|
+
/**
|
4321
|
+
* @experimental
|
4322
|
+
*/
|
4213
4323
|
export type BrowserContextID = string;
|
4214
4324
|
|
4325
|
+
/**
|
4326
|
+
* @experimental
|
4327
|
+
*/
|
4215
4328
|
export type WindowID = integer;
|
4216
4329
|
|
4217
4330
|
/**
|
4218
4331
|
* The state of the browser window.
|
4332
|
+
* @experimental
|
4219
4333
|
*/
|
4220
4334
|
export type WindowState = ('normal' | 'minimized' | 'maximized' | 'fullscreen');
|
4221
4335
|
|
4222
4336
|
/**
|
4223
4337
|
* Browser window bounds information
|
4338
|
+
* @experimental
|
4224
4339
|
*/
|
4225
4340
|
export interface Bounds {
|
4226
4341
|
/**
|
@@ -4245,13 +4360,20 @@ export namespace Protocol {
|
|
4245
4360
|
windowState?: WindowState;
|
4246
4361
|
}
|
4247
4362
|
|
4363
|
+
/**
|
4364
|
+
* @experimental
|
4365
|
+
*/
|
4248
4366
|
export type PermissionType = ('ar' | 'audioCapture' | 'automaticFullscreen' | 'backgroundFetch' | 'backgroundSync' | 'cameraPanTiltZoom' | 'capturedSurfaceControl' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'geolocation' | 'handTracking' | 'idleDetection' | 'keyboardLock' | 'localFonts' | 'localNetworkAccess' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'pointerLock' | 'protectedMediaIdentifier' | 'sensors' | 'smartCard' | 'speakerSelection' | 'storageAccess' | 'topLevelStorageAccess' | 'videoCapture' | 'vr' | 'wakeLockScreen' | 'wakeLockSystem' | 'webAppInstallation' | 'webPrinting' | 'windowManagement');
|
4249
4367
|
|
4368
|
+
/**
|
4369
|
+
* @experimental
|
4370
|
+
*/
|
4250
4371
|
export type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
4251
4372
|
|
4252
4373
|
/**
|
4253
4374
|
* Definition of PermissionDescriptor defined in the Permissions API:
|
4254
4375
|
* https://w3c.github.io/permissions/#dom-permissiondescriptor.
|
4376
|
+
* @experimental
|
4255
4377
|
*/
|
4256
4378
|
export interface PermissionDescriptor {
|
4257
4379
|
/**
|
@@ -4284,11 +4406,13 @@ export namespace Protocol {
|
|
4284
4406
|
|
4285
4407
|
/**
|
4286
4408
|
* Browser command ids used by executeBrowserCommand.
|
4409
|
+
* @experimental
|
4287
4410
|
*/
|
4288
4411
|
export type BrowserCommandId = ('openTabSearch' | 'closeTabSearch' | 'openGlic');
|
4289
4412
|
|
4290
4413
|
/**
|
4291
4414
|
* Chrome histogram bucket.
|
4415
|
+
* @experimental
|
4292
4416
|
*/
|
4293
4417
|
export interface Bucket {
|
4294
4418
|
/**
|
@@ -4307,6 +4431,7 @@ export namespace Protocol {
|
|
4307
4431
|
|
4308
4432
|
/**
|
4309
4433
|
* Chrome histogram.
|
4434
|
+
* @experimental
|
4310
4435
|
*/
|
4311
4436
|
export interface Histogram {
|
4312
4437
|
/**
|
@@ -4327,6 +4452,9 @@ export namespace Protocol {
|
|
4327
4452
|
buckets: Bucket[];
|
4328
4453
|
}
|
4329
4454
|
|
4455
|
+
/**
|
4456
|
+
* @experimental
|
4457
|
+
*/
|
4330
4458
|
export type PrivacySandboxAPI = ('BiddingAndAuctionServices' | 'TrustedKeyValue');
|
4331
4459
|
|
4332
4460
|
export interface SetPermissionRequest {
|
@@ -4378,7 +4506,7 @@ export namespace Protocol {
|
|
4378
4506
|
/**
|
4379
4507
|
* Whether to allow all or deny all download requests, or use default Chrome behavior if
|
4380
4508
|
* available (otherwise deny). |allowAndName| allows download and names files according to
|
4381
|
-
* their download guids.
|
4509
|
+
* their download guids.
|
4382
4510
|
*/
|
4383
4511
|
behavior: ('deny' | 'allow' | 'allowAndName' | 'default');
|
4384
4512
|
/**
|
@@ -4567,6 +4695,7 @@ export namespace Protocol {
|
|
4567
4695
|
|
4568
4696
|
/**
|
4569
4697
|
* Fired when page is about to start a download.
|
4698
|
+
* @experimental
|
4570
4699
|
*/
|
4571
4700
|
export interface DownloadWillBeginEvent {
|
4572
4701
|
/**
|
@@ -4595,6 +4724,7 @@ export namespace Protocol {
|
|
4595
4724
|
|
4596
4725
|
/**
|
4597
4726
|
* Fired when download makes progress. Last call has |done| == true.
|
4727
|
+
* @experimental
|
4598
4728
|
*/
|
4599
4729
|
export interface DownloadProgressEvent {
|
4600
4730
|
/**
|
@@ -4610,13 +4740,14 @@ export namespace Protocol {
|
|
4610
4740
|
*/
|
4611
4741
|
receivedBytes: number;
|
4612
4742
|
/**
|
4613
|
-
* Download status.
|
4743
|
+
* Download status.
|
4614
4744
|
*/
|
4615
4745
|
state: ('inProgress' | 'completed' | 'canceled');
|
4616
4746
|
/**
|
4617
4747
|
* If download is "completed", provides the path of the downloaded file.
|
4618
4748
|
* Depending on the platform, it is not guaranteed to be set, nor the file
|
4619
4749
|
* is guaranteed to exist.
|
4750
|
+
* @experimental
|
4620
4751
|
*/
|
4621
4752
|
filePath?: string;
|
4622
4753
|
}
|
@@ -4629,6 +4760,7 @@ export namespace Protocol {
|
|
4629
4760
|
* CSS objects can be loaded using the `get*ForNode()` calls (which accept a DOM node id). A client
|
4630
4761
|
* can also keep track of stylesheets via the `styleSheetAdded`/`styleSheetRemoved` events and
|
4631
4762
|
* subsequently load the required stylesheet contents using the `getStyleSheet[Text]()` methods.
|
4763
|
+
* @experimental
|
4632
4764
|
*/
|
4633
4765
|
export namespace CSS {
|
4634
4766
|
|
@@ -4739,6 +4871,7 @@ export namespace Protocol {
|
|
4739
4871
|
range?: SourceRange;
|
4740
4872
|
/**
|
4741
4873
|
* Specificity of the selector.
|
4874
|
+
* @experimental
|
4742
4875
|
*/
|
4743
4876
|
specificity?: Specificity;
|
4744
4877
|
}
|
@@ -4746,6 +4879,7 @@ export namespace Protocol {
|
|
4746
4879
|
/**
|
4747
4880
|
* Specificity:
|
4748
4881
|
* https://drafts.csswg.org/selectors/#specificity-rules
|
4882
|
+
* @experimental
|
4749
4883
|
*/
|
4750
4884
|
export interface Specificity {
|
4751
4885
|
/**
|
@@ -4858,6 +4992,7 @@ export namespace Protocol {
|
|
4858
4992
|
endColumn: number;
|
4859
4993
|
/**
|
4860
4994
|
* If the style sheet was loaded from a network resource, this indicates when the resource failed to load
|
4995
|
+
* @experimental
|
4861
4996
|
*/
|
4862
4997
|
loadingFailed?: boolean;
|
4863
4998
|
}
|
@@ -4877,6 +5012,7 @@ export namespace Protocol {
|
|
4877
5012
|
selectorList: SelectorList;
|
4878
5013
|
/**
|
4879
5014
|
* Array of selectors from ancestor style rules, sorted by distance from the current rule.
|
5015
|
+
* @experimental
|
4880
5016
|
*/
|
4881
5017
|
nestingSelectors?: string[];
|
4882
5018
|
/**
|
@@ -4895,30 +5031,36 @@ export namespace Protocol {
|
|
4895
5031
|
/**
|
4896
5032
|
* Container query list array (for rules involving container queries).
|
4897
5033
|
* The array enumerates container queries starting with the innermost one, going outwards.
|
5034
|
+
* @experimental
|
4898
5035
|
*/
|
4899
5036
|
containerQueries?: CSSContainerQuery[];
|
4900
5037
|
/**
|
4901
5038
|
* @supports CSS at-rule array.
|
4902
5039
|
* The array enumerates @supports at-rules starting with the innermost one, going outwards.
|
5040
|
+
* @experimental
|
4903
5041
|
*/
|
4904
5042
|
supports?: CSSSupports[];
|
4905
5043
|
/**
|
4906
5044
|
* Cascade layer array. Contains the layer hierarchy that this rule belongs to starting
|
4907
5045
|
* with the innermost layer and going outwards.
|
5046
|
+
* @experimental
|
4908
5047
|
*/
|
4909
5048
|
layers?: CSSLayer[];
|
4910
5049
|
/**
|
4911
5050
|
* @scope CSS at-rule array.
|
4912
5051
|
* The array enumerates @scope at-rules starting with the innermost one, going outwards.
|
5052
|
+
* @experimental
|
4913
5053
|
*/
|
4914
5054
|
scopes?: CSSScope[];
|
4915
5055
|
/**
|
4916
5056
|
* The array keeps the types of ancestor CSSRules from the innermost going outwards.
|
5057
|
+
* @experimental
|
4917
5058
|
*/
|
4918
5059
|
ruleTypes?: CSSRuleType[];
|
4919
5060
|
/**
|
4920
5061
|
* @starting-style CSS at-rule array.
|
4921
5062
|
* The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
|
5063
|
+
* @experimental
|
4922
5064
|
*/
|
4923
5065
|
startingStyles?: CSSStartingStyle[];
|
4924
5066
|
}
|
@@ -4926,6 +5068,7 @@ export namespace Protocol {
|
|
4926
5068
|
/**
|
4927
5069
|
* Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
|
4928
5070
|
* This list only contains rule types that are collected during the ancestor rule collection.
|
5071
|
+
* @experimental
|
4929
5072
|
*/
|
4930
5073
|
export type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule' | 'StartingStyleRule');
|
4931
5074
|
|
@@ -5066,6 +5209,7 @@ export namespace Protocol {
|
|
5066
5209
|
/**
|
5067
5210
|
* Parsed longhand components of this property if it is a shorthand.
|
5068
5211
|
* This field will be empty if the given property is not a shorthand.
|
5212
|
+
* @experimental
|
5069
5213
|
*/
|
5070
5214
|
longhandProperties?: CSSProperty[];
|
5071
5215
|
}
|
@@ -5089,7 +5233,7 @@ export namespace Protocol {
|
|
5089
5233
|
* Source of the media query: "mediaRule" if specified by a @media rule, "importRule" if
|
5090
5234
|
* specified by an @import rule, "linkedSheet" if specified by a "media" attribute in a linked
|
5091
5235
|
* stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline
|
5092
|
-
* stylesheet's STYLE tag.
|
5236
|
+
* stylesheet's STYLE tag.
|
5093
5237
|
*/
|
5094
5238
|
source: ('mediaRule' | 'importRule' | 'linkedSheet' | 'inlineSheet');
|
5095
5239
|
/**
|
@@ -5153,6 +5297,7 @@ export namespace Protocol {
|
|
5153
5297
|
|
5154
5298
|
/**
|
5155
5299
|
* CSS container query rule descriptor.
|
5300
|
+
* @experimental
|
5156
5301
|
*/
|
5157
5302
|
export interface CSSContainerQuery {
|
5158
5303
|
/**
|
@@ -5192,6 +5337,7 @@ export namespace Protocol {
|
|
5192
5337
|
|
5193
5338
|
/**
|
5194
5339
|
* CSS Supports at-rule descriptor.
|
5340
|
+
* @experimental
|
5195
5341
|
*/
|
5196
5342
|
export interface CSSSupports {
|
5197
5343
|
/**
|
@@ -5215,6 +5361,7 @@ export namespace Protocol {
|
|
5215
5361
|
|
5216
5362
|
/**
|
5217
5363
|
* CSS Scope at-rule descriptor.
|
5364
|
+
* @experimental
|
5218
5365
|
*/
|
5219
5366
|
export interface CSSScope {
|
5220
5367
|
/**
|
@@ -5234,6 +5381,7 @@ export namespace Protocol {
|
|
5234
5381
|
|
5235
5382
|
/**
|
5236
5383
|
* CSS Layer at-rule descriptor.
|
5384
|
+
* @experimental
|
5237
5385
|
*/
|
5238
5386
|
export interface CSSLayer {
|
5239
5387
|
/**
|
@@ -5253,6 +5401,7 @@ export namespace Protocol {
|
|
5253
5401
|
|
5254
5402
|
/**
|
5255
5403
|
* CSS Starting Style at-rule descriptor.
|
5404
|
+
* @experimental
|
5256
5405
|
*/
|
5257
5406
|
export interface CSSStartingStyle {
|
5258
5407
|
/**
|
@@ -5268,6 +5417,7 @@ export namespace Protocol {
|
|
5268
5417
|
|
5269
5418
|
/**
|
5270
5419
|
* CSS Layer data.
|
5420
|
+
* @experimental
|
5271
5421
|
*/
|
5272
5422
|
export interface CSSLayerData {
|
5273
5423
|
/**
|
@@ -5632,6 +5782,7 @@ export namespace Protocol {
|
|
5632
5782
|
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
5633
5783
|
* validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
5634
5784
|
* incorrect results if the declaration contains a var() for example.
|
5785
|
+
* @experimental
|
5635
5786
|
*/
|
5636
5787
|
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
5637
5788
|
}
|
@@ -5864,10 +6015,12 @@ export namespace Protocol {
|
|
5864
6015
|
cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
|
5865
6016
|
/**
|
5866
6017
|
* Id of the first parent element that does not have display: contents.
|
6018
|
+
* @experimental
|
5867
6019
|
*/
|
5868
6020
|
parentLayoutNodeId?: DOM.NodeId;
|
5869
6021
|
/**
|
5870
6022
|
* A list of CSS at-function rules referenced by styles of this node.
|
6023
|
+
* @experimental
|
5871
6024
|
*/
|
5872
6025
|
cssFunctionRules?: CSSFunctionRule[];
|
5873
6026
|
}
|
@@ -6052,6 +6205,7 @@ export namespace Protocol {
|
|
6052
6205
|
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
6053
6206
|
* validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
6054
6207
|
* incorrect results if the declaration contains a var() for example.
|
6208
|
+
* @experimental
|
6055
6209
|
*/
|
6056
6210
|
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
6057
6211
|
}
|
@@ -6120,6 +6274,9 @@ export namespace Protocol {
|
|
6120
6274
|
styleSheetId: StyleSheetId;
|
6121
6275
|
}
|
6122
6276
|
|
6277
|
+
/**
|
6278
|
+
* @experimental
|
6279
|
+
*/
|
6123
6280
|
export interface ComputedStyleUpdatedEvent {
|
6124
6281
|
/**
|
6125
6282
|
* The node id that has updated computed styles.
|
@@ -6128,6 +6285,9 @@ export namespace Protocol {
|
|
6128
6285
|
}
|
6129
6286
|
}
|
6130
6287
|
|
6288
|
+
/**
|
6289
|
+
* @experimental
|
6290
|
+
*/
|
6131
6291
|
export namespace CacheStorage {
|
6132
6292
|
|
6133
6293
|
/**
|
@@ -6317,6 +6477,7 @@ export namespace Protocol {
|
|
6317
6477
|
/**
|
6318
6478
|
* A domain for interacting with Cast, Presentation API, and Remote Playback API
|
6319
6479
|
* functionalities.
|
6480
|
+
* @experimental
|
6320
6481
|
*/
|
6321
6482
|
export namespace Cast {
|
6322
6483
|
|
@@ -6550,6 +6711,7 @@ export namespace Protocol {
|
|
6550
6711
|
* Deprecated, as the HTML Imports API has been removed (crbug.com/937746).
|
6551
6712
|
* This property used to return the imported document for the HTMLImport links.
|
6552
6713
|
* The property is always undefined now.
|
6714
|
+
* @deprecated
|
6553
6715
|
*/
|
6554
6716
|
importedDocument?: Node;
|
6555
6717
|
/**
|
@@ -6562,6 +6724,9 @@ export namespace Protocol {
|
|
6562
6724
|
isSVG?: boolean;
|
6563
6725
|
compatibilityMode?: CompatibilityMode;
|
6564
6726
|
assignedSlot?: BackendNode;
|
6727
|
+
/**
|
6728
|
+
* @experimental
|
6729
|
+
*/
|
6565
6730
|
isScrollable?: boolean;
|
6566
6731
|
}
|
6567
6732
|
|
@@ -6788,7 +6953,8 @@ export namespace Protocol {
|
|
6788
6953
|
|
6789
6954
|
export interface EnableRequest {
|
6790
6955
|
/**
|
6791
|
-
* Whether to include whitespaces in the children array of returned Nodes.
|
6956
|
+
* Whether to include whitespaces in the children array of returned Nodes.
|
6957
|
+
* @experimental
|
6792
6958
|
*/
|
6793
6959
|
includeWhitespace?: ('none' | 'all');
|
6794
6960
|
}
|
@@ -6978,6 +7144,7 @@ export namespace Protocol {
|
|
6978
7144
|
objectId?: Runtime.RemoteObjectId;
|
6979
7145
|
/**
|
6980
7146
|
* Include all shadow roots. Equals to false if not specified.
|
7147
|
+
* @experimental
|
6981
7148
|
*/
|
6982
7149
|
includeShadowDOM?: boolean;
|
6983
7150
|
}
|
@@ -7154,7 +7321,7 @@ export namespace Protocol {
|
|
7154
7321
|
*/
|
7155
7322
|
nodeId: NodeId;
|
7156
7323
|
/**
|
7157
|
-
* Type of relation to get.
|
7324
|
+
* Type of relation to get.
|
7158
7325
|
*/
|
7159
7326
|
relation: ('PopoverTarget' | 'InterestTarget' | 'CommandFor');
|
7160
7327
|
}
|
@@ -7556,6 +7723,7 @@ export namespace Protocol {
|
|
7556
7723
|
|
7557
7724
|
/**
|
7558
7725
|
* Called when distribution is changed.
|
7726
|
+
* @experimental
|
7559
7727
|
*/
|
7560
7728
|
export interface DistributedNodesUpdatedEvent {
|
7561
7729
|
/**
|
@@ -7570,6 +7738,7 @@ export namespace Protocol {
|
|
7570
7738
|
|
7571
7739
|
/**
|
7572
7740
|
* Fired when `Element`'s inline style is modified via a CSS property modification.
|
7741
|
+
* @experimental
|
7573
7742
|
*/
|
7574
7743
|
export interface InlineStyleInvalidatedEvent {
|
7575
7744
|
/**
|
@@ -7580,6 +7749,7 @@ export namespace Protocol {
|
|
7580
7749
|
|
7581
7750
|
/**
|
7582
7751
|
* Called when a pseudo element is added to an element.
|
7752
|
+
* @experimental
|
7583
7753
|
*/
|
7584
7754
|
export interface PseudoElementAddedEvent {
|
7585
7755
|
/**
|
@@ -7594,6 +7764,7 @@ export namespace Protocol {
|
|
7594
7764
|
|
7595
7765
|
/**
|
7596
7766
|
* Fired when a node's scrollability state changes.
|
7767
|
+
* @experimental
|
7597
7768
|
*/
|
7598
7769
|
export interface ScrollableFlagUpdatedEvent {
|
7599
7770
|
/**
|
@@ -7608,6 +7779,7 @@ export namespace Protocol {
|
|
7608
7779
|
|
7609
7780
|
/**
|
7610
7781
|
* Called when a pseudo element is removed from an element.
|
7782
|
+
* @experimental
|
7611
7783
|
*/
|
7612
7784
|
export interface PseudoElementRemovedEvent {
|
7613
7785
|
/**
|
@@ -7637,6 +7809,7 @@ export namespace Protocol {
|
|
7637
7809
|
|
7638
7810
|
/**
|
7639
7811
|
* Called when shadow root is popped from the element.
|
7812
|
+
* @experimental
|
7640
7813
|
*/
|
7641
7814
|
export interface ShadowRootPoppedEvent {
|
7642
7815
|
/**
|
@@ -7651,6 +7824,7 @@ export namespace Protocol {
|
|
7651
7824
|
|
7652
7825
|
/**
|
7653
7826
|
* Called when shadow root is pushed into the element.
|
7827
|
+
* @experimental
|
7654
7828
|
*/
|
7655
7829
|
export interface ShadowRootPushedEvent {
|
7656
7830
|
/**
|
@@ -7677,6 +7851,7 @@ export namespace Protocol {
|
|
7677
7851
|
|
7678
7852
|
/**
|
7679
7853
|
* CSP Violation type.
|
7854
|
+
* @experimental
|
7680
7855
|
*/
|
7681
7856
|
export type CSPViolationType = ('trustedtype-sink-violation' | 'trustedtype-policy-violation');
|
7682
7857
|
|
@@ -7768,6 +7943,7 @@ export namespace Protocol {
|
|
7768
7943
|
eventName: string;
|
7769
7944
|
/**
|
7770
7945
|
* EventTarget interface name.
|
7946
|
+
* @experimental
|
7771
7947
|
*/
|
7772
7948
|
targetName?: string;
|
7773
7949
|
}
|
@@ -7812,6 +7988,7 @@ export namespace Protocol {
|
|
7812
7988
|
/**
|
7813
7989
|
* EventTarget interface name to stop on. If equal to `"*"` or not provided, will stop on any
|
7814
7990
|
* EventTarget.
|
7991
|
+
* @experimental
|
7815
7992
|
*/
|
7816
7993
|
targetName?: string;
|
7817
7994
|
}
|
@@ -7835,6 +8012,7 @@ export namespace Protocol {
|
|
7835
8012
|
* EventBreakpoints permits setting JavaScript breakpoints on operations and events
|
7836
8013
|
* occurring in native code invoked from JavaScript. Once breakpoint is hit, it is
|
7837
8014
|
* reported through Debugger domain, similarly to regular breakpoints being hit.
|
8015
|
+
* @experimental
|
7838
8016
|
*/
|
7839
8017
|
export namespace EventBreakpoints {
|
7840
8018
|
|
@@ -7855,6 +8033,7 @@ export namespace Protocol {
|
|
7855
8033
|
|
7856
8034
|
/**
|
7857
8035
|
* This domain facilitates obtaining document snapshots with DOM, layout, and style information.
|
8036
|
+
* @experimental
|
7858
8037
|
*/
|
7859
8038
|
export namespace DOMSnapshot {
|
7860
8039
|
|
@@ -8276,10 +8455,12 @@ export namespace Protocol {
|
|
8276
8455
|
clientRects?: Rectangle[];
|
8277
8456
|
/**
|
8278
8457
|
* The list of background colors that are blended with colors of overlapping elements.
|
8458
|
+
* @experimental
|
8279
8459
|
*/
|
8280
8460
|
blendedBackgroundColors?: StringIndex[];
|
8281
8461
|
/**
|
8282
8462
|
* The list of computed text opacities.
|
8463
|
+
* @experimental
|
8283
8464
|
*/
|
8284
8465
|
textColorOpacities?: number[];
|
8285
8466
|
}
|
@@ -8360,12 +8541,14 @@ export namespace Protocol {
|
|
8360
8541
|
* Whether to include blended background colors in the snapshot (default: false).
|
8361
8542
|
* Blended background color is achieved by blending background colors of all elements
|
8362
8543
|
* that overlap with the current element.
|
8544
|
+
* @experimental
|
8363
8545
|
*/
|
8364
8546
|
includeBlendedBackgroundColors?: boolean;
|
8365
8547
|
/**
|
8366
8548
|
* Whether to include text color opacity in the snapshot (default: false).
|
8367
8549
|
* An element might have the opacity property set that affects the text color of the element.
|
8368
8550
|
* The final text color opacity is computed based on the opacity of all overlapping elements.
|
8551
|
+
* @experimental
|
8369
8552
|
*/
|
8370
8553
|
includeTextColorOpacities?: boolean;
|
8371
8554
|
}
|
@@ -8384,6 +8567,7 @@ export namespace Protocol {
|
|
8384
8567
|
|
8385
8568
|
/**
|
8386
8569
|
* Query and modify DOM storage.
|
8570
|
+
* @experimental
|
8387
8571
|
*/
|
8388
8572
|
export namespace DOMStorage {
|
8389
8573
|
|
@@ -8458,6 +8642,9 @@ export namespace Protocol {
|
|
8458
8642
|
}
|
8459
8643
|
}
|
8460
8644
|
|
8645
|
+
/**
|
8646
|
+
* @experimental
|
8647
|
+
*/
|
8461
8648
|
export namespace DeviceOrientation {
|
8462
8649
|
|
8463
8650
|
export interface SetDeviceOrientationOverrideRequest {
|
@@ -8481,6 +8668,9 @@ export namespace Protocol {
|
|
8481
8668
|
*/
|
8482
8669
|
export namespace Emulation {
|
8483
8670
|
|
8671
|
+
/**
|
8672
|
+
* @experimental
|
8673
|
+
*/
|
8484
8674
|
export interface SafeAreaInsets {
|
8485
8675
|
/**
|
8486
8676
|
* Overrides safe-area-inset-top.
|
@@ -8528,7 +8718,7 @@ export namespace Protocol {
|
|
8528
8718
|
*/
|
8529
8719
|
export interface ScreenOrientation {
|
8530
8720
|
/**
|
8531
|
-
* Orientation type.
|
8721
|
+
* Orientation type.
|
8532
8722
|
*/
|
8533
8723
|
type: ('portraitPrimary' | 'portraitSecondary' | 'landscapePrimary' | 'landscapeSecondary');
|
8534
8724
|
/**
|
@@ -8544,7 +8734,7 @@ export namespace Protocol {
|
|
8544
8734
|
|
8545
8735
|
export interface DisplayFeature {
|
8546
8736
|
/**
|
8547
|
-
* Orientation of a display feature in relation to screen
|
8737
|
+
* Orientation of a display feature in relation to screen
|
8548
8738
|
*/
|
8549
8739
|
orientation: ('vertical' | 'horizontal');
|
8550
8740
|
/**
|
@@ -8567,7 +8757,7 @@ export namespace Protocol {
|
|
8567
8757
|
|
8568
8758
|
export interface DevicePosture {
|
8569
8759
|
/**
|
8570
|
-
* Current posture of the device
|
8760
|
+
* Current posture of the device
|
8571
8761
|
*/
|
8572
8762
|
type: ('continuous' | 'folded');
|
8573
8763
|
}
|
@@ -8582,11 +8772,13 @@ export namespace Protocol {
|
|
8582
8772
|
* allow the next delayed task (if any) to run; pause: The virtual time base may not advance;
|
8583
8773
|
* pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending
|
8584
8774
|
* resource fetches.
|
8775
|
+
* @experimental
|
8585
8776
|
*/
|
8586
8777
|
export type VirtualTimePolicy = ('advance' | 'pause' | 'pauseIfNetworkFetchesPending');
|
8587
8778
|
|
8588
8779
|
/**
|
8589
8780
|
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
8781
|
+
* @experimental
|
8590
8782
|
*/
|
8591
8783
|
export interface UserAgentBrandVersion {
|
8592
8784
|
brand: string;
|
@@ -8596,6 +8788,7 @@ export namespace Protocol {
|
|
8596
8788
|
/**
|
8597
8789
|
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
8598
8790
|
* Missing optional values will be filled in by the target with what it would normally use.
|
8791
|
+
* @experimental
|
8599
8792
|
*/
|
8600
8793
|
export interface UserAgentMetadata {
|
8601
8794
|
/**
|
@@ -8606,6 +8799,9 @@ export namespace Protocol {
|
|
8606
8799
|
* Brands appearing in Sec-CH-UA-Full-Version-List.
|
8607
8800
|
*/
|
8608
8801
|
fullVersionList?: UserAgentBrandVersion[];
|
8802
|
+
/**
|
8803
|
+
* @deprecated
|
8804
|
+
*/
|
8609
8805
|
fullVersion?: string;
|
8610
8806
|
platform: string;
|
8611
8807
|
platformVersion: string;
|
@@ -8624,25 +8820,38 @@ export namespace Protocol {
|
|
8624
8820
|
/**
|
8625
8821
|
* Used to specify sensor types to emulate.
|
8626
8822
|
* See https://w3c.github.io/sensors/#automation for more information.
|
8823
|
+
* @experimental
|
8627
8824
|
*/
|
8628
8825
|
export type SensorType = ('absolute-orientation' | 'accelerometer' | 'ambient-light' | 'gravity' | 'gyroscope' | 'linear-acceleration' | 'magnetometer' | 'relative-orientation');
|
8629
8826
|
|
8827
|
+
/**
|
8828
|
+
* @experimental
|
8829
|
+
*/
|
8630
8830
|
export interface SensorMetadata {
|
8631
8831
|
available?: boolean;
|
8632
8832
|
minimumFrequency?: number;
|
8633
8833
|
maximumFrequency?: number;
|
8634
8834
|
}
|
8635
8835
|
|
8836
|
+
/**
|
8837
|
+
* @experimental
|
8838
|
+
*/
|
8636
8839
|
export interface SensorReadingSingle {
|
8637
8840
|
value: number;
|
8638
8841
|
}
|
8639
8842
|
|
8843
|
+
/**
|
8844
|
+
* @experimental
|
8845
|
+
*/
|
8640
8846
|
export interface SensorReadingXYZ {
|
8641
8847
|
x: number;
|
8642
8848
|
y: number;
|
8643
8849
|
z: number;
|
8644
8850
|
}
|
8645
8851
|
|
8852
|
+
/**
|
8853
|
+
* @experimental
|
8854
|
+
*/
|
8646
8855
|
export interface SensorReadingQuaternion {
|
8647
8856
|
x: number;
|
8648
8857
|
y: number;
|
@@ -8650,22 +8859,35 @@ export namespace Protocol {
|
|
8650
8859
|
w: number;
|
8651
8860
|
}
|
8652
8861
|
|
8862
|
+
/**
|
8863
|
+
* @experimental
|
8864
|
+
*/
|
8653
8865
|
export interface SensorReading {
|
8654
8866
|
single?: SensorReadingSingle;
|
8655
8867
|
xyz?: SensorReadingXYZ;
|
8656
8868
|
quaternion?: SensorReadingQuaternion;
|
8657
8869
|
}
|
8658
8870
|
|
8871
|
+
/**
|
8872
|
+
* @experimental
|
8873
|
+
*/
|
8659
8874
|
export type PressureSource = ('cpu');
|
8660
8875
|
|
8876
|
+
/**
|
8877
|
+
* @experimental
|
8878
|
+
*/
|
8661
8879
|
export type PressureState = ('nominal' | 'fair' | 'serious' | 'critical');
|
8662
8880
|
|
8881
|
+
/**
|
8882
|
+
* @experimental
|
8883
|
+
*/
|
8663
8884
|
export interface PressureMetadata {
|
8664
8885
|
available?: boolean;
|
8665
8886
|
}
|
8666
8887
|
|
8667
8888
|
/**
|
8668
8889
|
* Enum of image types that can be disabled.
|
8890
|
+
* @experimental
|
8669
8891
|
*/
|
8670
8892
|
export type DisabledImageType = ('avif' | 'webp');
|
8671
8893
|
|
@@ -8730,26 +8952,32 @@ export namespace Protocol {
|
|
8730
8952
|
mobile: boolean;
|
8731
8953
|
/**
|
8732
8954
|
* Scale to apply to resulting view image.
|
8955
|
+
* @experimental
|
8733
8956
|
*/
|
8734
8957
|
scale?: number;
|
8735
8958
|
/**
|
8736
8959
|
* Overriding screen width value in pixels (minimum 0, maximum 10000000).
|
8960
|
+
* @experimental
|
8737
8961
|
*/
|
8738
8962
|
screenWidth?: integer;
|
8739
8963
|
/**
|
8740
8964
|
* Overriding screen height value in pixels (minimum 0, maximum 10000000).
|
8965
|
+
* @experimental
|
8741
8966
|
*/
|
8742
8967
|
screenHeight?: integer;
|
8743
8968
|
/**
|
8744
8969
|
* Overriding view X position on screen in pixels (minimum 0, maximum 10000000).
|
8970
|
+
* @experimental
|
8745
8971
|
*/
|
8746
8972
|
positionX?: integer;
|
8747
8973
|
/**
|
8748
8974
|
* Overriding view Y position on screen in pixels (minimum 0, maximum 10000000).
|
8975
|
+
* @experimental
|
8749
8976
|
*/
|
8750
8977
|
positionY?: integer;
|
8751
8978
|
/**
|
8752
8979
|
* Do not set visible view size, rely upon explicit setVisibleSize call.
|
8980
|
+
* @experimental
|
8753
8981
|
*/
|
8754
8982
|
dontSetVisibleSize?: boolean;
|
8755
8983
|
/**
|
@@ -8759,18 +8987,23 @@ export namespace Protocol {
|
|
8759
8987
|
/**
|
8760
8988
|
* If set, the visible area of the page will be overridden to this viewport. This viewport
|
8761
8989
|
* change is not observed by the page, e.g. viewport-relative elements do not change positions.
|
8990
|
+
* @experimental
|
8762
8991
|
*/
|
8763
8992
|
viewport?: Page.Viewport;
|
8764
8993
|
/**
|
8765
8994
|
* If set, the display feature of a multi-segment screen. If not set, multi-segment support
|
8766
8995
|
* is turned-off.
|
8767
8996
|
* Deprecated, use Emulation.setDisplayFeaturesOverride.
|
8997
|
+
* @deprecated
|
8998
|
+
* @experimental
|
8768
8999
|
*/
|
8769
9000
|
displayFeature?: DisplayFeature;
|
8770
9001
|
/**
|
8771
9002
|
* If set, the posture of a foldable device. If not set the posture is set
|
8772
9003
|
* to continuous.
|
8773
9004
|
* Deprecated, use Emulation.setDevicePostureOverride.
|
9005
|
+
* @deprecated
|
9006
|
+
* @experimental
|
8774
9007
|
*/
|
8775
9008
|
devicePosture?: DevicePosture;
|
8776
9009
|
}
|
@@ -8808,7 +9041,7 @@ export namespace Protocol {
|
|
8808
9041
|
*/
|
8809
9042
|
enabled: boolean;
|
8810
9043
|
/**
|
8811
|
-
* Touch/gesture events configuration. Default: current platform.
|
9044
|
+
* Touch/gesture events configuration. Default: current platform.
|
8812
9045
|
*/
|
8813
9046
|
configuration?: ('mobile' | 'desktop');
|
8814
9047
|
}
|
@@ -8837,7 +9070,7 @@ export namespace Protocol {
|
|
8837
9070
|
export interface SetEmulatedVisionDeficiencyRequest {
|
8838
9071
|
/**
|
8839
9072
|
* Vision deficiency to emulate. Order: best-effort emulations come first, followed by any
|
8840
|
-
* physiologically accurate emulations for medically recognized color vision deficiencies.
|
9073
|
+
* physiologically accurate emulations for medically recognized color vision deficiencies.
|
8841
9074
|
*/
|
8842
9075
|
type: ('none' | 'blurredVision' | 'reducedContrast' | 'achromatopsia' | 'deuteranopia' | 'protanopia' | 'tritanopia');
|
8843
9076
|
}
|
@@ -9045,6 +9278,7 @@ export namespace Protocol {
|
|
9045
9278
|
platform?: string;
|
9046
9279
|
/**
|
9047
9280
|
* To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
|
9281
|
+
* @experimental
|
9048
9282
|
*/
|
9049
9283
|
userAgentMetadata?: UserAgentMetadata;
|
9050
9284
|
}
|
@@ -9067,6 +9301,7 @@ export namespace Protocol {
|
|
9067
9301
|
|
9068
9302
|
/**
|
9069
9303
|
* This domain provides experimental commands only supported in headless mode.
|
9304
|
+
* @experimental
|
9070
9305
|
*/
|
9071
9306
|
export namespace HeadlessExperimental {
|
9072
9307
|
|
@@ -9081,7 +9316,7 @@ export namespace Protocol {
|
|
9081
9316
|
*/
|
9082
9317
|
export interface ScreenshotParams {
|
9083
9318
|
/**
|
9084
|
-
* Image compression format (defaults to png).
|
9319
|
+
* Image compression format (defaults to png).
|
9085
9320
|
*/
|
9086
9321
|
format?: ('jpeg' | 'png' | 'webp');
|
9087
9322
|
/**
|
@@ -9196,6 +9431,9 @@ export namespace Protocol {
|
|
9196
9431
|
}
|
9197
9432
|
}
|
9198
9433
|
|
9434
|
+
/**
|
9435
|
+
* @experimental
|
9436
|
+
*/
|
9199
9437
|
export namespace FileSystem {
|
9200
9438
|
|
9201
9439
|
export interface File {
|
@@ -9247,6 +9485,9 @@ export namespace Protocol {
|
|
9247
9485
|
}
|
9248
9486
|
}
|
9249
9487
|
|
9488
|
+
/**
|
9489
|
+
* @experimental
|
9490
|
+
*/
|
9250
9491
|
export namespace IndexedDB {
|
9251
9492
|
|
9252
9493
|
/**
|
@@ -9324,7 +9565,7 @@ export namespace Protocol {
|
|
9324
9565
|
*/
|
9325
9566
|
export interface Key {
|
9326
9567
|
/**
|
9327
|
-
* Key type.
|
9568
|
+
* Key type.
|
9328
9569
|
*/
|
9329
9570
|
type: ('number' | 'string' | 'date' | 'array');
|
9330
9571
|
/**
|
@@ -9396,7 +9637,7 @@ export namespace Protocol {
|
|
9396
9637
|
*/
|
9397
9638
|
export interface KeyPath {
|
9398
9639
|
/**
|
9399
|
-
* Key path type.
|
9640
|
+
* Key path type.
|
9400
9641
|
*/
|
9401
9642
|
type: ('null' | 'string' | 'array');
|
9402
9643
|
/**
|
@@ -9644,6 +9885,7 @@ export namespace Protocol {
|
|
9644
9885
|
force?: number;
|
9645
9886
|
/**
|
9646
9887
|
* The normalized tangential pressure, which has a range of [-1,1] (default: 0).
|
9888
|
+
* @experimental
|
9647
9889
|
*/
|
9648
9890
|
tangentialPressure?: number;
|
9649
9891
|
/**
|
@@ -9656,6 +9898,7 @@ export namespace Protocol {
|
|
9656
9898
|
tiltY?: number;
|
9657
9899
|
/**
|
9658
9900
|
* The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
|
9901
|
+
* @experimental
|
9659
9902
|
*/
|
9660
9903
|
twist?: integer;
|
9661
9904
|
/**
|
@@ -9664,6 +9907,9 @@ export namespace Protocol {
|
|
9664
9907
|
id?: number;
|
9665
9908
|
}
|
9666
9909
|
|
9910
|
+
/**
|
9911
|
+
* @experimental
|
9912
|
+
*/
|
9667
9913
|
export type GestureSourceType = ('default' | 'touch' | 'mouse');
|
9668
9914
|
|
9669
9915
|
export type MouseButton = ('none' | 'left' | 'middle' | 'right' | 'back' | 'forward');
|
@@ -9673,6 +9919,9 @@ export namespace Protocol {
|
|
9673
9919
|
*/
|
9674
9920
|
export type TimeSinceEpoch = number;
|
9675
9921
|
|
9922
|
+
/**
|
9923
|
+
* @experimental
|
9924
|
+
*/
|
9676
9925
|
export interface DragDataItem {
|
9677
9926
|
/**
|
9678
9927
|
* Mime type of the dragged data.
|
@@ -9694,6 +9943,9 @@ export namespace Protocol {
|
|
9694
9943
|
baseURL?: string;
|
9695
9944
|
}
|
9696
9945
|
|
9946
|
+
/**
|
9947
|
+
* @experimental
|
9948
|
+
*/
|
9697
9949
|
export interface DragData {
|
9698
9950
|
items: DragDataItem[];
|
9699
9951
|
/**
|
@@ -9715,7 +9967,7 @@ export namespace Protocol {
|
|
9715
9967
|
|
9716
9968
|
export interface DispatchDragEventRequest {
|
9717
9969
|
/**
|
9718
|
-
* Type of the drag event.
|
9970
|
+
* Type of the drag event.
|
9719
9971
|
*/
|
9720
9972
|
type: ('dragEnter' | 'dragOver' | 'drop' | 'dragCancel');
|
9721
9973
|
/**
|
@@ -9744,7 +9996,7 @@ export namespace Protocol {
|
|
9744
9996
|
|
9745
9997
|
export interface DispatchKeyEventRequest {
|
9746
9998
|
/**
|
9747
|
-
* Type of the key event.
|
9999
|
+
* Type of the key event.
|
9748
10000
|
*/
|
9749
10001
|
type: ('keyDown' | 'keyUp' | 'rawKeyDown' | 'char');
|
9750
10002
|
/**
|
@@ -9808,6 +10060,7 @@ export namespace Protocol {
|
|
9808
10060
|
* Editing commands to send with the key event (e.g., 'selectAll') (default: []).
|
9809
10061
|
* These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.
|
9810
10062
|
* See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
|
10063
|
+
* @experimental
|
9811
10064
|
*/
|
9812
10065
|
commands?: string[];
|
9813
10066
|
}
|
@@ -9856,7 +10109,7 @@ export namespace Protocol {
|
|
9856
10109
|
|
9857
10110
|
export interface DispatchMouseEventRequest {
|
9858
10111
|
/**
|
9859
|
-
* Type of the mouse event.
|
10112
|
+
* Type of the mouse event.
|
9860
10113
|
*/
|
9861
10114
|
type: ('mousePressed' | 'mouseReleased' | 'mouseMoved' | 'mouseWheel');
|
9862
10115
|
/**
|
@@ -9892,10 +10145,12 @@ export namespace Protocol {
|
|
9892
10145
|
clickCount?: integer;
|
9893
10146
|
/**
|
9894
10147
|
* The normalized pressure, which has a range of [0,1] (default: 0).
|
10148
|
+
* @experimental
|
9895
10149
|
*/
|
9896
10150
|
force?: number;
|
9897
10151
|
/**
|
9898
10152
|
* The normalized tangential pressure, which has a range of [-1,1] (default: 0).
|
10153
|
+
* @experimental
|
9899
10154
|
*/
|
9900
10155
|
tangentialPressure?: number;
|
9901
10156
|
/**
|
@@ -9908,6 +10163,7 @@ export namespace Protocol {
|
|
9908
10163
|
tiltY?: number;
|
9909
10164
|
/**
|
9910
10165
|
* The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
|
10166
|
+
* @experimental
|
9911
10167
|
*/
|
9912
10168
|
twist?: integer;
|
9913
10169
|
/**
|
@@ -9919,7 +10175,7 @@ export namespace Protocol {
|
|
9919
10175
|
*/
|
9920
10176
|
deltaY?: number;
|
9921
10177
|
/**
|
9922
|
-
* Pointer type (default: "mouse").
|
10178
|
+
* Pointer type (default: "mouse").
|
9923
10179
|
*/
|
9924
10180
|
pointerType?: ('mouse' | 'pen');
|
9925
10181
|
}
|
@@ -9934,7 +10190,7 @@ export namespace Protocol {
|
|
9934
10190
|
export interface DispatchTouchEventRequest {
|
9935
10191
|
/**
|
9936
10192
|
* Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while
|
9937
|
-
* TouchStart and TouchMove must contains at least one.
|
10193
|
+
* TouchStart and TouchMove must contains at least one.
|
9938
10194
|
*/
|
9939
10195
|
type: ('touchStart' | 'touchEnd' | 'touchMove' | 'touchCancel');
|
9940
10196
|
/**
|
@@ -9963,7 +10219,7 @@ export namespace Protocol {
|
|
9963
10219
|
|
9964
10220
|
export interface EmulateTouchFromMouseEventRequest {
|
9965
10221
|
/**
|
9966
|
-
* Type of the mouse event.
|
10222
|
+
* Type of the mouse event.
|
9967
10223
|
*/
|
9968
10224
|
type: ('mousePressed' | 'mouseReleased' | 'mouseMoved' | 'mouseWheel');
|
9969
10225
|
/**
|
@@ -10117,12 +10373,16 @@ export namespace Protocol {
|
|
10117
10373
|
/**
|
10118
10374
|
* Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
|
10119
10375
|
* restore normal drag and drop behavior.
|
10376
|
+
* @experimental
|
10120
10377
|
*/
|
10121
10378
|
export interface DragInterceptedEvent {
|
10122
10379
|
data: DragData;
|
10123
10380
|
}
|
10124
10381
|
}
|
10125
10382
|
|
10383
|
+
/**
|
10384
|
+
* @experimental
|
10385
|
+
*/
|
10126
10386
|
export namespace Inspector {
|
10127
10387
|
|
10128
10388
|
/**
|
@@ -10136,6 +10396,9 @@ export namespace Protocol {
|
|
10136
10396
|
}
|
10137
10397
|
}
|
10138
10398
|
|
10399
|
+
/**
|
10400
|
+
* @experimental
|
10401
|
+
*/
|
10139
10402
|
export namespace LayerTree {
|
10140
10403
|
|
10141
10404
|
/**
|
@@ -10163,7 +10426,7 @@ export namespace Protocol {
|
|
10163
10426
|
*/
|
10164
10427
|
rect: DOM.Rect;
|
10165
10428
|
/**
|
10166
|
-
* Reason for rectangle to force scrolling on the main thread
|
10429
|
+
* Reason for rectangle to force scrolling on the main thread
|
10167
10430
|
*/
|
10168
10431
|
type: ('RepaintsOnScroll' | 'TouchEventHandler' | 'WheelEventHandler');
|
10169
10432
|
}
|
@@ -10459,20 +10722,17 @@ export namespace Protocol {
|
|
10459
10722
|
*/
|
10460
10723
|
export interface LogEntry {
|
10461
10724
|
/**
|
10462
|
-
* Log entry source.
|
10725
|
+
* Log entry source.
|
10463
10726
|
*/
|
10464
10727
|
source: ('xml' | 'javascript' | 'network' | 'storage' | 'appcache' | 'rendering' | 'security' | 'deprecation' | 'worker' | 'violation' | 'intervention' | 'recommendation' | 'other');
|
10465
10728
|
/**
|
10466
|
-
* Log entry severity.
|
10729
|
+
* Log entry severity.
|
10467
10730
|
*/
|
10468
10731
|
level: ('verbose' | 'info' | 'warning' | 'error');
|
10469
10732
|
/**
|
10470
10733
|
* Logged text.
|
10471
10734
|
*/
|
10472
10735
|
text: string;
|
10473
|
-
/**
|
10474
|
-
* (LogEntryCategory enum)
|
10475
|
-
*/
|
10476
10736
|
category?: ('cors');
|
10477
10737
|
/**
|
10478
10738
|
* Timestamp when this entry was added.
|
@@ -10519,7 +10779,7 @@ export namespace Protocol {
|
|
10519
10779
|
*/
|
10520
10780
|
export interface ViolationSetting {
|
10521
10781
|
/**
|
10522
|
-
* Violation type.
|
10782
|
+
* Violation type.
|
10523
10783
|
*/
|
10524
10784
|
name: ('longTask' | 'longLayout' | 'blockedEvent' | 'blockedParser' | 'discouragedAPIUse' | 'handler' | 'recurringHandler');
|
10525
10785
|
/**
|
@@ -10546,6 +10806,9 @@ export namespace Protocol {
|
|
10546
10806
|
}
|
10547
10807
|
}
|
10548
10808
|
|
10809
|
+
/**
|
10810
|
+
* @experimental
|
10811
|
+
*/
|
10549
10812
|
export namespace Memory {
|
10550
10813
|
|
10551
10814
|
/**
|
@@ -10732,6 +10995,7 @@ export namespace Protocol {
|
|
10732
10995
|
/**
|
10733
10996
|
* Represents the cookie's 'Priority' status:
|
10734
10997
|
* https://tools.ietf.org/html/draft-west-cookie-priority-00
|
10998
|
+
* @experimental
|
10735
10999
|
*/
|
10736
11000
|
export type CookiePriority = ('Low' | 'Medium' | 'High');
|
10737
11001
|
|
@@ -10739,6 +11003,7 @@ export namespace Protocol {
|
|
10739
11003
|
* Represents the source scheme of the origin that originally set the cookie.
|
10740
11004
|
* A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme.
|
10741
11005
|
* This is a temporary ability and it will be removed in the future.
|
11006
|
+
* @experimental
|
10742
11007
|
*/
|
10743
11008
|
export type CookieSourceScheme = ('Unset' | 'NonSecure' | 'Secure');
|
10744
11009
|
|
@@ -10785,26 +11050,32 @@ export namespace Protocol {
|
|
10785
11050
|
sslEnd: number;
|
10786
11051
|
/**
|
10787
11052
|
* Started running ServiceWorker.
|
11053
|
+
* @experimental
|
10788
11054
|
*/
|
10789
11055
|
workerStart: number;
|
10790
11056
|
/**
|
10791
11057
|
* Finished Starting ServiceWorker.
|
11058
|
+
* @experimental
|
10792
11059
|
*/
|
10793
11060
|
workerReady: number;
|
10794
11061
|
/**
|
10795
11062
|
* Started fetch event.
|
11063
|
+
* @experimental
|
10796
11064
|
*/
|
10797
11065
|
workerFetchStart: number;
|
10798
11066
|
/**
|
10799
11067
|
* Settled fetch event respondWith promise.
|
11068
|
+
* @experimental
|
10800
11069
|
*/
|
10801
11070
|
workerRespondWithSettled: number;
|
10802
11071
|
/**
|
10803
11072
|
* Started ServiceWorker static routing source evaluation.
|
11073
|
+
* @experimental
|
10804
11074
|
*/
|
10805
11075
|
workerRouterEvaluationStart?: number;
|
10806
11076
|
/**
|
10807
11077
|
* Started cache lookup when the source was evaluated to `cache`.
|
11078
|
+
* @experimental
|
10808
11079
|
*/
|
10809
11080
|
workerCacheLookupStart?: number;
|
10810
11081
|
/**
|
@@ -10817,14 +11088,17 @@ export namespace Protocol {
|
|
10817
11088
|
sendEnd: number;
|
10818
11089
|
/**
|
10819
11090
|
* Time the server started pushing request.
|
11091
|
+
* @experimental
|
10820
11092
|
*/
|
10821
11093
|
pushStart: number;
|
10822
11094
|
/**
|
10823
11095
|
* Time the server finished pushing request.
|
11096
|
+
* @experimental
|
10824
11097
|
*/
|
10825
11098
|
pushEnd: number;
|
10826
11099
|
/**
|
10827
11100
|
* Started receiving response headers.
|
11101
|
+
* @experimental
|
10828
11102
|
*/
|
10829
11103
|
receiveHeadersStart: number;
|
10830
11104
|
/**
|
@@ -10879,6 +11153,7 @@ export namespace Protocol {
|
|
10879
11153
|
/**
|
10880
11154
|
* HTTP POST request data.
|
10881
11155
|
* Use postDataEntries instead.
|
11156
|
+
* @deprecated
|
10882
11157
|
*/
|
10883
11158
|
postData?: string;
|
10884
11159
|
/**
|
@@ -10887,6 +11162,7 @@ export namespace Protocol {
|
|
10887
11162
|
hasPostData?: boolean;
|
10888
11163
|
/**
|
10889
11164
|
* Request body elements (post data broken into individual entries).
|
11165
|
+
* @experimental
|
10890
11166
|
*/
|
10891
11167
|
postDataEntries?: PostDataEntry[];
|
10892
11168
|
/**
|
@@ -10898,7 +11174,7 @@ export namespace Protocol {
|
|
10898
11174
|
*/
|
10899
11175
|
initialPriority: ResourcePriority;
|
10900
11176
|
/**
|
10901
|
-
* The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
|
11177
|
+
* The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
|
10902
11178
|
*/
|
10903
11179
|
referrerPolicy: ('unsafe-url' | 'no-referrer-when-downgrade' | 'no-referrer' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin');
|
10904
11180
|
/**
|
@@ -10908,11 +11184,13 @@ export namespace Protocol {
|
|
10908
11184
|
/**
|
10909
11185
|
* Set for requests when the TrustToken API is used. Contains the parameters
|
10910
11186
|
* passed by the developer (e.g. via "fetch") as understood by the backend.
|
11187
|
+
* @experimental
|
10911
11188
|
*/
|
10912
11189
|
trustTokenParams?: TrustTokenParams;
|
10913
11190
|
/**
|
10914
11191
|
* True if this resource request is considered to be the 'same site' as the
|
10915
11192
|
* request corresponding to the main frame.
|
11193
|
+
* @experimental
|
10916
11194
|
*/
|
10917
11195
|
isSameSite?: boolean;
|
10918
11196
|
}
|
@@ -11058,12 +11336,13 @@ export namespace Protocol {
|
|
11058
11336
|
* Determines what type of Trust Token operation is executed and
|
11059
11337
|
* depending on the type, some additional parameters. The values
|
11060
11338
|
* are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
|
11339
|
+
* @experimental
|
11061
11340
|
*/
|
11062
11341
|
export interface TrustTokenParams {
|
11063
11342
|
operation: TrustTokenOperationType;
|
11064
11343
|
/**
|
11065
11344
|
* Only set for "token-redemption" operation and determine whether
|
11066
|
-
* to request a fresh SRR or use a still valid cached SRR.
|
11345
|
+
* to request a fresh SRR or use a still valid cached SRR.
|
11067
11346
|
*/
|
11068
11347
|
refreshPolicy: ('UseCached' | 'Refresh');
|
11069
11348
|
/**
|
@@ -11073,10 +11352,14 @@ export namespace Protocol {
|
|
11073
11352
|
issuers?: string[];
|
11074
11353
|
}
|
11075
11354
|
|
11355
|
+
/**
|
11356
|
+
* @experimental
|
11357
|
+
*/
|
11076
11358
|
export type TrustTokenOperationType = ('Issuance' | 'Redemption' | 'Signing');
|
11077
11359
|
|
11078
11360
|
/**
|
11079
11361
|
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
11362
|
+
* @experimental
|
11080
11363
|
*/
|
11081
11364
|
export type AlternateProtocolUsage = ('alternativeJobWonWithoutRace' | 'alternativeJobWonRace' | 'mainJobWonRace' | 'mappingMissing' | 'broken' | 'dnsAlpnH3JobWonWithoutRace' | 'dnsAlpnH3JobWonRace' | 'unspecifiedReason');
|
11082
11365
|
|
@@ -11085,6 +11368,9 @@ export namespace Protocol {
|
|
11085
11368
|
*/
|
11086
11369
|
export type ServiceWorkerRouterSource = ('network' | 'cache' | 'fetch-event' | 'race-network-and-fetch-handler' | 'race-network-and-cache');
|
11087
11370
|
|
11371
|
+
/**
|
11372
|
+
* @experimental
|
11373
|
+
*/
|
11088
11374
|
export interface ServiceWorkerRouterInfo {
|
11089
11375
|
/**
|
11090
11376
|
* ID of the rule matched. If there is a matched rule, this field will
|
@@ -11124,6 +11410,7 @@ export namespace Protocol {
|
|
11124
11410
|
headers: Headers;
|
11125
11411
|
/**
|
11126
11412
|
* HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.
|
11413
|
+
* @deprecated
|
11127
11414
|
*/
|
11128
11415
|
headersText?: string;
|
11129
11416
|
/**
|
@@ -11140,6 +11427,7 @@ export namespace Protocol {
|
|
11140
11427
|
requestHeaders?: Headers;
|
11141
11428
|
/**
|
11142
11429
|
* HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.
|
11430
|
+
* @deprecated
|
11143
11431
|
*/
|
11144
11432
|
requestHeadersText?: string;
|
11145
11433
|
/**
|
@@ -11179,6 +11467,7 @@ export namespace Protocol {
|
|
11179
11467
|
* field is set with `matchedSourceType` field, a matching rule is found.
|
11180
11468
|
* If this field is set without `matchedSource`, no matching rule is found.
|
11181
11469
|
* Otherwise, the API is not used.
|
11470
|
+
* @experimental
|
11182
11471
|
*/
|
11183
11472
|
serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
|
11184
11473
|
/**
|
@@ -11207,6 +11496,7 @@ export namespace Protocol {
|
|
11207
11496
|
protocol?: string;
|
11208
11497
|
/**
|
11209
11498
|
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
11499
|
+
* @experimental
|
11210
11500
|
*/
|
11211
11501
|
alternateProtocolUsage?: AlternateProtocolUsage;
|
11212
11502
|
/**
|
@@ -11220,6 +11510,7 @@ export namespace Protocol {
|
|
11220
11510
|
/**
|
11221
11511
|
* Indicates whether the request was sent through IP Protection proxies. If
|
11222
11512
|
* set to true, the request used the IP Protection privacy feature.
|
11513
|
+
* @experimental
|
11223
11514
|
*/
|
11224
11515
|
isIpProtectionUsed?: boolean;
|
11225
11516
|
}
|
@@ -11320,7 +11611,7 @@ export namespace Protocol {
|
|
11320
11611
|
*/
|
11321
11612
|
export interface Initiator {
|
11322
11613
|
/**
|
11323
|
-
* Type of this initiator.
|
11614
|
+
* Type of this initiator.
|
11324
11615
|
*/
|
11325
11616
|
type: ('parser' | 'script' | 'preload' | 'SignedExchange' | 'preflight' | 'other');
|
11326
11617
|
/**
|
@@ -11351,6 +11642,7 @@ export namespace Protocol {
|
|
11351
11642
|
/**
|
11352
11643
|
* cookiePartitionKey object
|
11353
11644
|
* The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
|
11645
|
+
* @experimental
|
11354
11646
|
*/
|
11355
11647
|
export interface CookiePartitionKey {
|
11356
11648
|
/**
|
@@ -11410,49 +11702,60 @@ export namespace Protocol {
|
|
11410
11702
|
sameSite?: CookieSameSite;
|
11411
11703
|
/**
|
11412
11704
|
* Cookie Priority
|
11705
|
+
* @experimental
|
11413
11706
|
*/
|
11414
11707
|
priority: CookiePriority;
|
11415
11708
|
/**
|
11416
11709
|
* True if cookie is SameParty.
|
11710
|
+
* @deprecated
|
11711
|
+
* @experimental
|
11417
11712
|
*/
|
11418
11713
|
sameParty: boolean;
|
11419
11714
|
/**
|
11420
11715
|
* Cookie source scheme type.
|
11716
|
+
* @experimental
|
11421
11717
|
*/
|
11422
11718
|
sourceScheme: CookieSourceScheme;
|
11423
11719
|
/**
|
11424
11720
|
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
11425
11721
|
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
11426
11722
|
* This is a temporary ability and it will be removed in the future.
|
11723
|
+
* @experimental
|
11427
11724
|
*/
|
11428
11725
|
sourcePort: integer;
|
11429
11726
|
/**
|
11430
11727
|
* Cookie partition key.
|
11728
|
+
* @experimental
|
11431
11729
|
*/
|
11432
11730
|
partitionKey?: CookiePartitionKey;
|
11433
11731
|
/**
|
11434
11732
|
* True if cookie partition key is opaque.
|
11733
|
+
* @experimental
|
11435
11734
|
*/
|
11436
11735
|
partitionKeyOpaque?: boolean;
|
11437
11736
|
}
|
11438
11737
|
|
11439
11738
|
/**
|
11440
11739
|
* Types of reasons why a cookie may not be stored from a response.
|
11740
|
+
* @experimental
|
11441
11741
|
*/
|
11442
11742
|
export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'SamePartyConflictsWithOtherAttributes' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter' | 'NoCookieContent');
|
11443
11743
|
|
11444
11744
|
/**
|
11445
11745
|
* Types of reasons why a cookie may not be sent with a request.
|
11746
|
+
* @experimental
|
11446
11747
|
*/
|
11447
11748
|
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
|
11448
11749
|
|
11449
11750
|
/**
|
11450
11751
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
11752
|
+
* @experimental
|
11451
11753
|
*/
|
11452
11754
|
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TopLevelTPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'Scheme' | 'SameSiteNoneCookiesInSandbox');
|
11453
11755
|
|
11454
11756
|
/**
|
11455
11757
|
* A cookie which was not stored from a response with the corresponding reason.
|
11758
|
+
* @experimental
|
11456
11759
|
*/
|
11457
11760
|
export interface BlockedSetCookieWithReason {
|
11458
11761
|
/**
|
@@ -11475,6 +11778,7 @@ export namespace Protocol {
|
|
11475
11778
|
/**
|
11476
11779
|
* A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
|
11477
11780
|
* corresponding reason. A cookie could only have at most one exemption reason.
|
11781
|
+
* @experimental
|
11478
11782
|
*/
|
11479
11783
|
export interface ExemptedSetCookieWithReason {
|
11480
11784
|
/**
|
@@ -11494,6 +11798,7 @@ export namespace Protocol {
|
|
11494
11798
|
/**
|
11495
11799
|
* A cookie associated with the request which may or may not be sent with it.
|
11496
11800
|
* Includes the cookies itself and reasons for blocking or exemption.
|
11801
|
+
* @experimental
|
11497
11802
|
*/
|
11498
11803
|
export interface AssociatedCookie {
|
11499
11804
|
/**
|
@@ -11554,24 +11859,29 @@ export namespace Protocol {
|
|
11554
11859
|
expires?: TimeSinceEpoch;
|
11555
11860
|
/**
|
11556
11861
|
* Cookie Priority.
|
11862
|
+
* @experimental
|
11557
11863
|
*/
|
11558
11864
|
priority?: CookiePriority;
|
11559
11865
|
/**
|
11560
11866
|
* True if cookie is SameParty.
|
11867
|
+
* @experimental
|
11561
11868
|
*/
|
11562
11869
|
sameParty?: boolean;
|
11563
11870
|
/**
|
11564
11871
|
* Cookie source scheme type.
|
11872
|
+
* @experimental
|
11565
11873
|
*/
|
11566
11874
|
sourceScheme?: CookieSourceScheme;
|
11567
11875
|
/**
|
11568
11876
|
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
11569
11877
|
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
11570
11878
|
* This is a temporary ability and it will be removed in the future.
|
11879
|
+
* @experimental
|
11571
11880
|
*/
|
11572
11881
|
sourcePort?: integer;
|
11573
11882
|
/**
|
11574
11883
|
* Cookie partition key. If not set, the cookie will be set as not partitioned.
|
11884
|
+
* @experimental
|
11575
11885
|
*/
|
11576
11886
|
partitionKey?: CookiePartitionKey;
|
11577
11887
|
}
|
@@ -11583,10 +11893,11 @@ export namespace Protocol {
|
|
11583
11893
|
|
11584
11894
|
/**
|
11585
11895
|
* Authorization challenge for HTTP status code 401 or 407.
|
11896
|
+
* @experimental
|
11586
11897
|
*/
|
11587
11898
|
export interface AuthChallenge {
|
11588
11899
|
/**
|
11589
|
-
* Source of the authentication challenge.
|
11900
|
+
* Source of the authentication challenge.
|
11590
11901
|
*/
|
11591
11902
|
source?: ('Server' | 'Proxy');
|
11592
11903
|
/**
|
@@ -11611,12 +11922,13 @@ export namespace Protocol {
|
|
11611
11922
|
|
11612
11923
|
/**
|
11613
11924
|
* Response to an AuthChallenge.
|
11925
|
+
* @experimental
|
11614
11926
|
*/
|
11615
11927
|
export interface AuthChallengeResponse {
|
11616
11928
|
/**
|
11617
11929
|
* The decision on what to do in response to the authorization challenge. Default means
|
11618
11930
|
* deferring to the default behavior of the net stack, which will likely either the Cancel
|
11619
|
-
* authentication or display a popup dialog box.
|
11931
|
+
* authentication or display a popup dialog box.
|
11620
11932
|
*/
|
11621
11933
|
response: ('Default' | 'CancelAuth' | 'ProvideCredentials');
|
11622
11934
|
/**
|
@@ -11634,11 +11946,13 @@ export namespace Protocol {
|
|
11634
11946
|
/**
|
11635
11947
|
* Stages of the interception to begin intercepting. Request will intercept before the request is
|
11636
11948
|
* sent. Response will intercept after the response is received.
|
11949
|
+
* @experimental
|
11637
11950
|
*/
|
11638
11951
|
export type InterceptionStage = ('Request' | 'HeadersReceived');
|
11639
11952
|
|
11640
11953
|
/**
|
11641
11954
|
* Request pattern for interception.
|
11955
|
+
* @experimental
|
11642
11956
|
*/
|
11643
11957
|
export interface RequestPattern {
|
11644
11958
|
/**
|
@@ -11659,6 +11973,7 @@ export namespace Protocol {
|
|
11659
11973
|
/**
|
11660
11974
|
* Information about a signed exchange signature.
|
11661
11975
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
11976
|
+
* @experimental
|
11662
11977
|
*/
|
11663
11978
|
export interface SignedExchangeSignature {
|
11664
11979
|
/**
|
@@ -11702,6 +12017,7 @@ export namespace Protocol {
|
|
11702
12017
|
/**
|
11703
12018
|
* Information about a signed exchange header.
|
11704
12019
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
|
12020
|
+
* @experimental
|
11705
12021
|
*/
|
11706
12022
|
export interface SignedExchangeHeader {
|
11707
12023
|
/**
|
@@ -11728,11 +12044,13 @@ export namespace Protocol {
|
|
11728
12044
|
|
11729
12045
|
/**
|
11730
12046
|
* Field type for a signed exchange related error.
|
12047
|
+
* @experimental
|
11731
12048
|
*/
|
11732
12049
|
export type SignedExchangeErrorField = ('signatureSig' | 'signatureIntegrity' | 'signatureCertUrl' | 'signatureCertSha256' | 'signatureValidityUrl' | 'signatureTimestamps');
|
11733
12050
|
|
11734
12051
|
/**
|
11735
12052
|
* Information about a signed exchange response.
|
12053
|
+
* @experimental
|
11736
12054
|
*/
|
11737
12055
|
export interface SignedExchangeError {
|
11738
12056
|
/**
|
@@ -11751,6 +12069,7 @@ export namespace Protocol {
|
|
11751
12069
|
|
11752
12070
|
/**
|
11753
12071
|
* Information about a signed exchange response.
|
12072
|
+
* @experimental
|
11754
12073
|
*/
|
11755
12074
|
export interface SignedExchangeInfo {
|
11756
12075
|
/**
|
@@ -11778,11 +12097,18 @@ export namespace Protocol {
|
|
11778
12097
|
|
11779
12098
|
/**
|
11780
12099
|
* List of content encodings supported by the backend.
|
12100
|
+
* @experimental
|
11781
12101
|
*/
|
11782
12102
|
export type ContentEncoding = ('deflate' | 'gzip' | 'br' | 'zstd');
|
11783
12103
|
|
12104
|
+
/**
|
12105
|
+
* @experimental
|
12106
|
+
*/
|
11784
12107
|
export type DirectSocketDnsQueryType = ('ipv4' | 'ipv6');
|
11785
12108
|
|
12109
|
+
/**
|
12110
|
+
* @experimental
|
12111
|
+
*/
|
11786
12112
|
export interface DirectTCPSocketOptions {
|
11787
12113
|
/**
|
11788
12114
|
* TCP_NODELAY option
|
@@ -11803,6 +12129,9 @@ export namespace Protocol {
|
|
11803
12129
|
dnsQueryType?: DirectSocketDnsQueryType;
|
11804
12130
|
}
|
11805
12131
|
|
12132
|
+
/**
|
12133
|
+
* @experimental
|
12134
|
+
*/
|
11806
12135
|
export interface DirectUDPSocketOptions {
|
11807
12136
|
remoteAddr?: string;
|
11808
12137
|
/**
|
@@ -11825,6 +12154,9 @@ export namespace Protocol {
|
|
11825
12154
|
receiveBufferSize?: number;
|
11826
12155
|
}
|
11827
12156
|
|
12157
|
+
/**
|
12158
|
+
* @experimental
|
12159
|
+
*/
|
11828
12160
|
export interface DirectUDPMessage {
|
11829
12161
|
data: string;
|
11830
12162
|
/**
|
@@ -11838,10 +12170,19 @@ export namespace Protocol {
|
|
11838
12170
|
remotePort?: integer;
|
11839
12171
|
}
|
11840
12172
|
|
12173
|
+
/**
|
12174
|
+
* @experimental
|
12175
|
+
*/
|
11841
12176
|
export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn' | 'PermissionBlock' | 'PermissionWarn');
|
11842
12177
|
|
12178
|
+
/**
|
12179
|
+
* @experimental
|
12180
|
+
*/
|
11843
12181
|
export type IPAddressSpace = ('Loopback' | 'Local' | 'Public' | 'Unknown');
|
11844
12182
|
|
12183
|
+
/**
|
12184
|
+
* @experimental
|
12185
|
+
*/
|
11845
12186
|
export interface ConnectTiming {
|
11846
12187
|
/**
|
11847
12188
|
* Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
|
@@ -11851,14 +12192,23 @@ export namespace Protocol {
|
|
11851
12192
|
requestTime: number;
|
11852
12193
|
}
|
11853
12194
|
|
12195
|
+
/**
|
12196
|
+
* @experimental
|
12197
|
+
*/
|
11854
12198
|
export interface ClientSecurityState {
|
11855
12199
|
initiatorIsSecureContext: boolean;
|
11856
12200
|
initiatorIPAddressSpace: IPAddressSpace;
|
11857
12201
|
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
|
11858
12202
|
}
|
11859
12203
|
|
12204
|
+
/**
|
12205
|
+
* @experimental
|
12206
|
+
*/
|
11860
12207
|
export type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'RestrictProperties' | 'UnsafeNone' | 'SameOriginPlusCoep' | 'RestrictPropertiesPlusCoep' | 'NoopenerAllowPopups');
|
11861
12208
|
|
12209
|
+
/**
|
12210
|
+
* @experimental
|
12211
|
+
*/
|
11862
12212
|
export interface CrossOriginOpenerPolicyStatus {
|
11863
12213
|
value: CrossOriginOpenerPolicyValue;
|
11864
12214
|
reportOnlyValue: CrossOriginOpenerPolicyValue;
|
@@ -11866,8 +12216,14 @@ export namespace Protocol {
|
|
11866
12216
|
reportOnlyReportingEndpoint?: string;
|
11867
12217
|
}
|
11868
12218
|
|
12219
|
+
/**
|
12220
|
+
* @experimental
|
12221
|
+
*/
|
11869
12222
|
export type CrossOriginEmbedderPolicyValue = ('None' | 'Credentialless' | 'RequireCorp');
|
11870
12223
|
|
12224
|
+
/**
|
12225
|
+
* @experimental
|
12226
|
+
*/
|
11871
12227
|
export interface CrossOriginEmbedderPolicyStatus {
|
11872
12228
|
value: CrossOriginEmbedderPolicyValue;
|
11873
12229
|
reportOnlyValue: CrossOriginEmbedderPolicyValue;
|
@@ -11875,14 +12231,23 @@ export namespace Protocol {
|
|
11875
12231
|
reportOnlyReportingEndpoint?: string;
|
11876
12232
|
}
|
11877
12233
|
|
12234
|
+
/**
|
12235
|
+
* @experimental
|
12236
|
+
*/
|
11878
12237
|
export type ContentSecurityPolicySource = ('HTTP' | 'Meta');
|
11879
12238
|
|
12239
|
+
/**
|
12240
|
+
* @experimental
|
12241
|
+
*/
|
11880
12242
|
export interface ContentSecurityPolicyStatus {
|
11881
12243
|
effectiveDirectives: string;
|
11882
12244
|
isEnforced: boolean;
|
11883
12245
|
source: ContentSecurityPolicySource;
|
11884
12246
|
}
|
11885
12247
|
|
12248
|
+
/**
|
12249
|
+
* @experimental
|
12250
|
+
*/
|
11886
12251
|
export interface SecurityIsolationStatus {
|
11887
12252
|
coop?: CrossOriginOpenerPolicyStatus;
|
11888
12253
|
coep?: CrossOriginEmbedderPolicyStatus;
|
@@ -11891,13 +12256,18 @@ export namespace Protocol {
|
|
11891
12256
|
|
11892
12257
|
/**
|
11893
12258
|
* The status of a Reporting API report.
|
12259
|
+
* @experimental
|
11894
12260
|
*/
|
11895
12261
|
export type ReportStatus = ('Queued' | 'Pending' | 'MarkedForRemoval' | 'Success');
|
11896
12262
|
|
12263
|
+
/**
|
12264
|
+
* @experimental
|
12265
|
+
*/
|
11897
12266
|
export type ReportId = string;
|
11898
12267
|
|
11899
12268
|
/**
|
11900
12269
|
* An object representing a report generated by the Reporting API.
|
12270
|
+
* @experimental
|
11901
12271
|
*/
|
11902
12272
|
export interface ReportingApiReport {
|
11903
12273
|
id: ReportId;
|
@@ -11929,6 +12299,9 @@ export namespace Protocol {
|
|
11929
12299
|
status: ReportStatus;
|
11930
12300
|
}
|
11931
12301
|
|
12302
|
+
/**
|
12303
|
+
* @experimental
|
12304
|
+
*/
|
11932
12305
|
export interface ReportingApiEndpoint {
|
11933
12306
|
/**
|
11934
12307
|
* The URL of the endpoint to which reports may be delivered.
|
@@ -11942,6 +12315,7 @@ export namespace Protocol {
|
|
11942
12315
|
|
11943
12316
|
/**
|
11944
12317
|
* An object providing the result of a network resource load.
|
12318
|
+
* @experimental
|
11945
12319
|
*/
|
11946
12320
|
export interface LoadNetworkResourcePageResult {
|
11947
12321
|
success: boolean;
|
@@ -11964,6 +12338,7 @@ export namespace Protocol {
|
|
11964
12338
|
/**
|
11965
12339
|
* An options object that may be extended later to better support CORS,
|
11966
12340
|
* CORB and streaming.
|
12341
|
+
* @experimental
|
11967
12342
|
*/
|
11968
12343
|
export interface LoadNetworkResourceOptions {
|
11969
12344
|
disableCache: boolean;
|
@@ -12057,6 +12432,7 @@ export namespace Protocol {
|
|
12057
12432
|
/**
|
12058
12433
|
* If specified, deletes only cookies with the the given name and partitionKey where
|
12059
12434
|
* all partition key attributes match the cookie partition key attribute.
|
12435
|
+
* @experimental
|
12060
12436
|
*/
|
12061
12437
|
partitionKey?: CookiePartitionKey;
|
12062
12438
|
}
|
@@ -12084,14 +12460,17 @@ export namespace Protocol {
|
|
12084
12460
|
connectionType?: ConnectionType;
|
12085
12461
|
/**
|
12086
12462
|
* WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
|
12463
|
+
* @experimental
|
12087
12464
|
*/
|
12088
12465
|
packetLoss?: number;
|
12089
12466
|
/**
|
12090
12467
|
* WebRTC packet queue length (packet). 0 removes any queue length limitations.
|
12468
|
+
* @experimental
|
12091
12469
|
*/
|
12092
12470
|
packetQueueLength?: integer;
|
12093
12471
|
/**
|
12094
12472
|
* WebRTC packetReordering feature.
|
12473
|
+
* @experimental
|
12095
12474
|
*/
|
12096
12475
|
packetReordering?: boolean;
|
12097
12476
|
}
|
@@ -12099,10 +12478,12 @@ export namespace Protocol {
|
|
12099
12478
|
export interface EnableRequest {
|
12100
12479
|
/**
|
12101
12480
|
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
12481
|
+
* @experimental
|
12102
12482
|
*/
|
12103
12483
|
maxTotalBufferSize?: integer;
|
12104
12484
|
/**
|
12105
12485
|
* Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
12486
|
+
* @experimental
|
12106
12487
|
*/
|
12107
12488
|
maxResourceBufferSize?: integer;
|
12108
12489
|
/**
|
@@ -12111,6 +12492,7 @@ export namespace Protocol {
|
|
12111
12492
|
maxPostDataSize?: integer;
|
12112
12493
|
/**
|
12113
12494
|
* Whether DirectSocket chunk send/receive events should be reported.
|
12495
|
+
* @experimental
|
12114
12496
|
*/
|
12115
12497
|
reportDirectSocketTraffic?: boolean;
|
12116
12498
|
}
|
@@ -12301,24 +12683,29 @@ export namespace Protocol {
|
|
12301
12683
|
expires?: TimeSinceEpoch;
|
12302
12684
|
/**
|
12303
12685
|
* Cookie Priority type.
|
12686
|
+
* @experimental
|
12304
12687
|
*/
|
12305
12688
|
priority?: CookiePriority;
|
12306
12689
|
/**
|
12307
12690
|
* True if cookie is SameParty.
|
12691
|
+
* @experimental
|
12308
12692
|
*/
|
12309
12693
|
sameParty?: boolean;
|
12310
12694
|
/**
|
12311
12695
|
* Cookie source scheme type.
|
12696
|
+
* @experimental
|
12312
12697
|
*/
|
12313
12698
|
sourceScheme?: CookieSourceScheme;
|
12314
12699
|
/**
|
12315
12700
|
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
12316
12701
|
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
12317
12702
|
* This is a temporary ability and it will be removed in the future.
|
12703
|
+
* @experimental
|
12318
12704
|
*/
|
12319
12705
|
sourcePort?: integer;
|
12320
12706
|
/**
|
12321
12707
|
* Cookie partition key. If not set, the cookie will be set as not partitioned.
|
12708
|
+
* @experimental
|
12322
12709
|
*/
|
12323
12710
|
partitionKey?: CookiePartitionKey;
|
12324
12711
|
}
|
@@ -12326,6 +12713,7 @@ export namespace Protocol {
|
|
12326
12713
|
export interface SetCookieResponse {
|
12327
12714
|
/**
|
12328
12715
|
* Always set to true. If an error occurs, the response indicates protocol error.
|
12716
|
+
* @deprecated
|
12329
12717
|
*/
|
12330
12718
|
success: boolean;
|
12331
12719
|
}
|
@@ -12374,6 +12762,7 @@ export namespace Protocol {
|
|
12374
12762
|
platform?: string;
|
12375
12763
|
/**
|
12376
12764
|
* To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
|
12765
|
+
* @experimental
|
12377
12766
|
*/
|
12378
12767
|
userAgentMetadata?: Emulation.UserAgentMetadata;
|
12379
12768
|
}
|
@@ -12467,6 +12856,7 @@ export namespace Protocol {
|
|
12467
12856
|
encodedDataLength: integer;
|
12468
12857
|
/**
|
12469
12858
|
* Data that was received. (Encoded as a base64 string when passed over JSON)
|
12859
|
+
* @experimental
|
12470
12860
|
*/
|
12471
12861
|
data?: string;
|
12472
12862
|
}
|
@@ -12553,6 +12943,8 @@ export namespace Protocol {
|
|
12553
12943
|
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
12554
12944
|
* mocked.
|
12555
12945
|
* Deprecated, use Fetch.requestPaused instead.
|
12946
|
+
* @deprecated
|
12947
|
+
* @experimental
|
12556
12948
|
*/
|
12557
12949
|
export interface RequestInterceptedEvent {
|
12558
12950
|
/**
|
@@ -12656,6 +13048,7 @@ export namespace Protocol {
|
|
12656
13048
|
* In the case that redirectResponse is populated, this flag indicates whether
|
12657
13049
|
* requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
|
12658
13050
|
* for the request which was just redirected.
|
13051
|
+
* @experimental
|
12659
13052
|
*/
|
12660
13053
|
redirectHasExtraInfo: boolean;
|
12661
13054
|
/**
|
@@ -12678,6 +13071,7 @@ export namespace Protocol {
|
|
12678
13071
|
|
12679
13072
|
/**
|
12680
13073
|
* Fired when resource loading priority is changed
|
13074
|
+
* @experimental
|
12681
13075
|
*/
|
12682
13076
|
export interface ResourceChangedPriorityEvent {
|
12683
13077
|
/**
|
@@ -12696,6 +13090,7 @@ export namespace Protocol {
|
|
12696
13090
|
|
12697
13091
|
/**
|
12698
13092
|
* Fired when a signed exchange was received over the network
|
13093
|
+
* @experimental
|
12699
13094
|
*/
|
12700
13095
|
export interface SignedExchangeReceivedEvent {
|
12701
13096
|
/**
|
@@ -12735,6 +13130,7 @@ export namespace Protocol {
|
|
12735
13130
|
/**
|
12736
13131
|
* Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
|
12737
13132
|
* or were emitted for this request.
|
13133
|
+
* @experimental
|
12738
13134
|
*/
|
12739
13135
|
hasExtraInfo: boolean;
|
12740
13136
|
/**
|
@@ -12921,6 +13317,7 @@ export namespace Protocol {
|
|
12921
13317
|
|
12922
13318
|
/**
|
12923
13319
|
* Fired upon direct_socket.TCPSocket creation.
|
13320
|
+
* @experimental
|
12924
13321
|
*/
|
12925
13322
|
export interface DirectTCPSocketCreatedEvent {
|
12926
13323
|
identifier: RequestId;
|
@@ -12936,6 +13333,7 @@ export namespace Protocol {
|
|
12936
13333
|
|
12937
13334
|
/**
|
12938
13335
|
* Fired when direct_socket.TCPSocket connection is opened.
|
13336
|
+
* @experimental
|
12939
13337
|
*/
|
12940
13338
|
export interface DirectTCPSocketOpenedEvent {
|
12941
13339
|
identifier: RequestId;
|
@@ -12954,6 +13352,7 @@ export namespace Protocol {
|
|
12954
13352
|
|
12955
13353
|
/**
|
12956
13354
|
* Fired when direct_socket.TCPSocket is aborted.
|
13355
|
+
* @experimental
|
12957
13356
|
*/
|
12958
13357
|
export interface DirectTCPSocketAbortedEvent {
|
12959
13358
|
identifier: RequestId;
|
@@ -12963,6 +13362,7 @@ export namespace Protocol {
|
|
12963
13362
|
|
12964
13363
|
/**
|
12965
13364
|
* Fired when direct_socket.TCPSocket is closed.
|
13365
|
+
* @experimental
|
12966
13366
|
*/
|
12967
13367
|
export interface DirectTCPSocketClosedEvent {
|
12968
13368
|
identifier: RequestId;
|
@@ -12971,6 +13371,7 @@ export namespace Protocol {
|
|
12971
13371
|
|
12972
13372
|
/**
|
12973
13373
|
* Fired when data is sent to tcp direct socket stream.
|
13374
|
+
* @experimental
|
12974
13375
|
*/
|
12975
13376
|
export interface DirectTCPSocketChunkSentEvent {
|
12976
13377
|
identifier: RequestId;
|
@@ -12980,6 +13381,7 @@ export namespace Protocol {
|
|
12980
13381
|
|
12981
13382
|
/**
|
12982
13383
|
* Fired when data is received from tcp direct socket stream.
|
13384
|
+
* @experimental
|
12983
13385
|
*/
|
12984
13386
|
export interface DirectTCPSocketChunkReceivedEvent {
|
12985
13387
|
identifier: RequestId;
|
@@ -12989,6 +13391,7 @@ export namespace Protocol {
|
|
12989
13391
|
|
12990
13392
|
/**
|
12991
13393
|
* Fired upon direct_socket.UDPSocket creation.
|
13394
|
+
* @experimental
|
12992
13395
|
*/
|
12993
13396
|
export interface DirectUDPSocketCreatedEvent {
|
12994
13397
|
identifier: RequestId;
|
@@ -12999,6 +13402,7 @@ export namespace Protocol {
|
|
12999
13402
|
|
13000
13403
|
/**
|
13001
13404
|
* Fired when direct_socket.UDPSocket connection is opened.
|
13405
|
+
* @experimental
|
13002
13406
|
*/
|
13003
13407
|
export interface DirectUDPSocketOpenedEvent {
|
13004
13408
|
identifier: RequestId;
|
@@ -13017,6 +13421,7 @@ export namespace Protocol {
|
|
13017
13421
|
|
13018
13422
|
/**
|
13019
13423
|
* Fired when direct_socket.UDPSocket is aborted.
|
13424
|
+
* @experimental
|
13020
13425
|
*/
|
13021
13426
|
export interface DirectUDPSocketAbortedEvent {
|
13022
13427
|
identifier: RequestId;
|
@@ -13026,6 +13431,7 @@ export namespace Protocol {
|
|
13026
13431
|
|
13027
13432
|
/**
|
13028
13433
|
* Fired when direct_socket.UDPSocket is closed.
|
13434
|
+
* @experimental
|
13029
13435
|
*/
|
13030
13436
|
export interface DirectUDPSocketClosedEvent {
|
13031
13437
|
identifier: RequestId;
|
@@ -13034,6 +13440,7 @@ export namespace Protocol {
|
|
13034
13440
|
|
13035
13441
|
/**
|
13036
13442
|
* Fired when message is sent to udp direct socket stream.
|
13443
|
+
* @experimental
|
13037
13444
|
*/
|
13038
13445
|
export interface DirectUDPSocketChunkSentEvent {
|
13039
13446
|
identifier: RequestId;
|
@@ -13043,6 +13450,7 @@ export namespace Protocol {
|
|
13043
13450
|
|
13044
13451
|
/**
|
13045
13452
|
* Fired when message is received from udp direct socket stream.
|
13453
|
+
* @experimental
|
13046
13454
|
*/
|
13047
13455
|
export interface DirectUDPSocketChunkReceivedEvent {
|
13048
13456
|
identifier: RequestId;
|
@@ -13055,6 +13463,7 @@ export namespace Protocol {
|
|
13055
13463
|
* network stack. Not every requestWillBeSent event will have an additional
|
13056
13464
|
* requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
|
13057
13465
|
* or requestWillBeSentExtraInfo will be fired first for the same request.
|
13466
|
+
* @experimental
|
13058
13467
|
*/
|
13059
13468
|
export interface RequestWillBeSentExtraInfoEvent {
|
13060
13469
|
/**
|
@@ -13072,6 +13481,7 @@ export namespace Protocol {
|
|
13072
13481
|
headers: Headers;
|
13073
13482
|
/**
|
13074
13483
|
* Connection timing information for the request.
|
13484
|
+
* @experimental
|
13075
13485
|
*/
|
13076
13486
|
connectTiming: ConnectTiming;
|
13077
13487
|
/**
|
@@ -13088,6 +13498,7 @@ export namespace Protocol {
|
|
13088
13498
|
* Fired when additional information about a responseReceived event is available from the network
|
13089
13499
|
* stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
|
13090
13500
|
* it, and responseReceivedExtraInfo may be fired before or after responseReceived.
|
13501
|
+
* @experimental
|
13091
13502
|
*/
|
13092
13503
|
export interface ResponseReceivedExtraInfoEvent {
|
13093
13504
|
/**
|
@@ -13126,6 +13537,7 @@ export namespace Protocol {
|
|
13126
13537
|
/**
|
13127
13538
|
* The cookie partition key that will be used to store partitioned cookies set in this response.
|
13128
13539
|
* Only sent when partitioned cookies are enabled.
|
13540
|
+
* @experimental
|
13129
13541
|
*/
|
13130
13542
|
cookiePartitionKey?: CookiePartitionKey;
|
13131
13543
|
/**
|
@@ -13143,6 +13555,7 @@ export namespace Protocol {
|
|
13143
13555
|
* Fired when 103 Early Hints headers is received in addition to the common response.
|
13144
13556
|
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
13145
13557
|
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
13558
|
+
* @experimental
|
13146
13559
|
*/
|
13147
13560
|
export interface ResponseReceivedEarlyHintsEvent {
|
13148
13561
|
/**
|
@@ -13179,13 +13592,14 @@ export namespace Protocol {
|
|
13179
13592
|
* the type of the operation and whether the operation succeeded or
|
13180
13593
|
* failed, the event is fired before the corresponding request was sent
|
13181
13594
|
* or after the response was received.
|
13595
|
+
* @experimental
|
13182
13596
|
*/
|
13183
13597
|
export interface TrustTokenOperationDoneEvent {
|
13184
13598
|
/**
|
13185
13599
|
* Detailed success or error status of the operation.
|
13186
13600
|
* 'AlreadyExists' also signifies a successful operation, as the result
|
13187
13601
|
* of the operation already exists und thus, the operation was abort
|
13188
|
-
* preemptively (e.g. a cache hit).
|
13602
|
+
* preemptively (e.g. a cache hit).
|
13189
13603
|
*/
|
13190
13604
|
status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally' | 'SiteIssuerLimit');
|
13191
13605
|
type: TrustTokenOperationType;
|
@@ -13207,6 +13621,7 @@ export namespace Protocol {
|
|
13207
13621
|
/**
|
13208
13622
|
* Fired once when parsing the .wbn file has succeeded.
|
13209
13623
|
* The event contains the information about the web bundle contents.
|
13624
|
+
* @experimental
|
13210
13625
|
*/
|
13211
13626
|
export interface SubresourceWebBundleMetadataReceivedEvent {
|
13212
13627
|
/**
|
@@ -13221,6 +13636,7 @@ export namespace Protocol {
|
|
13221
13636
|
|
13222
13637
|
/**
|
13223
13638
|
* Fired once when parsing the .wbn file has failed.
|
13639
|
+
* @experimental
|
13224
13640
|
*/
|
13225
13641
|
export interface SubresourceWebBundleMetadataErrorEvent {
|
13226
13642
|
/**
|
@@ -13236,6 +13652,7 @@ export namespace Protocol {
|
|
13236
13652
|
/**
|
13237
13653
|
* Fired when handling requests for resources within a .wbn file.
|
13238
13654
|
* Note: this will only be fired for resources that are requested by the webpage.
|
13655
|
+
* @experimental
|
13239
13656
|
*/
|
13240
13657
|
export interface SubresourceWebBundleInnerResponseParsedEvent {
|
13241
13658
|
/**
|
@@ -13256,6 +13673,7 @@ export namespace Protocol {
|
|
13256
13673
|
|
13257
13674
|
/**
|
13258
13675
|
* Fired when request for resources within a .wbn file failed.
|
13676
|
+
* @experimental
|
13259
13677
|
*/
|
13260
13678
|
export interface SubresourceWebBundleInnerResponseErrorEvent {
|
13261
13679
|
/**
|
@@ -13281,15 +13699,22 @@ export namespace Protocol {
|
|
13281
13699
|
/**
|
13282
13700
|
* Is sent whenever a new report is added.
|
13283
13701
|
* And after 'enableReportingApi' for all existing reports.
|
13702
|
+
* @experimental
|
13284
13703
|
*/
|
13285
13704
|
export interface ReportingApiReportAddedEvent {
|
13286
13705
|
report: ReportingApiReport;
|
13287
13706
|
}
|
13288
13707
|
|
13708
|
+
/**
|
13709
|
+
* @experimental
|
13710
|
+
*/
|
13289
13711
|
export interface ReportingApiReportUpdatedEvent {
|
13290
13712
|
report: ReportingApiReport;
|
13291
13713
|
}
|
13292
13714
|
|
13715
|
+
/**
|
13716
|
+
* @experimental
|
13717
|
+
*/
|
13293
13718
|
export interface ReportingApiEndpointsChangedForOriginEvent {
|
13294
13719
|
/**
|
13295
13720
|
* Origin of the document(s) which configured the endpoints.
|
@@ -13301,6 +13726,7 @@ export namespace Protocol {
|
|
13301
13726
|
|
13302
13727
|
/**
|
13303
13728
|
* This domain provides various functionality related to drawing atop the inspected page.
|
13729
|
+
* @experimental
|
13304
13730
|
*/
|
13305
13731
|
export namespace Overlay {
|
13306
13732
|
|
@@ -13352,6 +13778,7 @@ export namespace Protocol {
|
|
13352
13778
|
gridBorderColor?: DOM.RGBA;
|
13353
13779
|
/**
|
13354
13780
|
* The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead.
|
13781
|
+
* @deprecated
|
13355
13782
|
*/
|
13356
13783
|
cellBorderColor?: DOM.RGBA;
|
13357
13784
|
/**
|
@@ -13368,6 +13795,7 @@ export namespace Protocol {
|
|
13368
13795
|
gridBorderDash?: boolean;
|
13369
13796
|
/**
|
13370
13797
|
* Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead.
|
13798
|
+
* @deprecated
|
13371
13799
|
*/
|
13372
13800
|
cellBorderDash?: boolean;
|
13373
13801
|
/**
|
@@ -13474,7 +13902,7 @@ export namespace Protocol {
|
|
13474
13902
|
*/
|
13475
13903
|
color?: DOM.RGBA;
|
13476
13904
|
/**
|
13477
|
-
* The line pattern (default: solid)
|
13905
|
+
* The line pattern (default: solid)
|
13478
13906
|
*/
|
13479
13907
|
pattern?: ('dashed' | 'dotted');
|
13480
13908
|
}
|
@@ -14046,13 +14474,18 @@ export namespace Protocol {
|
|
14046
14474
|
|
14047
14475
|
/**
|
14048
14476
|
* Indicates whether a frame has been identified as an ad.
|
14477
|
+
* @experimental
|
14049
14478
|
*/
|
14050
14479
|
export type AdFrameType = ('none' | 'child' | 'root');
|
14051
14480
|
|
14481
|
+
/**
|
14482
|
+
* @experimental
|
14483
|
+
*/
|
14052
14484
|
export type AdFrameExplanation = ('ParentIsAd' | 'CreatedByAdScript' | 'MatchedBlockingRule');
|
14053
14485
|
|
14054
14486
|
/**
|
14055
14487
|
* Indicates whether a frame has been identified as an ad and why.
|
14488
|
+
* @experimental
|
14056
14489
|
*/
|
14057
14490
|
export interface AdFrameStatus {
|
14058
14491
|
adFrameType: AdFrameType;
|
@@ -14062,6 +14495,7 @@ export namespace Protocol {
|
|
14062
14495
|
/**
|
14063
14496
|
* Identifies the script which caused a script or frame to be labelled as an
|
14064
14497
|
* ad.
|
14498
|
+
* @experimental
|
14065
14499
|
*/
|
14066
14500
|
export interface AdScriptId {
|
14067
14501
|
/**
|
@@ -14079,6 +14513,7 @@ export namespace Protocol {
|
|
14079
14513
|
* Encapsulates the script ancestry and the root script filterlist rule that
|
14080
14514
|
* caused the frame to be labelled as an ad. Only created when `ancestryChain`
|
14081
14515
|
* is not empty.
|
14516
|
+
* @experimental
|
14082
14517
|
*/
|
14083
14518
|
export interface AdScriptAncestry {
|
14084
14519
|
/**
|
@@ -14098,32 +14533,45 @@ export namespace Protocol {
|
|
14098
14533
|
|
14099
14534
|
/**
|
14100
14535
|
* Indicates whether the frame is a secure context and why it is the case.
|
14536
|
+
* @experimental
|
14101
14537
|
*/
|
14102
14538
|
export type SecureContextType = ('Secure' | 'SecureLocalhost' | 'InsecureScheme' | 'InsecureAncestor');
|
14103
14539
|
|
14104
14540
|
/**
|
14105
14541
|
* Indicates whether the frame is cross-origin isolated and why it is the case.
|
14542
|
+
* @experimental
|
14106
14543
|
*/
|
14107
14544
|
export type CrossOriginIsolatedContextType = ('Isolated' | 'NotIsolated' | 'NotIsolatedFeatureDisabled');
|
14108
14545
|
|
14546
|
+
/**
|
14547
|
+
* @experimental
|
14548
|
+
*/
|
14109
14549
|
export type GatedAPIFeatures = ('SharedArrayBuffers' | 'SharedArrayBuffersTransferAllowed' | 'PerformanceMeasureMemory' | 'PerformanceProfile');
|
14110
14550
|
|
14111
14551
|
/**
|
14112
14552
|
* All Permissions Policy features. This enum should match the one defined
|
14113
14553
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
14554
|
+
* @experimental
|
14114
14555
|
*/
|
14115
14556
|
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
14116
14557
|
|
14117
14558
|
/**
|
14118
14559
|
* Reason for a permissions policy feature to be disabled.
|
14560
|
+
* @experimental
|
14119
14561
|
*/
|
14120
14562
|
export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree' | 'InIsolatedApp');
|
14121
14563
|
|
14564
|
+
/**
|
14565
|
+
* @experimental
|
14566
|
+
*/
|
14122
14567
|
export interface PermissionsPolicyBlockLocator {
|
14123
14568
|
frameId: FrameId;
|
14124
14569
|
blockReason: PermissionsPolicyBlockReason;
|
14125
14570
|
}
|
14126
14571
|
|
14572
|
+
/**
|
14573
|
+
* @experimental
|
14574
|
+
*/
|
14127
14575
|
export interface PermissionsPolicyFeatureState {
|
14128
14576
|
feature: PermissionsPolicyFeature;
|
14129
14577
|
allowed: boolean;
|
@@ -14133,16 +14581,24 @@ export namespace Protocol {
|
|
14133
14581
|
/**
|
14134
14582
|
* Origin Trial(https://www.chromium.org/blink/origin-trials) support.
|
14135
14583
|
* Status for an Origin Trial token.
|
14584
|
+
* @experimental
|
14136
14585
|
*/
|
14137
14586
|
export type OriginTrialTokenStatus = ('Success' | 'NotSupported' | 'Insecure' | 'Expired' | 'WrongOrigin' | 'InvalidSignature' | 'Malformed' | 'WrongVersion' | 'FeatureDisabled' | 'TokenDisabled' | 'FeatureDisabledForUser' | 'UnknownTrial');
|
14138
14587
|
|
14139
14588
|
/**
|
14140
14589
|
* Status for an Origin Trial.
|
14590
|
+
* @experimental
|
14141
14591
|
*/
|
14142
14592
|
export type OriginTrialStatus = ('Enabled' | 'ValidTokenNotProvided' | 'OSNotSupported' | 'TrialNotAllowed');
|
14143
14593
|
|
14594
|
+
/**
|
14595
|
+
* @experimental
|
14596
|
+
*/
|
14144
14597
|
export type OriginTrialUsageRestriction = ('None' | 'Subset');
|
14145
14598
|
|
14599
|
+
/**
|
14600
|
+
* @experimental
|
14601
|
+
*/
|
14146
14602
|
export interface OriginTrialToken {
|
14147
14603
|
origin: string;
|
14148
14604
|
matchSubDomains: boolean;
|
@@ -14152,6 +14608,9 @@ export namespace Protocol {
|
|
14152
14608
|
usageRestriction: OriginTrialUsageRestriction;
|
14153
14609
|
}
|
14154
14610
|
|
14611
|
+
/**
|
14612
|
+
* @experimental
|
14613
|
+
*/
|
14155
14614
|
export interface OriginTrialTokenWithStatus {
|
14156
14615
|
rawTokenText: string;
|
14157
14616
|
/**
|
@@ -14162,6 +14621,9 @@ export namespace Protocol {
|
|
14162
14621
|
status: OriginTrialTokenStatus;
|
14163
14622
|
}
|
14164
14623
|
|
14624
|
+
/**
|
14625
|
+
* @experimental
|
14626
|
+
*/
|
14165
14627
|
export interface OriginTrial {
|
14166
14628
|
trialName: string;
|
14167
14629
|
status: OriginTrialStatus;
|
@@ -14170,6 +14632,7 @@ export namespace Protocol {
|
|
14170
14632
|
|
14171
14633
|
/**
|
14172
14634
|
* Additional information about the frame document's security origin.
|
14635
|
+
* @experimental
|
14173
14636
|
*/
|
14174
14637
|
export interface SecurityOriginDetails {
|
14175
14638
|
/**
|
@@ -14206,6 +14669,7 @@ export namespace Protocol {
|
|
14206
14669
|
url: string;
|
14207
14670
|
/**
|
14208
14671
|
* Frame document's URL fragment including the '#'.
|
14672
|
+
* @experimental
|
14209
14673
|
*/
|
14210
14674
|
urlFragment?: string;
|
14211
14675
|
/**
|
@@ -14213,6 +14677,7 @@ export namespace Protocol {
|
|
14213
14677
|
* Extracted from the Frame's url.
|
14214
14678
|
* Example URLs: http://www.google.com/file.html -> "google.com"
|
14215
14679
|
* http://a.b.co.uk/file.html -> "b.co.uk"
|
14680
|
+
* @experimental
|
14216
14681
|
*/
|
14217
14682
|
domainAndRegistry: string;
|
14218
14683
|
/**
|
@@ -14221,6 +14686,7 @@ export namespace Protocol {
|
|
14221
14686
|
securityOrigin: string;
|
14222
14687
|
/**
|
14223
14688
|
* Additional details about the frame document's security origin.
|
14689
|
+
* @experimental
|
14224
14690
|
*/
|
14225
14691
|
securityOriginDetails?: SecurityOriginDetails;
|
14226
14692
|
/**
|
@@ -14229,28 +14695,34 @@ export namespace Protocol {
|
|
14229
14695
|
mimeType: string;
|
14230
14696
|
/**
|
14231
14697
|
* If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
|
14698
|
+
* @experimental
|
14232
14699
|
*/
|
14233
14700
|
unreachableUrl?: string;
|
14234
14701
|
/**
|
14235
14702
|
* Indicates whether this frame was tagged as an ad and why.
|
14703
|
+
* @experimental
|
14236
14704
|
*/
|
14237
14705
|
adFrameStatus?: AdFrameStatus;
|
14238
14706
|
/**
|
14239
14707
|
* Indicates whether the main document is a secure context and explains why that is the case.
|
14708
|
+
* @experimental
|
14240
14709
|
*/
|
14241
14710
|
secureContextType: SecureContextType;
|
14242
14711
|
/**
|
14243
14712
|
* Indicates whether this is a cross origin isolated context.
|
14713
|
+
* @experimental
|
14244
14714
|
*/
|
14245
14715
|
crossOriginIsolatedContextType: CrossOriginIsolatedContextType;
|
14246
14716
|
/**
|
14247
14717
|
* Indicated which gated APIs / features are available.
|
14718
|
+
* @experimental
|
14248
14719
|
*/
|
14249
14720
|
gatedAPIFeatures: GatedAPIFeatures[];
|
14250
14721
|
}
|
14251
14722
|
|
14252
14723
|
/**
|
14253
14724
|
* Information about the Resource on the page.
|
14725
|
+
* @experimental
|
14254
14726
|
*/
|
14255
14727
|
export interface FrameResource {
|
14256
14728
|
/**
|
@@ -14285,6 +14757,7 @@ export namespace Protocol {
|
|
14285
14757
|
|
14286
14758
|
/**
|
14287
14759
|
* Information about the Frame hierarchy along with their cached resources.
|
14760
|
+
* @experimental
|
14288
14761
|
*/
|
14289
14762
|
export interface FrameResourceTree {
|
14290
14763
|
/**
|
@@ -14353,6 +14826,7 @@ export namespace Protocol {
|
|
14353
14826
|
|
14354
14827
|
/**
|
14355
14828
|
* Screencast frame metadata.
|
14829
|
+
* @experimental
|
14356
14830
|
*/
|
14357
14831
|
export interface ScreencastFrameMetadata {
|
14358
14832
|
/**
|
@@ -14414,6 +14888,7 @@ export namespace Protocol {
|
|
14414
14888
|
|
14415
14889
|
/**
|
14416
14890
|
* Parsed app manifest properties.
|
14891
|
+
* @experimental
|
14417
14892
|
*/
|
14418
14893
|
export interface AppManifestParsedProperties {
|
14419
14894
|
/**
|
@@ -14510,6 +14985,7 @@ export namespace Protocol {
|
|
14510
14985
|
|
14511
14986
|
/**
|
14512
14987
|
* Generic font families collection.
|
14988
|
+
* @experimental
|
14513
14989
|
*/
|
14514
14990
|
export interface FontFamilies {
|
14515
14991
|
/**
|
@@ -14544,6 +15020,7 @@ export namespace Protocol {
|
|
14544
15020
|
|
14545
15021
|
/**
|
14546
15022
|
* Font families collection for a script.
|
15023
|
+
* @experimental
|
14547
15024
|
*/
|
14548
15025
|
export interface ScriptFontFamilies {
|
14549
15026
|
/**
|
@@ -14558,6 +15035,7 @@ export namespace Protocol {
|
|
14558
15035
|
|
14559
15036
|
/**
|
14560
15037
|
* Default font sizes.
|
15038
|
+
* @experimental
|
14561
15039
|
*/
|
14562
15040
|
export interface FontSizes {
|
14563
15041
|
/**
|
@@ -14570,10 +15048,19 @@ export namespace Protocol {
|
|
14570
15048
|
fixed?: integer;
|
14571
15049
|
}
|
14572
15050
|
|
15051
|
+
/**
|
15052
|
+
* @experimental
|
15053
|
+
*/
|
14573
15054
|
export type ClientNavigationReason = ('anchorClick' | 'formSubmissionGet' | 'formSubmissionPost' | 'httpHeaderRefresh' | 'initialFrameNavigation' | 'metaTagRefresh' | 'other' | 'pageBlockInterstitial' | 'reload' | 'scriptInitiated');
|
14574
15055
|
|
15056
|
+
/**
|
15057
|
+
* @experimental
|
15058
|
+
*/
|
14575
15059
|
export type ClientNavigationDisposition = ('currentTab' | 'newTab' | 'newWindow' | 'download');
|
14576
15060
|
|
15061
|
+
/**
|
15062
|
+
* @experimental
|
15063
|
+
*/
|
14577
15064
|
export interface InstallabilityErrorArgument {
|
14578
15065
|
/**
|
14579
15066
|
* Argument name (e.g. name:'minimum-icon-size-in-pixels').
|
@@ -14587,6 +15074,7 @@ export namespace Protocol {
|
|
14587
15074
|
|
14588
15075
|
/**
|
14589
15076
|
* The installability error
|
15077
|
+
* @experimental
|
14590
15078
|
*/
|
14591
15079
|
export interface InstallabilityError {
|
14592
15080
|
/**
|
@@ -14601,11 +15089,13 @@ export namespace Protocol {
|
|
14601
15089
|
|
14602
15090
|
/**
|
14603
15091
|
* The referring-policy used for the navigation.
|
15092
|
+
* @experimental
|
14604
15093
|
*/
|
14605
15094
|
export type ReferrerPolicy = ('noReferrer' | 'noReferrerWhenDowngrade' | 'origin' | 'originWhenCrossOrigin' | 'sameOrigin' | 'strictOrigin' | 'strictOriginWhenCrossOrigin' | 'unsafeUrl');
|
14606
15095
|
|
14607
15096
|
/**
|
14608
15097
|
* Per-script compilation cache parameters for `Page.produceCompilationCache`
|
15098
|
+
* @experimental
|
14609
15099
|
*/
|
14610
15100
|
export interface CompilationCacheParams {
|
14611
15101
|
/**
|
@@ -14619,11 +15109,17 @@ export namespace Protocol {
|
|
14619
15109
|
eager?: boolean;
|
14620
15110
|
}
|
14621
15111
|
|
15112
|
+
/**
|
15113
|
+
* @experimental
|
15114
|
+
*/
|
14622
15115
|
export interface FileFilter {
|
14623
15116
|
name?: string;
|
14624
15117
|
accepts?: string[];
|
14625
15118
|
}
|
14626
15119
|
|
15120
|
+
/**
|
15121
|
+
* @experimental
|
15122
|
+
*/
|
14627
15123
|
export interface FileHandler {
|
14628
15124
|
action: string;
|
14629
15125
|
name: string;
|
@@ -14641,6 +15137,7 @@ export namespace Protocol {
|
|
14641
15137
|
|
14642
15138
|
/**
|
14643
15139
|
* The image definition used in both icon and screenshot.
|
15140
|
+
* @experimental
|
14644
15141
|
*/
|
14645
15142
|
export interface ImageResource {
|
14646
15143
|
/**
|
@@ -14652,20 +15149,32 @@ export namespace Protocol {
|
|
14652
15149
|
type?: string;
|
14653
15150
|
}
|
14654
15151
|
|
15152
|
+
/**
|
15153
|
+
* @experimental
|
15154
|
+
*/
|
14655
15155
|
export interface LaunchHandler {
|
14656
15156
|
clientMode: string;
|
14657
15157
|
}
|
14658
15158
|
|
15159
|
+
/**
|
15160
|
+
* @experimental
|
15161
|
+
*/
|
14659
15162
|
export interface ProtocolHandler {
|
14660
15163
|
protocol: string;
|
14661
15164
|
url: string;
|
14662
15165
|
}
|
14663
15166
|
|
15167
|
+
/**
|
15168
|
+
* @experimental
|
15169
|
+
*/
|
14664
15170
|
export interface RelatedApplication {
|
14665
15171
|
id?: string;
|
14666
15172
|
url: string;
|
14667
15173
|
}
|
14668
15174
|
|
15175
|
+
/**
|
15176
|
+
* @experimental
|
15177
|
+
*/
|
14669
15178
|
export interface ScopeExtension {
|
14670
15179
|
/**
|
14671
15180
|
* Instead of using tuple, this field always returns the serialized string
|
@@ -14675,12 +15184,18 @@ export namespace Protocol {
|
|
14675
15184
|
hasOriginWildcard: boolean;
|
14676
15185
|
}
|
14677
15186
|
|
15187
|
+
/**
|
15188
|
+
* @experimental
|
15189
|
+
*/
|
14678
15190
|
export interface Screenshot {
|
14679
15191
|
image: ImageResource;
|
14680
15192
|
formFactor: string;
|
14681
15193
|
label?: string;
|
14682
15194
|
}
|
14683
15195
|
|
15196
|
+
/**
|
15197
|
+
* @experimental
|
15198
|
+
*/
|
14684
15199
|
export interface ShareTarget {
|
14685
15200
|
action: string;
|
14686
15201
|
method: string;
|
@@ -14694,11 +15209,17 @@ export namespace Protocol {
|
|
14694
15209
|
files?: FileFilter[];
|
14695
15210
|
}
|
14696
15211
|
|
15212
|
+
/**
|
15213
|
+
* @experimental
|
15214
|
+
*/
|
14697
15215
|
export interface Shortcut {
|
14698
15216
|
name: string;
|
14699
15217
|
url: string;
|
14700
15218
|
}
|
14701
15219
|
|
15220
|
+
/**
|
15221
|
+
* @experimental
|
15222
|
+
*/
|
14702
15223
|
export interface WebAppManifest {
|
14703
15224
|
backgroundColor?: string;
|
14704
15225
|
/**
|
@@ -14751,19 +15272,25 @@ export namespace Protocol {
|
|
14751
15272
|
|
14752
15273
|
/**
|
14753
15274
|
* The type of a frameNavigated event.
|
15275
|
+
* @experimental
|
14754
15276
|
*/
|
14755
15277
|
export type NavigationType = ('Navigation' | 'BackForwardCacheRestore');
|
14756
15278
|
|
14757
15279
|
/**
|
14758
15280
|
* List of not restored reasons for back-forward cache.
|
15281
|
+
* @experimental
|
14759
15282
|
*/
|
14760
15283
|
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'SharedWorkerMessage' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
|
14761
15284
|
|
14762
15285
|
/**
|
14763
15286
|
* Types of not restored reasons for back-forward cache.
|
15287
|
+
* @experimental
|
14764
15288
|
*/
|
14765
15289
|
export type BackForwardCacheNotRestoredReasonType = ('SupportPending' | 'PageSupportNeeded' | 'Circumstantial');
|
14766
15290
|
|
15291
|
+
/**
|
15292
|
+
* @experimental
|
15293
|
+
*/
|
14767
15294
|
export interface BackForwardCacheBlockingDetails {
|
14768
15295
|
/**
|
14769
15296
|
* Url of the file where blockage happened. Optional because of tests.
|
@@ -14783,6 +15310,9 @@ export namespace Protocol {
|
|
14783
15310
|
columnNumber: integer;
|
14784
15311
|
}
|
14785
15312
|
|
15313
|
+
/**
|
15314
|
+
* @experimental
|
15315
|
+
*/
|
14786
15316
|
export interface BackForwardCacheNotRestoredExplanation {
|
14787
15317
|
/**
|
14788
15318
|
* Type of the reason
|
@@ -14801,6 +15331,9 @@ export namespace Protocol {
|
|
14801
15331
|
details?: BackForwardCacheBlockingDetails[];
|
14802
15332
|
}
|
14803
15333
|
|
15334
|
+
/**
|
15335
|
+
* @experimental
|
15336
|
+
*/
|
14804
15337
|
export interface BackForwardCacheNotRestoredExplanationTree {
|
14805
15338
|
/**
|
14806
15339
|
* URL of each frame
|
@@ -14833,16 +15366,19 @@ export namespace Protocol {
|
|
14833
15366
|
* If specified, creates an isolated world with the given name and evaluates given script in it.
|
14834
15367
|
* This world name will be used as the ExecutionContextDescription::name when the corresponding
|
14835
15368
|
* event is emitted.
|
15369
|
+
* @experimental
|
14836
15370
|
*/
|
14837
15371
|
worldName?: string;
|
14838
15372
|
/**
|
14839
15373
|
* Specifies whether command line API should be available to the script, defaults
|
14840
15374
|
* to false.
|
15375
|
+
* @experimental
|
14841
15376
|
*/
|
14842
15377
|
includeCommandLineAPI?: boolean;
|
14843
15378
|
/**
|
14844
15379
|
* If true, runs the script immediately on existing execution contexts or worlds.
|
14845
15380
|
* Default: false.
|
15381
|
+
* @experimental
|
14846
15382
|
*/
|
14847
15383
|
runImmediately?: boolean;
|
14848
15384
|
}
|
@@ -14862,7 +15398,7 @@ export namespace Protocol {
|
|
14862
15398
|
|
14863
15399
|
export interface CaptureScreenshotRequest {
|
14864
15400
|
/**
|
14865
|
-
* Image compression format (defaults to png).
|
15401
|
+
* Image compression format (defaults to png).
|
14866
15402
|
*/
|
14867
15403
|
format?: ('jpeg' | 'png' | 'webp');
|
14868
15404
|
/**
|
@@ -14875,14 +15411,17 @@ export namespace Protocol {
|
|
14875
15411
|
clip?: Viewport;
|
14876
15412
|
/**
|
14877
15413
|
* Capture the screenshot from the surface, rather than the view. Defaults to true.
|
15414
|
+
* @experimental
|
14878
15415
|
*/
|
14879
15416
|
fromSurface?: boolean;
|
14880
15417
|
/**
|
14881
15418
|
* Capture the screenshot beyond the viewport. Defaults to false.
|
15419
|
+
* @experimental
|
14882
15420
|
*/
|
14883
15421
|
captureBeyondViewport?: boolean;
|
14884
15422
|
/**
|
14885
15423
|
* Optimize image encoding for speed, not for resulting size (defaults to false)
|
15424
|
+
* @experimental
|
14886
15425
|
*/
|
14887
15426
|
optimizeForSpeed?: boolean;
|
14888
15427
|
}
|
@@ -14900,7 +15439,7 @@ export namespace Protocol {
|
|
14900
15439
|
|
14901
15440
|
export interface CaptureSnapshotRequest {
|
14902
15441
|
/**
|
14903
|
-
* Format (defaults to mhtml).
|
15442
|
+
* Format (defaults to mhtml).
|
14904
15443
|
*/
|
14905
15444
|
format?: ('mhtml');
|
14906
15445
|
}
|
@@ -14950,6 +15489,7 @@ export namespace Protocol {
|
|
14950
15489
|
/**
|
14951
15490
|
* If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
|
14952
15491
|
* `Page.setInterceptFileChooserDialog` command (default: false).
|
15492
|
+
* @experimental
|
14953
15493
|
*/
|
14954
15494
|
enableFileChooserOpenedEvent?: boolean;
|
14955
15495
|
}
|
@@ -14970,8 +15510,13 @@ export namespace Protocol {
|
|
14970
15510
|
data?: string;
|
14971
15511
|
/**
|
14972
15512
|
* Parsed manifest properties. Deprecated, use manifest instead.
|
15513
|
+
* @deprecated
|
15514
|
+
* @experimental
|
14973
15515
|
*/
|
14974
15516
|
parsed?: AppManifestParsedProperties;
|
15517
|
+
/**
|
15518
|
+
* @experimental
|
15519
|
+
*/
|
14975
15520
|
manifest: WebAppManifest;
|
14976
15521
|
}
|
14977
15522
|
|
@@ -15019,14 +15564,17 @@ export namespace Protocol {
|
|
15019
15564
|
export interface GetLayoutMetricsResponse {
|
15020
15565
|
/**
|
15021
15566
|
* Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.
|
15567
|
+
* @deprecated
|
15022
15568
|
*/
|
15023
15569
|
layoutViewport: LayoutViewport;
|
15024
15570
|
/**
|
15025
15571
|
* Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.
|
15572
|
+
* @deprecated
|
15026
15573
|
*/
|
15027
15574
|
visualViewport: VisualViewport;
|
15028
15575
|
/**
|
15029
15576
|
* Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
|
15577
|
+
* @deprecated
|
15030
15578
|
*/
|
15031
15579
|
contentSize: DOM.Rect;
|
15032
15580
|
/**
|
@@ -15114,6 +15662,7 @@ export namespace Protocol {
|
|
15114
15662
|
frameId?: FrameId;
|
15115
15663
|
/**
|
15116
15664
|
* Referrer-policy used for the navigation.
|
15665
|
+
* @experimental
|
15117
15666
|
*/
|
15118
15667
|
referrerPolicy?: ReferrerPolicy;
|
15119
15668
|
}
|
@@ -15134,6 +15683,7 @@ export namespace Protocol {
|
|
15134
15683
|
errorText?: string;
|
15135
15684
|
/**
|
15136
15685
|
* Whether the navigation resulted in a download.
|
15686
|
+
* @experimental
|
15137
15687
|
*/
|
15138
15688
|
isDownload?: boolean;
|
15139
15689
|
}
|
@@ -15224,15 +15774,18 @@ export namespace Protocol {
|
|
15224
15774
|
*/
|
15225
15775
|
preferCSSPageSize?: boolean;
|
15226
15776
|
/**
|
15227
|
-
* return as stream
|
15777
|
+
* return as stream
|
15778
|
+
* @experimental
|
15228
15779
|
*/
|
15229
15780
|
transferMode?: ('ReturnAsBase64' | 'ReturnAsStream');
|
15230
15781
|
/**
|
15231
15782
|
* Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
|
15783
|
+
* @experimental
|
15232
15784
|
*/
|
15233
15785
|
generateTaggedPDF?: boolean;
|
15234
15786
|
/**
|
15235
15787
|
* Whether or not to embed the document outline into the PDF.
|
15788
|
+
* @experimental
|
15236
15789
|
*/
|
15237
15790
|
generateDocumentOutline?: boolean;
|
15238
15791
|
}
|
@@ -15244,6 +15797,7 @@ export namespace Protocol {
|
|
15244
15797
|
data: string;
|
15245
15798
|
/**
|
15246
15799
|
* A handle of the stream that holds resulting PDF data.
|
15800
|
+
* @experimental
|
15247
15801
|
*/
|
15248
15802
|
stream?: IO.StreamHandle;
|
15249
15803
|
}
|
@@ -15262,6 +15816,7 @@ export namespace Protocol {
|
|
15262
15816
|
* If set, an error will be thrown if the target page's main frame's
|
15263
15817
|
* loader id does not match the provided id. This prevents accidentally
|
15264
15818
|
* reloading an unintended target in case there's a racing navigation.
|
15819
|
+
* @experimental
|
15265
15820
|
*/
|
15266
15821
|
loaderId?: Network.LoaderId;
|
15267
15822
|
}
|
@@ -15446,7 +16001,7 @@ export namespace Protocol {
|
|
15446
16001
|
export interface SetDownloadBehaviorRequest {
|
15447
16002
|
/**
|
15448
16003
|
* Whether to allow all or deny all download requests, or use default Chrome behavior if
|
15449
|
-
* available (otherwise deny).
|
16004
|
+
* available (otherwise deny).
|
15450
16005
|
*/
|
15451
16006
|
behavior: ('deny' | 'allow' | 'default');
|
15452
16007
|
/**
|
@@ -15488,7 +16043,7 @@ export namespace Protocol {
|
|
15488
16043
|
*/
|
15489
16044
|
enabled: boolean;
|
15490
16045
|
/**
|
15491
|
-
* Touch/gesture events configuration. Default: current platform.
|
16046
|
+
* Touch/gesture events configuration. Default: current platform.
|
15492
16047
|
*/
|
15493
16048
|
configuration?: ('mobile' | 'desktop');
|
15494
16049
|
}
|
@@ -15500,7 +16055,7 @@ export namespace Protocol {
|
|
15500
16055
|
|
15501
16056
|
export interface StartScreencastRequest {
|
15502
16057
|
/**
|
15503
|
-
* Image compression format.
|
16058
|
+
* Image compression format.
|
15504
16059
|
*/
|
15505
16060
|
format?: ('jpeg' | 'png');
|
15506
16061
|
/**
|
@@ -15528,7 +16083,7 @@ export namespace Protocol {
|
|
15528
16083
|
|
15529
16084
|
export interface SetWebLifecycleStateRequest {
|
15530
16085
|
/**
|
15531
|
-
* Target lifecycle state
|
16086
|
+
* Target lifecycle state
|
15532
16087
|
*/
|
15533
16088
|
state: ('frozen' | 'active');
|
15534
16089
|
}
|
@@ -15554,9 +16109,6 @@ export namespace Protocol {
|
|
15554
16109
|
}
|
15555
16110
|
|
15556
16111
|
export interface SetSPCTransactionModeRequest {
|
15557
|
-
/**
|
15558
|
-
* (SetSPCTransactionModeRequestMode enum)
|
15559
|
-
*/
|
15560
16112
|
mode: ('none' | 'autoAccept' | 'autoChooseToAuthAnotherWay' | 'autoReject' | 'autoOptOut');
|
15561
16113
|
}
|
15562
16114
|
|
@@ -15567,9 +16119,6 @@ export namespace Protocol {
|
|
15567
16119
|
}
|
15568
16120
|
|
15569
16121
|
export interface SetRPHRegistrationModeRequest {
|
15570
|
-
/**
|
15571
|
-
* (SetRPHRegistrationModeRequestMode enum)
|
15572
|
-
*/
|
15573
16122
|
mode: ('none' | 'autoAccept' | 'autoReject');
|
15574
16123
|
}
|
15575
16124
|
|
@@ -15590,6 +16139,7 @@ export namespace Protocol {
|
|
15590
16139
|
* If true, cancels the dialog by emitting relevant events (if any)
|
15591
16140
|
* in addition to not showing it if the interception is enabled
|
15592
16141
|
* (default: false).
|
16142
|
+
* @experimental
|
15593
16143
|
*/
|
15594
16144
|
cancel?: boolean;
|
15595
16145
|
}
|
@@ -15613,14 +16163,16 @@ export namespace Protocol {
|
|
15613
16163
|
export interface FileChooserOpenedEvent {
|
15614
16164
|
/**
|
15615
16165
|
* Id of the frame containing input node.
|
16166
|
+
* @experimental
|
15616
16167
|
*/
|
15617
16168
|
frameId: FrameId;
|
15618
16169
|
/**
|
15619
|
-
* Input mode.
|
16170
|
+
* Input mode.
|
15620
16171
|
*/
|
15621
16172
|
mode: ('selectSingle' | 'selectMultiple');
|
15622
16173
|
/**
|
15623
16174
|
* Input node id. Only present for file choosers opened via an `<input type="file">` element.
|
16175
|
+
* @experimental
|
15624
16176
|
*/
|
15625
16177
|
backendNodeId?: DOM.BackendNodeId;
|
15626
16178
|
}
|
@@ -15645,6 +16197,7 @@ export namespace Protocol {
|
|
15645
16197
|
|
15646
16198
|
/**
|
15647
16199
|
* Fired when frame no longer has a scheduled navigation.
|
16200
|
+
* @deprecated
|
15648
16201
|
*/
|
15649
16202
|
export interface FrameClearedScheduledNavigationEvent {
|
15650
16203
|
/**
|
@@ -15667,7 +16220,7 @@ export namespace Protocol {
|
|
15667
16220
|
*/
|
15668
16221
|
frameId: FrameId;
|
15669
16222
|
/**
|
15670
|
-
*
|
16223
|
+
* @experimental
|
15671
16224
|
*/
|
15672
16225
|
reason: ('remove' | 'swap');
|
15673
16226
|
}
|
@@ -15675,6 +16228,7 @@ export namespace Protocol {
|
|
15675
16228
|
/**
|
15676
16229
|
* Fired before frame subtree is detached. Emitted before any frame of the
|
15677
16230
|
* subtree is actually detached.
|
16231
|
+
* @experimental
|
15678
16232
|
*/
|
15679
16233
|
export interface FrameSubtreeWillBeDetachedEvent {
|
15680
16234
|
/**
|
@@ -15691,11 +16245,15 @@ export namespace Protocol {
|
|
15691
16245
|
* Frame object.
|
15692
16246
|
*/
|
15693
16247
|
frame: Frame;
|
16248
|
+
/**
|
16249
|
+
* @experimental
|
16250
|
+
*/
|
15694
16251
|
type: NavigationType;
|
15695
16252
|
}
|
15696
16253
|
|
15697
16254
|
/**
|
15698
16255
|
* Fired when opening document to write to.
|
16256
|
+
* @experimental
|
15699
16257
|
*/
|
15700
16258
|
export interface DocumentOpenedEvent {
|
15701
16259
|
/**
|
@@ -15723,6 +16281,7 @@ export namespace Protocol {
|
|
15723
16281
|
* can be fired for a single navigation, for example, when a same-document
|
15724
16282
|
* navigation becomes a cross-document navigation (such as in the case of a
|
15725
16283
|
* frameset).
|
16284
|
+
* @experimental
|
15726
16285
|
*/
|
15727
16286
|
export interface FrameStartedNavigatingEvent {
|
15728
16287
|
/**
|
@@ -15740,15 +16299,13 @@ export namespace Protocol {
|
|
15740
16299
|
* navigation.
|
15741
16300
|
*/
|
15742
16301
|
loaderId: Network.LoaderId;
|
15743
|
-
/**
|
15744
|
-
* (FrameStartedNavigatingEventNavigationType enum)
|
15745
|
-
*/
|
15746
16302
|
navigationType: ('reload' | 'reloadBypassingCache' | 'restore' | 'restoreWithPost' | 'historySameDocument' | 'historyDifferentDocument' | 'sameDocument' | 'differentDocument');
|
15747
16303
|
}
|
15748
16304
|
|
15749
16305
|
/**
|
15750
16306
|
* Fired when a renderer-initiated navigation is requested.
|
15751
16307
|
* Navigation may still be cancelled after the event is issued.
|
16308
|
+
* @experimental
|
15752
16309
|
*/
|
15753
16310
|
export interface FrameRequestedNavigationEvent {
|
15754
16311
|
/**
|
@@ -15771,6 +16328,7 @@ export namespace Protocol {
|
|
15771
16328
|
|
15772
16329
|
/**
|
15773
16330
|
* Fired when frame schedules a potential navigation.
|
16331
|
+
* @deprecated
|
15774
16332
|
*/
|
15775
16333
|
export interface FrameScheduledNavigationEvent {
|
15776
16334
|
/**
|
@@ -15794,6 +16352,7 @@ export namespace Protocol {
|
|
15794
16352
|
|
15795
16353
|
/**
|
15796
16354
|
* Fired when frame has started loading.
|
16355
|
+
* @experimental
|
15797
16356
|
*/
|
15798
16357
|
export interface FrameStartedLoadingEvent {
|
15799
16358
|
/**
|
@@ -15804,6 +16363,7 @@ export namespace Protocol {
|
|
15804
16363
|
|
15805
16364
|
/**
|
15806
16365
|
* Fired when frame has stopped loading.
|
16366
|
+
* @experimental
|
15807
16367
|
*/
|
15808
16368
|
export interface FrameStoppedLoadingEvent {
|
15809
16369
|
/**
|
@@ -15815,6 +16375,8 @@ export namespace Protocol {
|
|
15815
16375
|
/**
|
15816
16376
|
* Fired when page is about to start a download.
|
15817
16377
|
* Deprecated. Use Browser.downloadWillBegin instead.
|
16378
|
+
* @deprecated
|
16379
|
+
* @experimental
|
15818
16380
|
*/
|
15819
16381
|
export interface DownloadWillBeginEvent {
|
15820
16382
|
/**
|
@@ -15844,6 +16406,8 @@ export namespace Protocol {
|
|
15844
16406
|
/**
|
15845
16407
|
* Fired when download makes progress. Last call has |done| == true.
|
15846
16408
|
* Deprecated. Use Browser.downloadProgress instead.
|
16409
|
+
* @deprecated
|
16410
|
+
* @experimental
|
15847
16411
|
*/
|
15848
16412
|
export interface DownloadProgressEvent {
|
15849
16413
|
/**
|
@@ -15859,7 +16423,7 @@ export namespace Protocol {
|
|
15859
16423
|
*/
|
15860
16424
|
receivedBytes: number;
|
15861
16425
|
/**
|
15862
|
-
* Download status.
|
16426
|
+
* Download status.
|
15863
16427
|
*/
|
15864
16428
|
state: ('inProgress' | 'completed' | 'canceled');
|
15865
16429
|
}
|
@@ -15871,6 +16435,7 @@ export namespace Protocol {
|
|
15871
16435
|
export interface JavascriptDialogClosedEvent {
|
15872
16436
|
/**
|
15873
16437
|
* Frame id.
|
16438
|
+
* @experimental
|
15874
16439
|
*/
|
15875
16440
|
frameId: FrameId;
|
15876
16441
|
/**
|
@@ -15894,6 +16459,7 @@ export namespace Protocol {
|
|
15894
16459
|
url: string;
|
15895
16460
|
/**
|
15896
16461
|
* Frame id.
|
16462
|
+
* @experimental
|
15897
16463
|
*/
|
15898
16464
|
frameId: FrameId;
|
15899
16465
|
/**
|
@@ -15938,6 +16504,7 @@ export namespace Protocol {
|
|
15938
16504
|
* not assume any ordering with the Page.frameNavigated event. This event is fired only for
|
15939
16505
|
* main-frame history navigation where the document changes (non-same-document navigations),
|
15940
16506
|
* when bfcache navigation fails.
|
16507
|
+
* @experimental
|
15941
16508
|
*/
|
15942
16509
|
export interface BackForwardCacheNotUsedEvent {
|
15943
16510
|
/**
|
@@ -15970,6 +16537,7 @@ export namespace Protocol {
|
|
15970
16537
|
|
15971
16538
|
/**
|
15972
16539
|
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
16540
|
+
* @experimental
|
15973
16541
|
*/
|
15974
16542
|
export interface NavigatedWithinDocumentEvent {
|
15975
16543
|
/**
|
@@ -15981,13 +16549,14 @@ export namespace Protocol {
|
|
15981
16549
|
*/
|
15982
16550
|
url: string;
|
15983
16551
|
/**
|
15984
|
-
* Navigation type
|
16552
|
+
* Navigation type
|
15985
16553
|
*/
|
15986
16554
|
navigationType: ('fragment' | 'historyApi' | 'other');
|
15987
16555
|
}
|
15988
16556
|
|
15989
16557
|
/**
|
15990
16558
|
* Compressed image data requested by the `startScreencast`.
|
16559
|
+
* @experimental
|
15991
16560
|
*/
|
15992
16561
|
export interface ScreencastFrameEvent {
|
15993
16562
|
/**
|
@@ -16006,6 +16575,7 @@ export namespace Protocol {
|
|
16006
16575
|
|
16007
16576
|
/**
|
16008
16577
|
* Fired when the page with currently enabled screencast was shown or hidden `.
|
16578
|
+
* @experimental
|
16009
16579
|
*/
|
16010
16580
|
export interface ScreencastVisibilityChangedEvent {
|
16011
16581
|
/**
|
@@ -16040,6 +16610,7 @@ export namespace Protocol {
|
|
16040
16610
|
/**
|
16041
16611
|
* Issued for every compilation cache generated. Is only available
|
16042
16612
|
* if Page.setGenerateCompilationCache is enabled.
|
16613
|
+
* @experimental
|
16043
16614
|
*/
|
16044
16615
|
export interface CompilationCacheProducedEvent {
|
16045
16616
|
url: string;
|
@@ -16073,7 +16644,7 @@ export namespace Protocol {
|
|
16073
16644
|
|
16074
16645
|
export interface EnableRequest {
|
16075
16646
|
/**
|
16076
|
-
* Time domain to use for collecting and reporting duration metrics.
|
16647
|
+
* Time domain to use for collecting and reporting duration metrics.
|
16077
16648
|
*/
|
16078
16649
|
timeDomain?: ('timeTicks' | 'threadTicks');
|
16079
16650
|
}
|
@@ -16085,7 +16656,7 @@ export namespace Protocol {
|
|
16085
16656
|
|
16086
16657
|
export interface SetTimeDomainRequest {
|
16087
16658
|
/**
|
16088
|
-
* Time domain
|
16659
|
+
* Time domain
|
16089
16660
|
*/
|
16090
16661
|
timeDomain: ('timeTicks' | 'threadTicks');
|
16091
16662
|
}
|
@@ -16115,6 +16686,7 @@ export namespace Protocol {
|
|
16115
16686
|
/**
|
16116
16687
|
* Reporting of performance timeline events, as specified in
|
16117
16688
|
* https://w3c.github.io/performance-timeline/#dom-performanceobserver.
|
16689
|
+
* @experimental
|
16118
16690
|
*/
|
16119
16691
|
export namespace PerformanceTimeline {
|
16120
16692
|
|
@@ -16226,6 +16798,7 @@ export namespace Protocol {
|
|
16226
16798
|
|
16227
16799
|
/**
|
16228
16800
|
* Details about the security state of the page certificate.
|
16801
|
+
* @experimental
|
16229
16802
|
*/
|
16230
16803
|
export interface CertificateSecurityState {
|
16231
16804
|
/**
|
@@ -16302,8 +16875,14 @@ export namespace Protocol {
|
|
16302
16875
|
obsoleteSslSignature: boolean;
|
16303
16876
|
}
|
16304
16877
|
|
16878
|
+
/**
|
16879
|
+
* @experimental
|
16880
|
+
*/
|
16305
16881
|
export type SafetyTipStatus = ('badReputation' | 'lookalike');
|
16306
16882
|
|
16883
|
+
/**
|
16884
|
+
* @experimental
|
16885
|
+
*/
|
16307
16886
|
export interface SafetyTipInfo {
|
16308
16887
|
/**
|
16309
16888
|
* Describes whether the page triggers any safety tips or reputation warnings. Default is unknown.
|
@@ -16317,6 +16896,7 @@ export namespace Protocol {
|
|
16317
16896
|
|
16318
16897
|
/**
|
16319
16898
|
* Security state information about the page.
|
16899
|
+
* @experimental
|
16320
16900
|
*/
|
16321
16901
|
export interface VisibleSecurityState {
|
16322
16902
|
/**
|
@@ -16373,6 +16953,7 @@ export namespace Protocol {
|
|
16373
16953
|
|
16374
16954
|
/**
|
16375
16955
|
* Information about insecure content on the page.
|
16956
|
+
* @deprecated
|
16376
16957
|
*/
|
16377
16958
|
export interface InsecureContentStatus {
|
16378
16959
|
/**
|
@@ -16441,6 +17022,7 @@ export namespace Protocol {
|
|
16441
17022
|
* handled with the `handleCertificateError` command. Note: this event does not fire if the
|
16442
17023
|
* certificate error has been allowed internally. Only one client per target should override
|
16443
17024
|
* certificate errors at the same time.
|
17025
|
+
* @deprecated
|
16444
17026
|
*/
|
16445
17027
|
export interface CertificateErrorEvent {
|
16446
17028
|
/**
|
@@ -16459,6 +17041,7 @@ export namespace Protocol {
|
|
16459
17041
|
|
16460
17042
|
/**
|
16461
17043
|
* The security state of the page changed.
|
17044
|
+
* @experimental
|
16462
17045
|
*/
|
16463
17046
|
export interface VisibleSecurityStateChangedEvent {
|
16464
17047
|
/**
|
@@ -16469,6 +17052,7 @@ export namespace Protocol {
|
|
16469
17052
|
|
16470
17053
|
/**
|
16471
17054
|
* The security state of the page changed. No longer being sent.
|
17055
|
+
* @deprecated
|
16472
17056
|
*/
|
16473
17057
|
export interface SecurityStateChangedEvent {
|
16474
17058
|
/**
|
@@ -16477,24 +17061,31 @@ export namespace Protocol {
|
|
16477
17061
|
securityState: SecurityState;
|
16478
17062
|
/**
|
16479
17063
|
* True if the page was loaded over cryptographic transport such as HTTPS.
|
17064
|
+
* @deprecated
|
16480
17065
|
*/
|
16481
17066
|
schemeIsCryptographic: boolean;
|
16482
17067
|
/**
|
16483
17068
|
* Previously a list of explanations for the security state. Now always
|
16484
17069
|
* empty.
|
17070
|
+
* @deprecated
|
16485
17071
|
*/
|
16486
17072
|
explanations: SecurityStateExplanation[];
|
16487
17073
|
/**
|
16488
17074
|
* Information about insecure content on the page.
|
17075
|
+
* @deprecated
|
16489
17076
|
*/
|
16490
17077
|
insecureContentStatus: InsecureContentStatus;
|
16491
17078
|
/**
|
16492
17079
|
* Overrides user-visible description of the state. Always omitted.
|
17080
|
+
* @deprecated
|
16493
17081
|
*/
|
16494
17082
|
summary?: string;
|
16495
17083
|
}
|
16496
17084
|
}
|
16497
17085
|
|
17086
|
+
/**
|
17087
|
+
* @experimental
|
17088
|
+
*/
|
16498
17089
|
export namespace ServiceWorker {
|
16499
17090
|
|
16500
17091
|
export type RegistrationID = string;
|
@@ -16603,6 +17194,9 @@ export namespace Protocol {
|
|
16603
17194
|
}
|
16604
17195
|
}
|
16605
17196
|
|
17197
|
+
/**
|
17198
|
+
* @experimental
|
17199
|
+
*/
|
16606
17200
|
export namespace Storage {
|
16607
17201
|
|
16608
17202
|
export type SerializedStorageKey = string;
|
@@ -16629,6 +17223,7 @@ export namespace Protocol {
|
|
16629
17223
|
/**
|
16630
17224
|
* Pair of issuer origin and number of available (signed, but not used) Trust
|
16631
17225
|
* Tokens from that issuer.
|
17226
|
+
* @experimental
|
16632
17227
|
*/
|
16633
17228
|
export interface TrustTokens {
|
16634
17229
|
issuerOrigin: string;
|
@@ -16868,19 +17463,37 @@ export namespace Protocol {
|
|
16868
17463
|
durability: StorageBucketsDurability;
|
16869
17464
|
}
|
16870
17465
|
|
17466
|
+
/**
|
17467
|
+
* @experimental
|
17468
|
+
*/
|
16871
17469
|
export type AttributionReportingSourceType = ('navigation' | 'event');
|
16872
17470
|
|
17471
|
+
/**
|
17472
|
+
* @experimental
|
17473
|
+
*/
|
16873
17474
|
export type UnsignedInt64AsBase10 = string;
|
16874
17475
|
|
17476
|
+
/**
|
17477
|
+
* @experimental
|
17478
|
+
*/
|
16875
17479
|
export type UnsignedInt128AsBase16 = string;
|
16876
17480
|
|
17481
|
+
/**
|
17482
|
+
* @experimental
|
17483
|
+
*/
|
16877
17484
|
export type SignedInt64AsBase10 = string;
|
16878
17485
|
|
17486
|
+
/**
|
17487
|
+
* @experimental
|
17488
|
+
*/
|
16879
17489
|
export interface AttributionReportingFilterDataEntry {
|
16880
17490
|
key: string;
|
16881
17491
|
values: string[];
|
16882
17492
|
}
|
16883
17493
|
|
17494
|
+
/**
|
17495
|
+
* @experimental
|
17496
|
+
*/
|
16884
17497
|
export interface AttributionReportingFilterConfig {
|
16885
17498
|
filterValues: AttributionReportingFilterDataEntry[];
|
16886
17499
|
/**
|
@@ -16889,16 +17502,25 @@ export namespace Protocol {
|
|
16889
17502
|
lookbackWindow?: integer;
|
16890
17503
|
}
|
16891
17504
|
|
17505
|
+
/**
|
17506
|
+
* @experimental
|
17507
|
+
*/
|
16892
17508
|
export interface AttributionReportingFilterPair {
|
16893
17509
|
filters: AttributionReportingFilterConfig[];
|
16894
17510
|
notFilters: AttributionReportingFilterConfig[];
|
16895
17511
|
}
|
16896
17512
|
|
17513
|
+
/**
|
17514
|
+
* @experimental
|
17515
|
+
*/
|
16897
17516
|
export interface AttributionReportingAggregationKeysEntry {
|
16898
17517
|
key: string;
|
16899
17518
|
value: UnsignedInt128AsBase16;
|
16900
17519
|
}
|
16901
17520
|
|
17521
|
+
/**
|
17522
|
+
* @experimental
|
17523
|
+
*/
|
16902
17524
|
export interface AttributionReportingEventReportWindows {
|
16903
17525
|
/**
|
16904
17526
|
* duration in seconds
|
@@ -16910,8 +17532,14 @@ export namespace Protocol {
|
|
16910
17532
|
ends: integer[];
|
16911
17533
|
}
|
16912
17534
|
|
17535
|
+
/**
|
17536
|
+
* @experimental
|
17537
|
+
*/
|
16913
17538
|
export type AttributionReportingTriggerDataMatching = ('exact' | 'modulus');
|
16914
17539
|
|
17540
|
+
/**
|
17541
|
+
* @experimental
|
17542
|
+
*/
|
16915
17543
|
export interface AttributionReportingAggregatableDebugReportingData {
|
16916
17544
|
keyPiece: UnsignedInt128AsBase16;
|
16917
17545
|
/**
|
@@ -16922,6 +17550,9 @@ export namespace Protocol {
|
|
16922
17550
|
types: string[];
|
16923
17551
|
}
|
16924
17552
|
|
17553
|
+
/**
|
17554
|
+
* @experimental
|
17555
|
+
*/
|
16925
17556
|
export interface AttributionReportingAggregatableDebugReportingConfig {
|
16926
17557
|
/**
|
16927
17558
|
* number instead of integer because not all uint32 can be represented by
|
@@ -16933,6 +17564,9 @@ export namespace Protocol {
|
|
16933
17564
|
aggregationCoordinatorOrigin?: string;
|
16934
17565
|
}
|
16935
17566
|
|
17567
|
+
/**
|
17568
|
+
* @experimental
|
17569
|
+
*/
|
16936
17570
|
export interface AttributionScopesData {
|
16937
17571
|
values: string[];
|
16938
17572
|
/**
|
@@ -16943,11 +17577,17 @@ export namespace Protocol {
|
|
16943
17577
|
maxEventStates: number;
|
16944
17578
|
}
|
16945
17579
|
|
17580
|
+
/**
|
17581
|
+
* @experimental
|
17582
|
+
*/
|
16946
17583
|
export interface AttributionReportingNamedBudgetDef {
|
16947
17584
|
name: string;
|
16948
17585
|
budget: integer;
|
16949
17586
|
}
|
16950
17587
|
|
17588
|
+
/**
|
17589
|
+
* @experimental
|
17590
|
+
*/
|
16951
17591
|
export interface AttributionReportingSourceRegistration {
|
16952
17592
|
time: Network.TimeSinceEpoch;
|
16953
17593
|
/**
|
@@ -16983,10 +17623,19 @@ export namespace Protocol {
|
|
16983
17623
|
eventLevelEpsilon: number;
|
16984
17624
|
}
|
16985
17625
|
|
17626
|
+
/**
|
17627
|
+
* @experimental
|
17628
|
+
*/
|
16986
17629
|
export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
|
16987
17630
|
|
17631
|
+
/**
|
17632
|
+
* @experimental
|
17633
|
+
*/
|
16988
17634
|
export type AttributionReportingSourceRegistrationTimeConfig = ('include' | 'exclude');
|
16989
17635
|
|
17636
|
+
/**
|
17637
|
+
* @experimental
|
17638
|
+
*/
|
16990
17639
|
export interface AttributionReportingAggregatableValueDictEntry {
|
16991
17640
|
key: string;
|
16992
17641
|
/**
|
@@ -16997,11 +17646,17 @@ export namespace Protocol {
|
|
16997
17646
|
filteringId: UnsignedInt64AsBase10;
|
16998
17647
|
}
|
16999
17648
|
|
17649
|
+
/**
|
17650
|
+
* @experimental
|
17651
|
+
*/
|
17000
17652
|
export interface AttributionReportingAggregatableValueEntry {
|
17001
17653
|
values: AttributionReportingAggregatableValueDictEntry[];
|
17002
17654
|
filters: AttributionReportingFilterPair;
|
17003
17655
|
}
|
17004
17656
|
|
17657
|
+
/**
|
17658
|
+
* @experimental
|
17659
|
+
*/
|
17005
17660
|
export interface AttributionReportingEventTriggerData {
|
17006
17661
|
data: UnsignedInt64AsBase10;
|
17007
17662
|
priority: SignedInt64AsBase10;
|
@@ -17009,22 +17664,34 @@ export namespace Protocol {
|
|
17009
17664
|
filters: AttributionReportingFilterPair;
|
17010
17665
|
}
|
17011
17666
|
|
17667
|
+
/**
|
17668
|
+
* @experimental
|
17669
|
+
*/
|
17012
17670
|
export interface AttributionReportingAggregatableTriggerData {
|
17013
17671
|
keyPiece: UnsignedInt128AsBase16;
|
17014
17672
|
sourceKeys: string[];
|
17015
17673
|
filters: AttributionReportingFilterPair;
|
17016
17674
|
}
|
17017
17675
|
|
17676
|
+
/**
|
17677
|
+
* @experimental
|
17678
|
+
*/
|
17018
17679
|
export interface AttributionReportingAggregatableDedupKey {
|
17019
17680
|
dedupKey?: UnsignedInt64AsBase10;
|
17020
17681
|
filters: AttributionReportingFilterPair;
|
17021
17682
|
}
|
17022
17683
|
|
17684
|
+
/**
|
17685
|
+
* @experimental
|
17686
|
+
*/
|
17023
17687
|
export interface AttributionReportingNamedBudgetCandidate {
|
17024
17688
|
name?: string;
|
17025
17689
|
filters: AttributionReportingFilterPair;
|
17026
17690
|
}
|
17027
17691
|
|
17692
|
+
/**
|
17693
|
+
* @experimental
|
17694
|
+
*/
|
17028
17695
|
export interface AttributionReportingTriggerRegistration {
|
17029
17696
|
filters: AttributionReportingFilterPair;
|
17030
17697
|
debugKey?: UnsignedInt64AsBase10;
|
@@ -17042,14 +17709,24 @@ export namespace Protocol {
|
|
17042
17709
|
namedBudgets: AttributionReportingNamedBudgetCandidate[];
|
17043
17710
|
}
|
17044
17711
|
|
17712
|
+
/**
|
17713
|
+
* @experimental
|
17714
|
+
*/
|
17045
17715
|
export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
|
17046
17716
|
|
17717
|
+
/**
|
17718
|
+
* @experimental
|
17719
|
+
*/
|
17047
17720
|
export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'insufficientNamedBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
|
17048
17721
|
|
17722
|
+
/**
|
17723
|
+
* @experimental
|
17724
|
+
*/
|
17049
17725
|
export type AttributionReportingReportResult = ('sent' | 'prohibited' | 'failedToAssemble' | 'expired');
|
17050
17726
|
|
17051
17727
|
/**
|
17052
17728
|
* A single Related Website Set object.
|
17729
|
+
* @experimental
|
17053
17730
|
*/
|
17054
17731
|
export interface RelatedWebsiteSet {
|
17055
17732
|
/**
|
@@ -17594,17 +18271,26 @@ export namespace Protocol {
|
|
17594
18271
|
bucketId: string;
|
17595
18272
|
}
|
17596
18273
|
|
18274
|
+
/**
|
18275
|
+
* @experimental
|
18276
|
+
*/
|
17597
18277
|
export interface AttributionReportingSourceRegisteredEvent {
|
17598
18278
|
registration: AttributionReportingSourceRegistration;
|
17599
18279
|
result: AttributionReportingSourceRegistrationResult;
|
17600
18280
|
}
|
17601
18281
|
|
18282
|
+
/**
|
18283
|
+
* @experimental
|
18284
|
+
*/
|
17602
18285
|
export interface AttributionReportingTriggerRegisteredEvent {
|
17603
18286
|
registration: AttributionReportingTriggerRegistration;
|
17604
18287
|
eventLevel: AttributionReportingEventLevelResult;
|
17605
18288
|
aggregatable: AttributionReportingAggregatableResult;
|
17606
18289
|
}
|
17607
18290
|
|
18291
|
+
/**
|
18292
|
+
* @experimental
|
18293
|
+
*/
|
17608
18294
|
export interface AttributionReportingReportSentEvent {
|
17609
18295
|
url: string;
|
17610
18296
|
body: any;
|
@@ -17617,6 +18303,9 @@ export namespace Protocol {
|
|
17617
18303
|
httpStatusCode?: integer;
|
17618
18304
|
}
|
17619
18305
|
|
18306
|
+
/**
|
18307
|
+
* @experimental
|
18308
|
+
*/
|
17620
18309
|
export interface AttributionReportingVerboseDebugReportSentEvent {
|
17621
18310
|
url: string;
|
17622
18311
|
body?: any[];
|
@@ -17628,6 +18317,7 @@ export namespace Protocol {
|
|
17628
18317
|
|
17629
18318
|
/**
|
17630
18319
|
* The SystemInfo domain defines methods and events for querying low-level system information.
|
18320
|
+
* @experimental
|
17631
18321
|
*/
|
17632
18322
|
export namespace SystemInfo {
|
17633
18323
|
|
@@ -17878,22 +18568,29 @@ export namespace Protocol {
|
|
17878
18568
|
openerId?: TargetID;
|
17879
18569
|
/**
|
17880
18570
|
* Whether the target has access to the originating window.
|
18571
|
+
* @experimental
|
17881
18572
|
*/
|
17882
18573
|
canAccessOpener: boolean;
|
17883
18574
|
/**
|
17884
18575
|
* Frame id of originating window (is only set if target has an opener).
|
18576
|
+
* @experimental
|
17885
18577
|
*/
|
17886
18578
|
openerFrameId?: Page.FrameId;
|
18579
|
+
/**
|
18580
|
+
* @experimental
|
18581
|
+
*/
|
17887
18582
|
browserContextId?: Browser.BrowserContextID;
|
17888
18583
|
/**
|
17889
18584
|
* Provides additional details for specific target types. For example, for
|
17890
18585
|
* the type of "page", this may be set to "prerender".
|
18586
|
+
* @experimental
|
17891
18587
|
*/
|
17892
18588
|
subtype?: string;
|
17893
18589
|
}
|
17894
18590
|
|
17895
18591
|
/**
|
17896
18592
|
* A filter used by target query/discovery/auto-attach operations.
|
18593
|
+
* @experimental
|
17897
18594
|
*/
|
17898
18595
|
export interface FilterEntry {
|
17899
18596
|
/**
|
@@ -17913,9 +18610,13 @@ export namespace Protocol {
|
|
17913
18610
|
* If filter is not specified, the one assumed is
|
17914
18611
|
* [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
|
17915
18612
|
* (i.e. include everything but `browser` and `tab`).
|
18613
|
+
* @experimental
|
17916
18614
|
*/
|
17917
18615
|
export type TargetFilter = FilterEntry[];
|
17918
18616
|
|
18617
|
+
/**
|
18618
|
+
* @experimental
|
18619
|
+
*/
|
17919
18620
|
export interface RemoteLocation {
|
17920
18621
|
host: string;
|
17921
18622
|
port: integer;
|
@@ -17923,6 +18624,7 @@ export namespace Protocol {
|
|
17923
18624
|
|
17924
18625
|
/**
|
17925
18626
|
* The state of the target window.
|
18627
|
+
* @experimental
|
17926
18628
|
*/
|
17927
18629
|
export type WindowState = ('normal' | 'minimized' | 'maximized' | 'fullscreen');
|
17928
18630
|
|
@@ -17961,6 +18663,7 @@ export namespace Protocol {
|
|
17961
18663
|
export interface CloseTargetResponse {
|
17962
18664
|
/**
|
17963
18665
|
* Always set to true. If an error occurs, the response indicates protocol error.
|
18666
|
+
* @deprecated
|
17964
18667
|
*/
|
17965
18668
|
success: boolean;
|
17966
18669
|
}
|
@@ -17980,19 +18683,23 @@ export namespace Protocol {
|
|
17980
18683
|
export interface CreateBrowserContextRequest {
|
17981
18684
|
/**
|
17982
18685
|
* If specified, disposes this context when debugging session disconnects.
|
18686
|
+
* @experimental
|
17983
18687
|
*/
|
17984
18688
|
disposeOnDetach?: boolean;
|
17985
18689
|
/**
|
17986
18690
|
* Proxy server, similar to the one passed to --proxy-server
|
18691
|
+
* @experimental
|
17987
18692
|
*/
|
17988
18693
|
proxyServer?: string;
|
17989
18694
|
/**
|
17990
18695
|
* Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
18696
|
+
* @experimental
|
17991
18697
|
*/
|
17992
18698
|
proxyBypassList?: string;
|
17993
18699
|
/**
|
17994
18700
|
* An optional list of origins to grant unlimited cross-origin access to.
|
17995
18701
|
* Parts of the URL other than those constituting origin are ignored.
|
18702
|
+
* @experimental
|
17996
18703
|
*/
|
17997
18704
|
originsWithUniversalNetworkAccess?: string[];
|
17998
18705
|
}
|
@@ -18018,10 +18725,12 @@ export namespace Protocol {
|
|
18018
18725
|
url: string;
|
18019
18726
|
/**
|
18020
18727
|
* Frame left origin in DIP (requires newWindow to be true or headless shell).
|
18728
|
+
* @experimental
|
18021
18729
|
*/
|
18022
18730
|
left?: integer;
|
18023
18731
|
/**
|
18024
18732
|
* Frame top origin in DIP (requires newWindow to be true or headless shell).
|
18733
|
+
* @experimental
|
18025
18734
|
*/
|
18026
18735
|
top?: integer;
|
18027
18736
|
/**
|
@@ -18039,11 +18748,13 @@ export namespace Protocol {
|
|
18039
18748
|
windowState?: WindowState;
|
18040
18749
|
/**
|
18041
18750
|
* The browser context to create the page in.
|
18751
|
+
* @experimental
|
18042
18752
|
*/
|
18043
18753
|
browserContextId?: Browser.BrowserContextID;
|
18044
18754
|
/**
|
18045
18755
|
* Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
|
18046
18756
|
* not supported on MacOS yet, false by default).
|
18757
|
+
* @experimental
|
18047
18758
|
*/
|
18048
18759
|
enableBeginFrameControl?: boolean;
|
18049
18760
|
/**
|
@@ -18057,12 +18768,14 @@ export namespace Protocol {
|
|
18057
18768
|
background?: boolean;
|
18058
18769
|
/**
|
18059
18770
|
* Whether to create the target of type "tab".
|
18771
|
+
* @experimental
|
18060
18772
|
*/
|
18061
18773
|
forTab?: boolean;
|
18062
18774
|
/**
|
18063
18775
|
* Whether to create a hidden target. The hidden target is observable via protocol, but not
|
18064
18776
|
* present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
|
18065
18777
|
* `background: false`. The life-time of the tab is limited to the life-time of the session.
|
18778
|
+
* @experimental
|
18066
18779
|
*/
|
18067
18780
|
hidden?: boolean;
|
18068
18781
|
}
|
@@ -18081,6 +18794,7 @@ export namespace Protocol {
|
|
18081
18794
|
sessionId?: SessionID;
|
18082
18795
|
/**
|
18083
18796
|
* Deprecated.
|
18797
|
+
* @deprecated
|
18084
18798
|
*/
|
18085
18799
|
targetId?: TargetID;
|
18086
18800
|
}
|
@@ -18102,6 +18816,7 @@ export namespace Protocol {
|
|
18102
18816
|
* Only targets matching filter will be reported. If filter is not specified
|
18103
18817
|
* and target discovery is currently enabled, a filter used for target discovery
|
18104
18818
|
* is used for consistency.
|
18819
|
+
* @experimental
|
18105
18820
|
*/
|
18106
18821
|
filter?: TargetFilter;
|
18107
18822
|
}
|
@@ -18121,6 +18836,7 @@ export namespace Protocol {
|
|
18121
18836
|
sessionId?: SessionID;
|
18122
18837
|
/**
|
18123
18838
|
* Deprecated.
|
18839
|
+
* @deprecated
|
18124
18840
|
*/
|
18125
18841
|
targetId?: TargetID;
|
18126
18842
|
}
|
@@ -18139,10 +18855,12 @@ export namespace Protocol {
|
|
18139
18855
|
* Enables "flat" access to the session via specifying sessionId attribute in the commands.
|
18140
18856
|
* We plan to make this the default, deprecate non-flattened mode,
|
18141
18857
|
* and eventually retire it. See crbug.com/991325.
|
18858
|
+
* @experimental
|
18142
18859
|
*/
|
18143
18860
|
flatten?: boolean;
|
18144
18861
|
/**
|
18145
18862
|
* Only targets matching filter will be attached.
|
18863
|
+
* @experimental
|
18146
18864
|
*/
|
18147
18865
|
filter?: TargetFilter;
|
18148
18866
|
}
|
@@ -18156,6 +18874,7 @@ export namespace Protocol {
|
|
18156
18874
|
waitForDebuggerOnStart: boolean;
|
18157
18875
|
/**
|
18158
18876
|
* Only targets matching filter will be attached.
|
18877
|
+
* @experimental
|
18159
18878
|
*/
|
18160
18879
|
filter?: TargetFilter;
|
18161
18880
|
}
|
@@ -18168,6 +18887,7 @@ export namespace Protocol {
|
|
18168
18887
|
/**
|
18169
18888
|
* Only targets matching filter will be attached. If `discover` is false,
|
18170
18889
|
* `filter` must be omitted or empty.
|
18890
|
+
* @experimental
|
18171
18891
|
*/
|
18172
18892
|
filter?: TargetFilter;
|
18173
18893
|
}
|
@@ -18181,6 +18901,7 @@ export namespace Protocol {
|
|
18181
18901
|
|
18182
18902
|
/**
|
18183
18903
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
18904
|
+
* @experimental
|
18184
18905
|
*/
|
18185
18906
|
export interface AttachedToTargetEvent {
|
18186
18907
|
/**
|
@@ -18194,6 +18915,7 @@ export namespace Protocol {
|
|
18194
18915
|
/**
|
18195
18916
|
* Issued when detached from target for any reason (including `detachFromTarget` command). Can be
|
18196
18917
|
* issued multiple times per target if multiple sessions have been attached to it.
|
18918
|
+
* @experimental
|
18197
18919
|
*/
|
18198
18920
|
export interface DetachedFromTargetEvent {
|
18199
18921
|
/**
|
@@ -18202,6 +18924,7 @@ export namespace Protocol {
|
|
18202
18924
|
sessionId: SessionID;
|
18203
18925
|
/**
|
18204
18926
|
* Deprecated.
|
18927
|
+
* @deprecated
|
18205
18928
|
*/
|
18206
18929
|
targetId?: TargetID;
|
18207
18930
|
}
|
@@ -18218,6 +18941,7 @@ export namespace Protocol {
|
|
18218
18941
|
message: string;
|
18219
18942
|
/**
|
18220
18943
|
* Deprecated.
|
18944
|
+
* @deprecated
|
18221
18945
|
*/
|
18222
18946
|
targetId?: TargetID;
|
18223
18947
|
}
|
@@ -18262,6 +18986,7 @@ export namespace Protocol {
|
|
18262
18986
|
|
18263
18987
|
/**
|
18264
18988
|
* The Tethering domain defines methods and events for browser port binding.
|
18989
|
+
* @experimental
|
18265
18990
|
*/
|
18266
18991
|
export namespace Tethering {
|
18267
18992
|
|
@@ -18298,6 +19023,7 @@ export namespace Protocol {
|
|
18298
19023
|
|
18299
19024
|
/**
|
18300
19025
|
* Configuration for memory dump. Used only when "memory-infra" category is enabled.
|
19026
|
+
* @experimental
|
18301
19027
|
*/
|
18302
19028
|
export interface MemoryDumpConfig {
|
18303
19029
|
[key: string]: string;
|
@@ -18312,24 +19038,29 @@ export namespace Protocol {
|
|
18312
19038
|
|
18313
19039
|
export interface TraceConfig {
|
18314
19040
|
/**
|
18315
|
-
* Controls how the trace buffer stores data. The default is `recordUntilFull`.
|
19041
|
+
* Controls how the trace buffer stores data. The default is `recordUntilFull`.
|
19042
|
+
* @experimental
|
18316
19043
|
*/
|
18317
19044
|
recordMode?: ('recordUntilFull' | 'recordContinuously' | 'recordAsMuchAsPossible' | 'echoToConsole');
|
18318
19045
|
/**
|
18319
19046
|
* Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
18320
19047
|
* of 200 MB would be used.
|
19048
|
+
* @experimental
|
18321
19049
|
*/
|
18322
19050
|
traceBufferSizeInKb?: number;
|
18323
19051
|
/**
|
18324
19052
|
* Turns on JavaScript stack sampling.
|
19053
|
+
* @experimental
|
18325
19054
|
*/
|
18326
19055
|
enableSampling?: boolean;
|
18327
19056
|
/**
|
18328
19057
|
* Turns on system tracing.
|
19058
|
+
* @experimental
|
18329
19059
|
*/
|
18330
19060
|
enableSystrace?: boolean;
|
18331
19061
|
/**
|
18332
19062
|
* Turns on argument filter.
|
19063
|
+
* @experimental
|
18333
19064
|
*/
|
18334
19065
|
enableArgumentFilter?: boolean;
|
18335
19066
|
/**
|
@@ -18342,10 +19073,12 @@ export namespace Protocol {
|
|
18342
19073
|
excludedCategories?: string[];
|
18343
19074
|
/**
|
18344
19075
|
* Configuration to synthesize the delays in tracing.
|
19076
|
+
* @experimental
|
18345
19077
|
*/
|
18346
19078
|
syntheticDelays?: string[];
|
18347
19079
|
/**
|
18348
19080
|
* Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
|
19081
|
+
* @experimental
|
18349
19082
|
*/
|
18350
19083
|
memoryDumpConfig?: MemoryDumpConfig;
|
18351
19084
|
}
|
@@ -18353,11 +19086,13 @@ export namespace Protocol {
|
|
18353
19086
|
/**
|
18354
19087
|
* Data format of a trace. Can be either the legacy JSON format or the
|
18355
19088
|
* protocol buffer format. Note that the JSON format will be deprecated soon.
|
19089
|
+
* @experimental
|
18356
19090
|
*/
|
18357
19091
|
export type StreamFormat = ('json' | 'proto');
|
18358
19092
|
|
18359
19093
|
/**
|
18360
19094
|
* Compression type to use for traces returned via streams.
|
19095
|
+
* @experimental
|
18361
19096
|
*/
|
18362
19097
|
export type StreamCompression = ('none' | 'gzip');
|
18363
19098
|
|
@@ -18365,6 +19100,7 @@ export namespace Protocol {
|
|
18365
19100
|
* Details exposed when memory request explicitly declared.
|
18366
19101
|
* Keep consistent with memory_dump_request_args.h and
|
18367
19102
|
* memory_instrumentation.mojom
|
19103
|
+
* @experimental
|
18368
19104
|
*/
|
18369
19105
|
export type MemoryDumpLevelOfDetail = ('background' | 'light' | 'detailed');
|
18370
19106
|
|
@@ -18374,6 +19110,7 @@ export namespace Protocol {
|
|
18374
19110
|
* supported on Chrome OS and uses the Perfetto system tracing service.
|
18375
19111
|
* `auto` chooses `system` when the perfettoConfig provided to Tracing.start
|
18376
19112
|
* specifies at least one non-Chrome data source; otherwise uses `chrome`.
|
19113
|
+
* @experimental
|
18377
19114
|
*/
|
18378
19115
|
export type TracingBackend = ('auto' | 'chrome' | 'system');
|
18379
19116
|
|
@@ -18421,19 +19158,24 @@ export namespace Protocol {
|
|
18421
19158
|
export interface StartRequest {
|
18422
19159
|
/**
|
18423
19160
|
* Category/tag filter
|
19161
|
+
* @deprecated
|
19162
|
+
* @experimental
|
18424
19163
|
*/
|
18425
19164
|
categories?: string;
|
18426
19165
|
/**
|
18427
19166
|
* Tracing options
|
19167
|
+
* @deprecated
|
19168
|
+
* @experimental
|
18428
19169
|
*/
|
18429
19170
|
options?: string;
|
18430
19171
|
/**
|
18431
19172
|
* If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
|
19173
|
+
* @experimental
|
18432
19174
|
*/
|
18433
19175
|
bufferUsageReportingInterval?: number;
|
18434
19176
|
/**
|
18435
19177
|
* Whether to report trace events as series of dataCollected events or to save trace to a
|
18436
|
-
* stream (defaults to `ReportEvents`).
|
19178
|
+
* stream (defaults to `ReportEvents`).
|
18437
19179
|
*/
|
18438
19180
|
transferMode?: ('ReportEvents' | 'ReturnAsStream');
|
18439
19181
|
/**
|
@@ -18444,6 +19186,7 @@ export namespace Protocol {
|
|
18444
19186
|
/**
|
18445
19187
|
* Compression format to use. This only applies when using `ReturnAsStream`
|
18446
19188
|
* transfer mode (defaults to `none`)
|
19189
|
+
* @experimental
|
18447
19190
|
*/
|
18448
19191
|
streamCompression?: StreamCompression;
|
18449
19192
|
traceConfig?: TraceConfig;
|
@@ -18451,14 +19194,19 @@ export namespace Protocol {
|
|
18451
19194
|
* Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
|
18452
19195
|
* When specified, the parameters `categories`, `options`, `traceConfig`
|
18453
19196
|
* are ignored. (Encoded as a base64 string when passed over JSON)
|
19197
|
+
* @experimental
|
18454
19198
|
*/
|
18455
19199
|
perfettoConfig?: string;
|
18456
19200
|
/**
|
18457
19201
|
* Backend type (defaults to `auto`)
|
19202
|
+
* @experimental
|
18458
19203
|
*/
|
18459
19204
|
tracingBackend?: TracingBackend;
|
18460
19205
|
}
|
18461
19206
|
|
19207
|
+
/**
|
19208
|
+
* @experimental
|
19209
|
+
*/
|
18462
19210
|
export interface BufferUsageEvent {
|
18463
19211
|
/**
|
18464
19212
|
* A number in range [0..1] that indicates the used size of event buffer as a fraction of its
|
@@ -18479,6 +19227,7 @@ export namespace Protocol {
|
|
18479
19227
|
/**
|
18480
19228
|
* Contains a bucket of collected trace events. When tracing is stopped collected events will be
|
18481
19229
|
* sent as a sequence of dataCollected events followed by tracingComplete event.
|
19230
|
+
* @experimental
|
18482
19231
|
*/
|
18483
19232
|
export interface DataCollectedEvent {
|
18484
19233
|
value: any[];
|
@@ -18562,7 +19311,7 @@ export namespace Protocol {
|
|
18562
19311
|
*/
|
18563
19312
|
export interface AuthChallenge {
|
18564
19313
|
/**
|
18565
|
-
* Source of the authentication challenge.
|
19314
|
+
* Source of the authentication challenge.
|
18566
19315
|
*/
|
18567
19316
|
source?: ('Server' | 'Proxy');
|
18568
19317
|
/**
|
@@ -18592,7 +19341,7 @@ export namespace Protocol {
|
|
18592
19341
|
/**
|
18593
19342
|
* The decision on what to do in response to the authorization challenge. Default means
|
18594
19343
|
* deferring to the default behavior of the net stack, which will likely either the Cancel
|
18595
|
-
* authentication or display a popup dialog box.
|
19344
|
+
* authentication or display a popup dialog box.
|
18596
19345
|
*/
|
18597
19346
|
response: ('Default' | 'CancelAuth' | 'ProvideCredentials');
|
18598
19347
|
/**
|
@@ -18690,6 +19439,7 @@ export namespace Protocol {
|
|
18690
19439
|
headers?: HeaderEntry[];
|
18691
19440
|
/**
|
18692
19441
|
* If set, overrides response interception behavior for this request.
|
19442
|
+
* @experimental
|
18693
19443
|
*/
|
18694
19444
|
interceptResponse?: boolean;
|
18695
19445
|
}
|
@@ -18812,6 +19562,7 @@ export namespace Protocol {
|
|
18812
19562
|
/**
|
18813
19563
|
* If the request is due to a redirect response from the server, the id of the request that
|
18814
19564
|
* has caused the redirect.
|
19565
|
+
* @experimental
|
18815
19566
|
*/
|
18816
19567
|
redirectedRequestId?: RequestId;
|
18817
19568
|
}
|
@@ -18849,6 +19600,7 @@ export namespace Protocol {
|
|
18849
19600
|
/**
|
18850
19601
|
* This domain allows inspection of Web Audio API.
|
18851
19602
|
* https://webaudio.github.io/web-audio-api/
|
19603
|
+
* @experimental
|
18852
19604
|
*/
|
18853
19605
|
export namespace WebAudio {
|
18854
19606
|
|
@@ -19095,6 +19847,7 @@ export namespace Protocol {
|
|
19095
19847
|
/**
|
19096
19848
|
* This domain allows configuring virtual authenticators to test the WebAuthn
|
19097
19849
|
* API.
|
19850
|
+
* @experimental
|
19098
19851
|
*/
|
19099
19852
|
export namespace WebAuthn {
|
19100
19853
|
|
@@ -19349,6 +20102,7 @@ export namespace Protocol {
|
|
19349
20102
|
|
19350
20103
|
/**
|
19351
20104
|
* This domain allows detailed inspection of media elements
|
20105
|
+
* @experimental
|
19352
20106
|
*/
|
19353
20107
|
export namespace Media {
|
19354
20108
|
|
@@ -19380,7 +20134,7 @@ export namespace Protocol {
|
|
19380
20134
|
* representation of a media::PipelineStatus object. Soon however we're
|
19381
20135
|
* going to be moving away from using PipelineStatus for errors and
|
19382
20136
|
* introducing a new error type which should hopefully let us integrate
|
19383
|
-
* the error log level into the PlayerError type.
|
20137
|
+
* the error log level into the PlayerError type.
|
19384
20138
|
*/
|
19385
20139
|
level: ('error' | 'warning' | 'info' | 'debug');
|
19386
20140
|
message: string;
|
@@ -19480,6 +20234,9 @@ export namespace Protocol {
|
|
19480
20234
|
}
|
19481
20235
|
}
|
19482
20236
|
|
20237
|
+
/**
|
20238
|
+
* @experimental
|
20239
|
+
*/
|
19483
20240
|
export namespace DeviceAccess {
|
19484
20241
|
|
19485
20242
|
/**
|
@@ -19522,6 +20279,9 @@ export namespace Protocol {
|
|
19522
20279
|
}
|
19523
20280
|
}
|
19524
20281
|
|
20282
|
+
/**
|
20283
|
+
* @experimental
|
20284
|
+
*/
|
19525
20285
|
export namespace Preload {
|
19526
20286
|
|
19527
20287
|
/**
|
@@ -19570,6 +20330,7 @@ export namespace Protocol {
|
|
19570
20330
|
errorType?: RuleSetErrorType;
|
19571
20331
|
/**
|
19572
20332
|
* TODO(https://crbug.com/1425354): Replace this property with structured error.
|
20333
|
+
* @deprecated
|
19573
20334
|
*/
|
19574
20335
|
errorMessage?: string;
|
19575
20336
|
}
|
@@ -19719,6 +20480,7 @@ export namespace Protocol {
|
|
19719
20480
|
|
19720
20481
|
/**
|
19721
20482
|
* This domain allows interacting with the FedCM dialog.
|
20483
|
+
* @experimental
|
19722
20484
|
*/
|
19723
20485
|
export namespace FedCm {
|
19724
20486
|
|
@@ -19815,6 +20577,7 @@ export namespace Protocol {
|
|
19815
20577
|
|
19816
20578
|
/**
|
19817
20579
|
* This domain allows interacting with the browser to control PWAs.
|
20580
|
+
* @experimental
|
19818
20581
|
*/
|
19819
20582
|
export namespace PWA {
|
19820
20583
|
|
@@ -19920,6 +20683,7 @@ export namespace Protocol {
|
|
19920
20683
|
/**
|
19921
20684
|
* This domain allows configuring virtual Bluetooth devices to test
|
19922
20685
|
* the web-bluetooth API.
|
20686
|
+
* @experimental
|
19923
20687
|
*/
|
19924
20688
|
export namespace BluetoothEmulation {
|
19925
20689
|
|