devtools-protocol 0.0.1491235 → 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 +44 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +21 -3
- package/types/protocol-mapping.d.ts +3 -3
- package/types/protocol-proxy-api.d.ts +352 -3
- package/types/protocol-tests-proxy-api.d.ts +394 -45
- package/types/protocol.d.ts +861 -92
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
|
/**
|
@@ -5184,10 +5329,15 @@ export namespace Protocol {
|
|
5184
5329
|
* true if the query contains scroll-state() queries.
|
5185
5330
|
*/
|
5186
5331
|
queriesScrollState?: boolean;
|
5332
|
+
/**
|
5333
|
+
* true if the query contains anchored() queries.
|
5334
|
+
*/
|
5335
|
+
queriesAnchored?: boolean;
|
5187
5336
|
}
|
5188
5337
|
|
5189
5338
|
/**
|
5190
5339
|
* CSS Supports at-rule descriptor.
|
5340
|
+
* @experimental
|
5191
5341
|
*/
|
5192
5342
|
export interface CSSSupports {
|
5193
5343
|
/**
|
@@ -5211,6 +5361,7 @@ export namespace Protocol {
|
|
5211
5361
|
|
5212
5362
|
/**
|
5213
5363
|
* CSS Scope at-rule descriptor.
|
5364
|
+
* @experimental
|
5214
5365
|
*/
|
5215
5366
|
export interface CSSScope {
|
5216
5367
|
/**
|
@@ -5230,6 +5381,7 @@ export namespace Protocol {
|
|
5230
5381
|
|
5231
5382
|
/**
|
5232
5383
|
* CSS Layer at-rule descriptor.
|
5384
|
+
* @experimental
|
5233
5385
|
*/
|
5234
5386
|
export interface CSSLayer {
|
5235
5387
|
/**
|
@@ -5249,6 +5401,7 @@ export namespace Protocol {
|
|
5249
5401
|
|
5250
5402
|
/**
|
5251
5403
|
* CSS Starting Style at-rule descriptor.
|
5404
|
+
* @experimental
|
5252
5405
|
*/
|
5253
5406
|
export interface CSSStartingStyle {
|
5254
5407
|
/**
|
@@ -5264,6 +5417,7 @@ export namespace Protocol {
|
|
5264
5417
|
|
5265
5418
|
/**
|
5266
5419
|
* CSS Layer data.
|
5420
|
+
* @experimental
|
5267
5421
|
*/
|
5268
5422
|
export interface CSSLayerData {
|
5269
5423
|
/**
|
@@ -5628,6 +5782,7 @@ export namespace Protocol {
|
|
5628
5782
|
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
5629
5783
|
* validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
5630
5784
|
* incorrect results if the declaration contains a var() for example.
|
5785
|
+
* @experimental
|
5631
5786
|
*/
|
5632
5787
|
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
5633
5788
|
}
|
@@ -5860,10 +6015,12 @@ export namespace Protocol {
|
|
5860
6015
|
cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
|
5861
6016
|
/**
|
5862
6017
|
* Id of the first parent element that does not have display: contents.
|
6018
|
+
* @experimental
|
5863
6019
|
*/
|
5864
6020
|
parentLayoutNodeId?: DOM.NodeId;
|
5865
6021
|
/**
|
5866
6022
|
* A list of CSS at-function rules referenced by styles of this node.
|
6023
|
+
* @experimental
|
5867
6024
|
*/
|
5868
6025
|
cssFunctionRules?: CSSFunctionRule[];
|
5869
6026
|
}
|
@@ -6048,6 +6205,7 @@ export namespace Protocol {
|
|
6048
6205
|
* NodeId for the DOM node in whose context custom property declarations for registered properties should be
|
6049
6206
|
* validated. If omitted, declarations in the new rule text can only be validated statically, which may produce
|
6050
6207
|
* incorrect results if the declaration contains a var() for example.
|
6208
|
+
* @experimental
|
6051
6209
|
*/
|
6052
6210
|
nodeForPropertySyntaxValidation?: DOM.NodeId;
|
6053
6211
|
}
|
@@ -6116,6 +6274,9 @@ export namespace Protocol {
|
|
6116
6274
|
styleSheetId: StyleSheetId;
|
6117
6275
|
}
|
6118
6276
|
|
6277
|
+
/**
|
6278
|
+
* @experimental
|
6279
|
+
*/
|
6119
6280
|
export interface ComputedStyleUpdatedEvent {
|
6120
6281
|
/**
|
6121
6282
|
* The node id that has updated computed styles.
|
@@ -6124,6 +6285,9 @@ export namespace Protocol {
|
|
6124
6285
|
}
|
6125
6286
|
}
|
6126
6287
|
|
6288
|
+
/**
|
6289
|
+
* @experimental
|
6290
|
+
*/
|
6127
6291
|
export namespace CacheStorage {
|
6128
6292
|
|
6129
6293
|
/**
|
@@ -6313,6 +6477,7 @@ export namespace Protocol {
|
|
6313
6477
|
/**
|
6314
6478
|
* A domain for interacting with Cast, Presentation API, and Remote Playback API
|
6315
6479
|
* functionalities.
|
6480
|
+
* @experimental
|
6316
6481
|
*/
|
6317
6482
|
export namespace Cast {
|
6318
6483
|
|
@@ -6546,6 +6711,7 @@ export namespace Protocol {
|
|
6546
6711
|
* Deprecated, as the HTML Imports API has been removed (crbug.com/937746).
|
6547
6712
|
* This property used to return the imported document for the HTMLImport links.
|
6548
6713
|
* The property is always undefined now.
|
6714
|
+
* @deprecated
|
6549
6715
|
*/
|
6550
6716
|
importedDocument?: Node;
|
6551
6717
|
/**
|
@@ -6558,6 +6724,9 @@ export namespace Protocol {
|
|
6558
6724
|
isSVG?: boolean;
|
6559
6725
|
compatibilityMode?: CompatibilityMode;
|
6560
6726
|
assignedSlot?: BackendNode;
|
6727
|
+
/**
|
6728
|
+
* @experimental
|
6729
|
+
*/
|
6561
6730
|
isScrollable?: boolean;
|
6562
6731
|
}
|
6563
6732
|
|
@@ -6784,7 +6953,8 @@ export namespace Protocol {
|
|
6784
6953
|
|
6785
6954
|
export interface EnableRequest {
|
6786
6955
|
/**
|
6787
|
-
* 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
|
6788
6958
|
*/
|
6789
6959
|
includeWhitespace?: ('none' | 'all');
|
6790
6960
|
}
|
@@ -6974,6 +7144,7 @@ export namespace Protocol {
|
|
6974
7144
|
objectId?: Runtime.RemoteObjectId;
|
6975
7145
|
/**
|
6976
7146
|
* Include all shadow roots. Equals to false if not specified.
|
7147
|
+
* @experimental
|
6977
7148
|
*/
|
6978
7149
|
includeShadowDOM?: boolean;
|
6979
7150
|
}
|
@@ -7150,7 +7321,7 @@ export namespace Protocol {
|
|
7150
7321
|
*/
|
7151
7322
|
nodeId: NodeId;
|
7152
7323
|
/**
|
7153
|
-
* Type of relation to get.
|
7324
|
+
* Type of relation to get.
|
7154
7325
|
*/
|
7155
7326
|
relation: ('PopoverTarget' | 'InterestTarget' | 'CommandFor');
|
7156
7327
|
}
|
@@ -7394,6 +7565,7 @@ export namespace Protocol {
|
|
7394
7565
|
physicalAxes?: PhysicalAxes;
|
7395
7566
|
logicalAxes?: LogicalAxes;
|
7396
7567
|
queriesScrollState?: boolean;
|
7568
|
+
queriesAnchored?: boolean;
|
7397
7569
|
}
|
7398
7570
|
|
7399
7571
|
export interface GetContainerForNodeResponse {
|
@@ -7551,6 +7723,7 @@ export namespace Protocol {
|
|
7551
7723
|
|
7552
7724
|
/**
|
7553
7725
|
* Called when distribution is changed.
|
7726
|
+
* @experimental
|
7554
7727
|
*/
|
7555
7728
|
export interface DistributedNodesUpdatedEvent {
|
7556
7729
|
/**
|
@@ -7565,6 +7738,7 @@ export namespace Protocol {
|
|
7565
7738
|
|
7566
7739
|
/**
|
7567
7740
|
* Fired when `Element`'s inline style is modified via a CSS property modification.
|
7741
|
+
* @experimental
|
7568
7742
|
*/
|
7569
7743
|
export interface InlineStyleInvalidatedEvent {
|
7570
7744
|
/**
|
@@ -7575,6 +7749,7 @@ export namespace Protocol {
|
|
7575
7749
|
|
7576
7750
|
/**
|
7577
7751
|
* Called when a pseudo element is added to an element.
|
7752
|
+
* @experimental
|
7578
7753
|
*/
|
7579
7754
|
export interface PseudoElementAddedEvent {
|
7580
7755
|
/**
|
@@ -7589,6 +7764,7 @@ export namespace Protocol {
|
|
7589
7764
|
|
7590
7765
|
/**
|
7591
7766
|
* Fired when a node's scrollability state changes.
|
7767
|
+
* @experimental
|
7592
7768
|
*/
|
7593
7769
|
export interface ScrollableFlagUpdatedEvent {
|
7594
7770
|
/**
|
@@ -7603,6 +7779,7 @@ export namespace Protocol {
|
|
7603
7779
|
|
7604
7780
|
/**
|
7605
7781
|
* Called when a pseudo element is removed from an element.
|
7782
|
+
* @experimental
|
7606
7783
|
*/
|
7607
7784
|
export interface PseudoElementRemovedEvent {
|
7608
7785
|
/**
|
@@ -7632,6 +7809,7 @@ export namespace Protocol {
|
|
7632
7809
|
|
7633
7810
|
/**
|
7634
7811
|
* Called when shadow root is popped from the element.
|
7812
|
+
* @experimental
|
7635
7813
|
*/
|
7636
7814
|
export interface ShadowRootPoppedEvent {
|
7637
7815
|
/**
|
@@ -7646,6 +7824,7 @@ export namespace Protocol {
|
|
7646
7824
|
|
7647
7825
|
/**
|
7648
7826
|
* Called when shadow root is pushed into the element.
|
7827
|
+
* @experimental
|
7649
7828
|
*/
|
7650
7829
|
export interface ShadowRootPushedEvent {
|
7651
7830
|
/**
|
@@ -7672,6 +7851,7 @@ export namespace Protocol {
|
|
7672
7851
|
|
7673
7852
|
/**
|
7674
7853
|
* CSP Violation type.
|
7854
|
+
* @experimental
|
7675
7855
|
*/
|
7676
7856
|
export type CSPViolationType = ('trustedtype-sink-violation' | 'trustedtype-policy-violation');
|
7677
7857
|
|
@@ -7763,6 +7943,7 @@ export namespace Protocol {
|
|
7763
7943
|
eventName: string;
|
7764
7944
|
/**
|
7765
7945
|
* EventTarget interface name.
|
7946
|
+
* @experimental
|
7766
7947
|
*/
|
7767
7948
|
targetName?: string;
|
7768
7949
|
}
|
@@ -7807,6 +7988,7 @@ export namespace Protocol {
|
|
7807
7988
|
/**
|
7808
7989
|
* EventTarget interface name to stop on. If equal to `"*"` or not provided, will stop on any
|
7809
7990
|
* EventTarget.
|
7991
|
+
* @experimental
|
7810
7992
|
*/
|
7811
7993
|
targetName?: string;
|
7812
7994
|
}
|
@@ -7830,6 +8012,7 @@ export namespace Protocol {
|
|
7830
8012
|
* EventBreakpoints permits setting JavaScript breakpoints on operations and events
|
7831
8013
|
* occurring in native code invoked from JavaScript. Once breakpoint is hit, it is
|
7832
8014
|
* reported through Debugger domain, similarly to regular breakpoints being hit.
|
8015
|
+
* @experimental
|
7833
8016
|
*/
|
7834
8017
|
export namespace EventBreakpoints {
|
7835
8018
|
|
@@ -7850,6 +8033,7 @@ export namespace Protocol {
|
|
7850
8033
|
|
7851
8034
|
/**
|
7852
8035
|
* This domain facilitates obtaining document snapshots with DOM, layout, and style information.
|
8036
|
+
* @experimental
|
7853
8037
|
*/
|
7854
8038
|
export namespace DOMSnapshot {
|
7855
8039
|
|
@@ -8271,10 +8455,12 @@ export namespace Protocol {
|
|
8271
8455
|
clientRects?: Rectangle[];
|
8272
8456
|
/**
|
8273
8457
|
* The list of background colors that are blended with colors of overlapping elements.
|
8458
|
+
* @experimental
|
8274
8459
|
*/
|
8275
8460
|
blendedBackgroundColors?: StringIndex[];
|
8276
8461
|
/**
|
8277
8462
|
* The list of computed text opacities.
|
8463
|
+
* @experimental
|
8278
8464
|
*/
|
8279
8465
|
textColorOpacities?: number[];
|
8280
8466
|
}
|
@@ -8355,12 +8541,14 @@ export namespace Protocol {
|
|
8355
8541
|
* Whether to include blended background colors in the snapshot (default: false).
|
8356
8542
|
* Blended background color is achieved by blending background colors of all elements
|
8357
8543
|
* that overlap with the current element.
|
8544
|
+
* @experimental
|
8358
8545
|
*/
|
8359
8546
|
includeBlendedBackgroundColors?: boolean;
|
8360
8547
|
/**
|
8361
8548
|
* Whether to include text color opacity in the snapshot (default: false).
|
8362
8549
|
* An element might have the opacity property set that affects the text color of the element.
|
8363
8550
|
* The final text color opacity is computed based on the opacity of all overlapping elements.
|
8551
|
+
* @experimental
|
8364
8552
|
*/
|
8365
8553
|
includeTextColorOpacities?: boolean;
|
8366
8554
|
}
|
@@ -8379,6 +8567,7 @@ export namespace Protocol {
|
|
8379
8567
|
|
8380
8568
|
/**
|
8381
8569
|
* Query and modify DOM storage.
|
8570
|
+
* @experimental
|
8382
8571
|
*/
|
8383
8572
|
export namespace DOMStorage {
|
8384
8573
|
|
@@ -8453,6 +8642,9 @@ export namespace Protocol {
|
|
8453
8642
|
}
|
8454
8643
|
}
|
8455
8644
|
|
8645
|
+
/**
|
8646
|
+
* @experimental
|
8647
|
+
*/
|
8456
8648
|
export namespace DeviceOrientation {
|
8457
8649
|
|
8458
8650
|
export interface SetDeviceOrientationOverrideRequest {
|
@@ -8476,6 +8668,9 @@ export namespace Protocol {
|
|
8476
8668
|
*/
|
8477
8669
|
export namespace Emulation {
|
8478
8670
|
|
8671
|
+
/**
|
8672
|
+
* @experimental
|
8673
|
+
*/
|
8479
8674
|
export interface SafeAreaInsets {
|
8480
8675
|
/**
|
8481
8676
|
* Overrides safe-area-inset-top.
|
@@ -8523,7 +8718,7 @@ export namespace Protocol {
|
|
8523
8718
|
*/
|
8524
8719
|
export interface ScreenOrientation {
|
8525
8720
|
/**
|
8526
|
-
* Orientation type.
|
8721
|
+
* Orientation type.
|
8527
8722
|
*/
|
8528
8723
|
type: ('portraitPrimary' | 'portraitSecondary' | 'landscapePrimary' | 'landscapeSecondary');
|
8529
8724
|
/**
|
@@ -8539,7 +8734,7 @@ export namespace Protocol {
|
|
8539
8734
|
|
8540
8735
|
export interface DisplayFeature {
|
8541
8736
|
/**
|
8542
|
-
* Orientation of a display feature in relation to screen
|
8737
|
+
* Orientation of a display feature in relation to screen
|
8543
8738
|
*/
|
8544
8739
|
orientation: ('vertical' | 'horizontal');
|
8545
8740
|
/**
|
@@ -8562,7 +8757,7 @@ export namespace Protocol {
|
|
8562
8757
|
|
8563
8758
|
export interface DevicePosture {
|
8564
8759
|
/**
|
8565
|
-
* Current posture of the device
|
8760
|
+
* Current posture of the device
|
8566
8761
|
*/
|
8567
8762
|
type: ('continuous' | 'folded');
|
8568
8763
|
}
|
@@ -8577,11 +8772,13 @@ export namespace Protocol {
|
|
8577
8772
|
* allow the next delayed task (if any) to run; pause: The virtual time base may not advance;
|
8578
8773
|
* pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending
|
8579
8774
|
* resource fetches.
|
8775
|
+
* @experimental
|
8580
8776
|
*/
|
8581
8777
|
export type VirtualTimePolicy = ('advance' | 'pause' | 'pauseIfNetworkFetchesPending');
|
8582
8778
|
|
8583
8779
|
/**
|
8584
8780
|
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
8781
|
+
* @experimental
|
8585
8782
|
*/
|
8586
8783
|
export interface UserAgentBrandVersion {
|
8587
8784
|
brand: string;
|
@@ -8591,6 +8788,7 @@ export namespace Protocol {
|
|
8591
8788
|
/**
|
8592
8789
|
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
8593
8790
|
* Missing optional values will be filled in by the target with what it would normally use.
|
8791
|
+
* @experimental
|
8594
8792
|
*/
|
8595
8793
|
export interface UserAgentMetadata {
|
8596
8794
|
/**
|
@@ -8601,6 +8799,9 @@ export namespace Protocol {
|
|
8601
8799
|
* Brands appearing in Sec-CH-UA-Full-Version-List.
|
8602
8800
|
*/
|
8603
8801
|
fullVersionList?: UserAgentBrandVersion[];
|
8802
|
+
/**
|
8803
|
+
* @deprecated
|
8804
|
+
*/
|
8604
8805
|
fullVersion?: string;
|
8605
8806
|
platform: string;
|
8606
8807
|
platformVersion: string;
|
@@ -8619,25 +8820,38 @@ export namespace Protocol {
|
|
8619
8820
|
/**
|
8620
8821
|
* Used to specify sensor types to emulate.
|
8621
8822
|
* See https://w3c.github.io/sensors/#automation for more information.
|
8823
|
+
* @experimental
|
8622
8824
|
*/
|
8623
8825
|
export type SensorType = ('absolute-orientation' | 'accelerometer' | 'ambient-light' | 'gravity' | 'gyroscope' | 'linear-acceleration' | 'magnetometer' | 'relative-orientation');
|
8624
8826
|
|
8827
|
+
/**
|
8828
|
+
* @experimental
|
8829
|
+
*/
|
8625
8830
|
export interface SensorMetadata {
|
8626
8831
|
available?: boolean;
|
8627
8832
|
minimumFrequency?: number;
|
8628
8833
|
maximumFrequency?: number;
|
8629
8834
|
}
|
8630
8835
|
|
8836
|
+
/**
|
8837
|
+
* @experimental
|
8838
|
+
*/
|
8631
8839
|
export interface SensorReadingSingle {
|
8632
8840
|
value: number;
|
8633
8841
|
}
|
8634
8842
|
|
8843
|
+
/**
|
8844
|
+
* @experimental
|
8845
|
+
*/
|
8635
8846
|
export interface SensorReadingXYZ {
|
8636
8847
|
x: number;
|
8637
8848
|
y: number;
|
8638
8849
|
z: number;
|
8639
8850
|
}
|
8640
8851
|
|
8852
|
+
/**
|
8853
|
+
* @experimental
|
8854
|
+
*/
|
8641
8855
|
export interface SensorReadingQuaternion {
|
8642
8856
|
x: number;
|
8643
8857
|
y: number;
|
@@ -8645,22 +8859,35 @@ export namespace Protocol {
|
|
8645
8859
|
w: number;
|
8646
8860
|
}
|
8647
8861
|
|
8862
|
+
/**
|
8863
|
+
* @experimental
|
8864
|
+
*/
|
8648
8865
|
export interface SensorReading {
|
8649
8866
|
single?: SensorReadingSingle;
|
8650
8867
|
xyz?: SensorReadingXYZ;
|
8651
8868
|
quaternion?: SensorReadingQuaternion;
|
8652
8869
|
}
|
8653
8870
|
|
8871
|
+
/**
|
8872
|
+
* @experimental
|
8873
|
+
*/
|
8654
8874
|
export type PressureSource = ('cpu');
|
8655
8875
|
|
8876
|
+
/**
|
8877
|
+
* @experimental
|
8878
|
+
*/
|
8656
8879
|
export type PressureState = ('nominal' | 'fair' | 'serious' | 'critical');
|
8657
8880
|
|
8881
|
+
/**
|
8882
|
+
* @experimental
|
8883
|
+
*/
|
8658
8884
|
export interface PressureMetadata {
|
8659
8885
|
available?: boolean;
|
8660
8886
|
}
|
8661
8887
|
|
8662
8888
|
/**
|
8663
8889
|
* Enum of image types that can be disabled.
|
8890
|
+
* @experimental
|
8664
8891
|
*/
|
8665
8892
|
export type DisabledImageType = ('avif' | 'webp');
|
8666
8893
|
|
@@ -8725,26 +8952,32 @@ export namespace Protocol {
|
|
8725
8952
|
mobile: boolean;
|
8726
8953
|
/**
|
8727
8954
|
* Scale to apply to resulting view image.
|
8955
|
+
* @experimental
|
8728
8956
|
*/
|
8729
8957
|
scale?: number;
|
8730
8958
|
/**
|
8731
8959
|
* Overriding screen width value in pixels (minimum 0, maximum 10000000).
|
8960
|
+
* @experimental
|
8732
8961
|
*/
|
8733
8962
|
screenWidth?: integer;
|
8734
8963
|
/**
|
8735
8964
|
* Overriding screen height value in pixels (minimum 0, maximum 10000000).
|
8965
|
+
* @experimental
|
8736
8966
|
*/
|
8737
8967
|
screenHeight?: integer;
|
8738
8968
|
/**
|
8739
8969
|
* Overriding view X position on screen in pixels (minimum 0, maximum 10000000).
|
8970
|
+
* @experimental
|
8740
8971
|
*/
|
8741
8972
|
positionX?: integer;
|
8742
8973
|
/**
|
8743
8974
|
* Overriding view Y position on screen in pixels (minimum 0, maximum 10000000).
|
8975
|
+
* @experimental
|
8744
8976
|
*/
|
8745
8977
|
positionY?: integer;
|
8746
8978
|
/**
|
8747
8979
|
* Do not set visible view size, rely upon explicit setVisibleSize call.
|
8980
|
+
* @experimental
|
8748
8981
|
*/
|
8749
8982
|
dontSetVisibleSize?: boolean;
|
8750
8983
|
/**
|
@@ -8754,18 +8987,23 @@ export namespace Protocol {
|
|
8754
8987
|
/**
|
8755
8988
|
* If set, the visible area of the page will be overridden to this viewport. This viewport
|
8756
8989
|
* change is not observed by the page, e.g. viewport-relative elements do not change positions.
|
8990
|
+
* @experimental
|
8757
8991
|
*/
|
8758
8992
|
viewport?: Page.Viewport;
|
8759
8993
|
/**
|
8760
8994
|
* If set, the display feature of a multi-segment screen. If not set, multi-segment support
|
8761
8995
|
* is turned-off.
|
8762
8996
|
* Deprecated, use Emulation.setDisplayFeaturesOverride.
|
8997
|
+
* @deprecated
|
8998
|
+
* @experimental
|
8763
8999
|
*/
|
8764
9000
|
displayFeature?: DisplayFeature;
|
8765
9001
|
/**
|
8766
9002
|
* If set, the posture of a foldable device. If not set the posture is set
|
8767
9003
|
* to continuous.
|
8768
9004
|
* Deprecated, use Emulation.setDevicePostureOverride.
|
9005
|
+
* @deprecated
|
9006
|
+
* @experimental
|
8769
9007
|
*/
|
8770
9008
|
devicePosture?: DevicePosture;
|
8771
9009
|
}
|
@@ -8803,7 +9041,7 @@ export namespace Protocol {
|
|
8803
9041
|
*/
|
8804
9042
|
enabled: boolean;
|
8805
9043
|
/**
|
8806
|
-
* Touch/gesture events configuration. Default: current platform.
|
9044
|
+
* Touch/gesture events configuration. Default: current platform.
|
8807
9045
|
*/
|
8808
9046
|
configuration?: ('mobile' | 'desktop');
|
8809
9047
|
}
|
@@ -8832,7 +9070,7 @@ export namespace Protocol {
|
|
8832
9070
|
export interface SetEmulatedVisionDeficiencyRequest {
|
8833
9071
|
/**
|
8834
9072
|
* Vision deficiency to emulate. Order: best-effort emulations come first, followed by any
|
8835
|
-
* physiologically accurate emulations for medically recognized color vision deficiencies.
|
9073
|
+
* physiologically accurate emulations for medically recognized color vision deficiencies.
|
8836
9074
|
*/
|
8837
9075
|
type: ('none' | 'blurredVision' | 'reducedContrast' | 'achromatopsia' | 'deuteranopia' | 'protanopia' | 'tritanopia');
|
8838
9076
|
}
|
@@ -9040,6 +9278,7 @@ export namespace Protocol {
|
|
9040
9278
|
platform?: string;
|
9041
9279
|
/**
|
9042
9280
|
* To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
|
9281
|
+
* @experimental
|
9043
9282
|
*/
|
9044
9283
|
userAgentMetadata?: UserAgentMetadata;
|
9045
9284
|
}
|
@@ -9062,6 +9301,7 @@ export namespace Protocol {
|
|
9062
9301
|
|
9063
9302
|
/**
|
9064
9303
|
* This domain provides experimental commands only supported in headless mode.
|
9304
|
+
* @experimental
|
9065
9305
|
*/
|
9066
9306
|
export namespace HeadlessExperimental {
|
9067
9307
|
|
@@ -9076,7 +9316,7 @@ export namespace Protocol {
|
|
9076
9316
|
*/
|
9077
9317
|
export interface ScreenshotParams {
|
9078
9318
|
/**
|
9079
|
-
* Image compression format (defaults to png).
|
9319
|
+
* Image compression format (defaults to png).
|
9080
9320
|
*/
|
9081
9321
|
format?: ('jpeg' | 'png' | 'webp');
|
9082
9322
|
/**
|
@@ -9191,6 +9431,9 @@ export namespace Protocol {
|
|
9191
9431
|
}
|
9192
9432
|
}
|
9193
9433
|
|
9434
|
+
/**
|
9435
|
+
* @experimental
|
9436
|
+
*/
|
9194
9437
|
export namespace FileSystem {
|
9195
9438
|
|
9196
9439
|
export interface File {
|
@@ -9242,6 +9485,9 @@ export namespace Protocol {
|
|
9242
9485
|
}
|
9243
9486
|
}
|
9244
9487
|
|
9488
|
+
/**
|
9489
|
+
* @experimental
|
9490
|
+
*/
|
9245
9491
|
export namespace IndexedDB {
|
9246
9492
|
|
9247
9493
|
/**
|
@@ -9319,7 +9565,7 @@ export namespace Protocol {
|
|
9319
9565
|
*/
|
9320
9566
|
export interface Key {
|
9321
9567
|
/**
|
9322
|
-
* Key type.
|
9568
|
+
* Key type.
|
9323
9569
|
*/
|
9324
9570
|
type: ('number' | 'string' | 'date' | 'array');
|
9325
9571
|
/**
|
@@ -9391,7 +9637,7 @@ export namespace Protocol {
|
|
9391
9637
|
*/
|
9392
9638
|
export interface KeyPath {
|
9393
9639
|
/**
|
9394
|
-
* Key path type.
|
9640
|
+
* Key path type.
|
9395
9641
|
*/
|
9396
9642
|
type: ('null' | 'string' | 'array');
|
9397
9643
|
/**
|
@@ -9639,6 +9885,7 @@ export namespace Protocol {
|
|
9639
9885
|
force?: number;
|
9640
9886
|
/**
|
9641
9887
|
* The normalized tangential pressure, which has a range of [-1,1] (default: 0).
|
9888
|
+
* @experimental
|
9642
9889
|
*/
|
9643
9890
|
tangentialPressure?: number;
|
9644
9891
|
/**
|
@@ -9651,6 +9898,7 @@ export namespace Protocol {
|
|
9651
9898
|
tiltY?: number;
|
9652
9899
|
/**
|
9653
9900
|
* The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
|
9901
|
+
* @experimental
|
9654
9902
|
*/
|
9655
9903
|
twist?: integer;
|
9656
9904
|
/**
|
@@ -9659,6 +9907,9 @@ export namespace Protocol {
|
|
9659
9907
|
id?: number;
|
9660
9908
|
}
|
9661
9909
|
|
9910
|
+
/**
|
9911
|
+
* @experimental
|
9912
|
+
*/
|
9662
9913
|
export type GestureSourceType = ('default' | 'touch' | 'mouse');
|
9663
9914
|
|
9664
9915
|
export type MouseButton = ('none' | 'left' | 'middle' | 'right' | 'back' | 'forward');
|
@@ -9668,6 +9919,9 @@ export namespace Protocol {
|
|
9668
9919
|
*/
|
9669
9920
|
export type TimeSinceEpoch = number;
|
9670
9921
|
|
9922
|
+
/**
|
9923
|
+
* @experimental
|
9924
|
+
*/
|
9671
9925
|
export interface DragDataItem {
|
9672
9926
|
/**
|
9673
9927
|
* Mime type of the dragged data.
|
@@ -9689,6 +9943,9 @@ export namespace Protocol {
|
|
9689
9943
|
baseURL?: string;
|
9690
9944
|
}
|
9691
9945
|
|
9946
|
+
/**
|
9947
|
+
* @experimental
|
9948
|
+
*/
|
9692
9949
|
export interface DragData {
|
9693
9950
|
items: DragDataItem[];
|
9694
9951
|
/**
|
@@ -9710,7 +9967,7 @@ export namespace Protocol {
|
|
9710
9967
|
|
9711
9968
|
export interface DispatchDragEventRequest {
|
9712
9969
|
/**
|
9713
|
-
* Type of the drag event.
|
9970
|
+
* Type of the drag event.
|
9714
9971
|
*/
|
9715
9972
|
type: ('dragEnter' | 'dragOver' | 'drop' | 'dragCancel');
|
9716
9973
|
/**
|
@@ -9739,7 +9996,7 @@ export namespace Protocol {
|
|
9739
9996
|
|
9740
9997
|
export interface DispatchKeyEventRequest {
|
9741
9998
|
/**
|
9742
|
-
* Type of the key event.
|
9999
|
+
* Type of the key event.
|
9743
10000
|
*/
|
9744
10001
|
type: ('keyDown' | 'keyUp' | 'rawKeyDown' | 'char');
|
9745
10002
|
/**
|
@@ -9803,6 +10060,7 @@ export namespace Protocol {
|
|
9803
10060
|
* Editing commands to send with the key event (e.g., 'selectAll') (default: []).
|
9804
10061
|
* These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.
|
9805
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
|
9806
10064
|
*/
|
9807
10065
|
commands?: string[];
|
9808
10066
|
}
|
@@ -9851,7 +10109,7 @@ export namespace Protocol {
|
|
9851
10109
|
|
9852
10110
|
export interface DispatchMouseEventRequest {
|
9853
10111
|
/**
|
9854
|
-
* Type of the mouse event.
|
10112
|
+
* Type of the mouse event.
|
9855
10113
|
*/
|
9856
10114
|
type: ('mousePressed' | 'mouseReleased' | 'mouseMoved' | 'mouseWheel');
|
9857
10115
|
/**
|
@@ -9887,10 +10145,12 @@ export namespace Protocol {
|
|
9887
10145
|
clickCount?: integer;
|
9888
10146
|
/**
|
9889
10147
|
* The normalized pressure, which has a range of [0,1] (default: 0).
|
10148
|
+
* @experimental
|
9890
10149
|
*/
|
9891
10150
|
force?: number;
|
9892
10151
|
/**
|
9893
10152
|
* The normalized tangential pressure, which has a range of [-1,1] (default: 0).
|
10153
|
+
* @experimental
|
9894
10154
|
*/
|
9895
10155
|
tangentialPressure?: number;
|
9896
10156
|
/**
|
@@ -9903,6 +10163,7 @@ export namespace Protocol {
|
|
9903
10163
|
tiltY?: number;
|
9904
10164
|
/**
|
9905
10165
|
* The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
|
10166
|
+
* @experimental
|
9906
10167
|
*/
|
9907
10168
|
twist?: integer;
|
9908
10169
|
/**
|
@@ -9914,7 +10175,7 @@ export namespace Protocol {
|
|
9914
10175
|
*/
|
9915
10176
|
deltaY?: number;
|
9916
10177
|
/**
|
9917
|
-
* Pointer type (default: "mouse").
|
10178
|
+
* Pointer type (default: "mouse").
|
9918
10179
|
*/
|
9919
10180
|
pointerType?: ('mouse' | 'pen');
|
9920
10181
|
}
|
@@ -9929,7 +10190,7 @@ export namespace Protocol {
|
|
9929
10190
|
export interface DispatchTouchEventRequest {
|
9930
10191
|
/**
|
9931
10192
|
* Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while
|
9932
|
-
* TouchStart and TouchMove must contains at least one.
|
10193
|
+
* TouchStart and TouchMove must contains at least one.
|
9933
10194
|
*/
|
9934
10195
|
type: ('touchStart' | 'touchEnd' | 'touchMove' | 'touchCancel');
|
9935
10196
|
/**
|
@@ -9958,7 +10219,7 @@ export namespace Protocol {
|
|
9958
10219
|
|
9959
10220
|
export interface EmulateTouchFromMouseEventRequest {
|
9960
10221
|
/**
|
9961
|
-
* Type of the mouse event.
|
10222
|
+
* Type of the mouse event.
|
9962
10223
|
*/
|
9963
10224
|
type: ('mousePressed' | 'mouseReleased' | 'mouseMoved' | 'mouseWheel');
|
9964
10225
|
/**
|
@@ -10112,12 +10373,16 @@ export namespace Protocol {
|
|
10112
10373
|
/**
|
10113
10374
|
* Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
|
10114
10375
|
* restore normal drag and drop behavior.
|
10376
|
+
* @experimental
|
10115
10377
|
*/
|
10116
10378
|
export interface DragInterceptedEvent {
|
10117
10379
|
data: DragData;
|
10118
10380
|
}
|
10119
10381
|
}
|
10120
10382
|
|
10383
|
+
/**
|
10384
|
+
* @experimental
|
10385
|
+
*/
|
10121
10386
|
export namespace Inspector {
|
10122
10387
|
|
10123
10388
|
/**
|
@@ -10131,6 +10396,9 @@ export namespace Protocol {
|
|
10131
10396
|
}
|
10132
10397
|
}
|
10133
10398
|
|
10399
|
+
/**
|
10400
|
+
* @experimental
|
10401
|
+
*/
|
10134
10402
|
export namespace LayerTree {
|
10135
10403
|
|
10136
10404
|
/**
|
@@ -10158,7 +10426,7 @@ export namespace Protocol {
|
|
10158
10426
|
*/
|
10159
10427
|
rect: DOM.Rect;
|
10160
10428
|
/**
|
10161
|
-
* Reason for rectangle to force scrolling on the main thread
|
10429
|
+
* Reason for rectangle to force scrolling on the main thread
|
10162
10430
|
*/
|
10163
10431
|
type: ('RepaintsOnScroll' | 'TouchEventHandler' | 'WheelEventHandler');
|
10164
10432
|
}
|
@@ -10454,20 +10722,17 @@ export namespace Protocol {
|
|
10454
10722
|
*/
|
10455
10723
|
export interface LogEntry {
|
10456
10724
|
/**
|
10457
|
-
* Log entry source.
|
10725
|
+
* Log entry source.
|
10458
10726
|
*/
|
10459
10727
|
source: ('xml' | 'javascript' | 'network' | 'storage' | 'appcache' | 'rendering' | 'security' | 'deprecation' | 'worker' | 'violation' | 'intervention' | 'recommendation' | 'other');
|
10460
10728
|
/**
|
10461
|
-
* Log entry severity.
|
10729
|
+
* Log entry severity.
|
10462
10730
|
*/
|
10463
10731
|
level: ('verbose' | 'info' | 'warning' | 'error');
|
10464
10732
|
/**
|
10465
10733
|
* Logged text.
|
10466
10734
|
*/
|
10467
10735
|
text: string;
|
10468
|
-
/**
|
10469
|
-
* (LogEntryCategory enum)
|
10470
|
-
*/
|
10471
10736
|
category?: ('cors');
|
10472
10737
|
/**
|
10473
10738
|
* Timestamp when this entry was added.
|
@@ -10514,7 +10779,7 @@ export namespace Protocol {
|
|
10514
10779
|
*/
|
10515
10780
|
export interface ViolationSetting {
|
10516
10781
|
/**
|
10517
|
-
* Violation type.
|
10782
|
+
* Violation type.
|
10518
10783
|
*/
|
10519
10784
|
name: ('longTask' | 'longLayout' | 'blockedEvent' | 'blockedParser' | 'discouragedAPIUse' | 'handler' | 'recurringHandler');
|
10520
10785
|
/**
|
@@ -10541,6 +10806,9 @@ export namespace Protocol {
|
|
10541
10806
|
}
|
10542
10807
|
}
|
10543
10808
|
|
10809
|
+
/**
|
10810
|
+
* @experimental
|
10811
|
+
*/
|
10544
10812
|
export namespace Memory {
|
10545
10813
|
|
10546
10814
|
/**
|
@@ -10727,6 +10995,7 @@ export namespace Protocol {
|
|
10727
10995
|
/**
|
10728
10996
|
* Represents the cookie's 'Priority' status:
|
10729
10997
|
* https://tools.ietf.org/html/draft-west-cookie-priority-00
|
10998
|
+
* @experimental
|
10730
10999
|
*/
|
10731
11000
|
export type CookiePriority = ('Low' | 'Medium' | 'High');
|
10732
11001
|
|
@@ -10734,6 +11003,7 @@ export namespace Protocol {
|
|
10734
11003
|
* Represents the source scheme of the origin that originally set the cookie.
|
10735
11004
|
* A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme.
|
10736
11005
|
* This is a temporary ability and it will be removed in the future.
|
11006
|
+
* @experimental
|
10737
11007
|
*/
|
10738
11008
|
export type CookieSourceScheme = ('Unset' | 'NonSecure' | 'Secure');
|
10739
11009
|
|
@@ -10780,26 +11050,32 @@ export namespace Protocol {
|
|
10780
11050
|
sslEnd: number;
|
10781
11051
|
/**
|
10782
11052
|
* Started running ServiceWorker.
|
11053
|
+
* @experimental
|
10783
11054
|
*/
|
10784
11055
|
workerStart: number;
|
10785
11056
|
/**
|
10786
11057
|
* Finished Starting ServiceWorker.
|
11058
|
+
* @experimental
|
10787
11059
|
*/
|
10788
11060
|
workerReady: number;
|
10789
11061
|
/**
|
10790
11062
|
* Started fetch event.
|
11063
|
+
* @experimental
|
10791
11064
|
*/
|
10792
11065
|
workerFetchStart: number;
|
10793
11066
|
/**
|
10794
11067
|
* Settled fetch event respondWith promise.
|
11068
|
+
* @experimental
|
10795
11069
|
*/
|
10796
11070
|
workerRespondWithSettled: number;
|
10797
11071
|
/**
|
10798
11072
|
* Started ServiceWorker static routing source evaluation.
|
11073
|
+
* @experimental
|
10799
11074
|
*/
|
10800
11075
|
workerRouterEvaluationStart?: number;
|
10801
11076
|
/**
|
10802
11077
|
* Started cache lookup when the source was evaluated to `cache`.
|
11078
|
+
* @experimental
|
10803
11079
|
*/
|
10804
11080
|
workerCacheLookupStart?: number;
|
10805
11081
|
/**
|
@@ -10812,14 +11088,17 @@ export namespace Protocol {
|
|
10812
11088
|
sendEnd: number;
|
10813
11089
|
/**
|
10814
11090
|
* Time the server started pushing request.
|
11091
|
+
* @experimental
|
10815
11092
|
*/
|
10816
11093
|
pushStart: number;
|
10817
11094
|
/**
|
10818
11095
|
* Time the server finished pushing request.
|
11096
|
+
* @experimental
|
10819
11097
|
*/
|
10820
11098
|
pushEnd: number;
|
10821
11099
|
/**
|
10822
11100
|
* Started receiving response headers.
|
11101
|
+
* @experimental
|
10823
11102
|
*/
|
10824
11103
|
receiveHeadersStart: number;
|
10825
11104
|
/**
|
@@ -10874,6 +11153,7 @@ export namespace Protocol {
|
|
10874
11153
|
/**
|
10875
11154
|
* HTTP POST request data.
|
10876
11155
|
* Use postDataEntries instead.
|
11156
|
+
* @deprecated
|
10877
11157
|
*/
|
10878
11158
|
postData?: string;
|
10879
11159
|
/**
|
@@ -10882,6 +11162,7 @@ export namespace Protocol {
|
|
10882
11162
|
hasPostData?: boolean;
|
10883
11163
|
/**
|
10884
11164
|
* Request body elements (post data broken into individual entries).
|
11165
|
+
* @experimental
|
10885
11166
|
*/
|
10886
11167
|
postDataEntries?: PostDataEntry[];
|
10887
11168
|
/**
|
@@ -10893,7 +11174,7 @@ export namespace Protocol {
|
|
10893
11174
|
*/
|
10894
11175
|
initialPriority: ResourcePriority;
|
10895
11176
|
/**
|
10896
|
-
* 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/
|
10897
11178
|
*/
|
10898
11179
|
referrerPolicy: ('unsafe-url' | 'no-referrer-when-downgrade' | 'no-referrer' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin');
|
10899
11180
|
/**
|
@@ -10903,11 +11184,13 @@ export namespace Protocol {
|
|
10903
11184
|
/**
|
10904
11185
|
* Set for requests when the TrustToken API is used. Contains the parameters
|
10905
11186
|
* passed by the developer (e.g. via "fetch") as understood by the backend.
|
11187
|
+
* @experimental
|
10906
11188
|
*/
|
10907
11189
|
trustTokenParams?: TrustTokenParams;
|
10908
11190
|
/**
|
10909
11191
|
* True if this resource request is considered to be the 'same site' as the
|
10910
11192
|
* request corresponding to the main frame.
|
11193
|
+
* @experimental
|
10911
11194
|
*/
|
10912
11195
|
isSameSite?: boolean;
|
10913
11196
|
}
|
@@ -11053,12 +11336,13 @@ export namespace Protocol {
|
|
11053
11336
|
* Determines what type of Trust Token operation is executed and
|
11054
11337
|
* depending on the type, some additional parameters. The values
|
11055
11338
|
* are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
|
11339
|
+
* @experimental
|
11056
11340
|
*/
|
11057
11341
|
export interface TrustTokenParams {
|
11058
11342
|
operation: TrustTokenOperationType;
|
11059
11343
|
/**
|
11060
11344
|
* Only set for "token-redemption" operation and determine whether
|
11061
|
-
* 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.
|
11062
11346
|
*/
|
11063
11347
|
refreshPolicy: ('UseCached' | 'Refresh');
|
11064
11348
|
/**
|
@@ -11068,10 +11352,14 @@ export namespace Protocol {
|
|
11068
11352
|
issuers?: string[];
|
11069
11353
|
}
|
11070
11354
|
|
11355
|
+
/**
|
11356
|
+
* @experimental
|
11357
|
+
*/
|
11071
11358
|
export type TrustTokenOperationType = ('Issuance' | 'Redemption' | 'Signing');
|
11072
11359
|
|
11073
11360
|
/**
|
11074
11361
|
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
11362
|
+
* @experimental
|
11075
11363
|
*/
|
11076
11364
|
export type AlternateProtocolUsage = ('alternativeJobWonWithoutRace' | 'alternativeJobWonRace' | 'mainJobWonRace' | 'mappingMissing' | 'broken' | 'dnsAlpnH3JobWonWithoutRace' | 'dnsAlpnH3JobWonRace' | 'unspecifiedReason');
|
11077
11365
|
|
@@ -11080,6 +11368,9 @@ export namespace Protocol {
|
|
11080
11368
|
*/
|
11081
11369
|
export type ServiceWorkerRouterSource = ('network' | 'cache' | 'fetch-event' | 'race-network-and-fetch-handler' | 'race-network-and-cache');
|
11082
11370
|
|
11371
|
+
/**
|
11372
|
+
* @experimental
|
11373
|
+
*/
|
11083
11374
|
export interface ServiceWorkerRouterInfo {
|
11084
11375
|
/**
|
11085
11376
|
* ID of the rule matched. If there is a matched rule, this field will
|
@@ -11119,6 +11410,7 @@ export namespace Protocol {
|
|
11119
11410
|
headers: Headers;
|
11120
11411
|
/**
|
11121
11412
|
* HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.
|
11413
|
+
* @deprecated
|
11122
11414
|
*/
|
11123
11415
|
headersText?: string;
|
11124
11416
|
/**
|
@@ -11135,6 +11427,7 @@ export namespace Protocol {
|
|
11135
11427
|
requestHeaders?: Headers;
|
11136
11428
|
/**
|
11137
11429
|
* HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.
|
11430
|
+
* @deprecated
|
11138
11431
|
*/
|
11139
11432
|
requestHeadersText?: string;
|
11140
11433
|
/**
|
@@ -11174,6 +11467,7 @@ export namespace Protocol {
|
|
11174
11467
|
* field is set with `matchedSourceType` field, a matching rule is found.
|
11175
11468
|
* If this field is set without `matchedSource`, no matching rule is found.
|
11176
11469
|
* Otherwise, the API is not used.
|
11470
|
+
* @experimental
|
11177
11471
|
*/
|
11178
11472
|
serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
|
11179
11473
|
/**
|
@@ -11202,6 +11496,7 @@ export namespace Protocol {
|
|
11202
11496
|
protocol?: string;
|
11203
11497
|
/**
|
11204
11498
|
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
11499
|
+
* @experimental
|
11205
11500
|
*/
|
11206
11501
|
alternateProtocolUsage?: AlternateProtocolUsage;
|
11207
11502
|
/**
|
@@ -11215,6 +11510,7 @@ export namespace Protocol {
|
|
11215
11510
|
/**
|
11216
11511
|
* Indicates whether the request was sent through IP Protection proxies. If
|
11217
11512
|
* set to true, the request used the IP Protection privacy feature.
|
11513
|
+
* @experimental
|
11218
11514
|
*/
|
11219
11515
|
isIpProtectionUsed?: boolean;
|
11220
11516
|
}
|
@@ -11315,7 +11611,7 @@ export namespace Protocol {
|
|
11315
11611
|
*/
|
11316
11612
|
export interface Initiator {
|
11317
11613
|
/**
|
11318
|
-
* Type of this initiator.
|
11614
|
+
* Type of this initiator.
|
11319
11615
|
*/
|
11320
11616
|
type: ('parser' | 'script' | 'preload' | 'SignedExchange' | 'preflight' | 'other');
|
11321
11617
|
/**
|
@@ -11346,6 +11642,7 @@ export namespace Protocol {
|
|
11346
11642
|
/**
|
11347
11643
|
* cookiePartitionKey object
|
11348
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
|
11349
11646
|
*/
|
11350
11647
|
export interface CookiePartitionKey {
|
11351
11648
|
/**
|
@@ -11405,49 +11702,60 @@ export namespace Protocol {
|
|
11405
11702
|
sameSite?: CookieSameSite;
|
11406
11703
|
/**
|
11407
11704
|
* Cookie Priority
|
11705
|
+
* @experimental
|
11408
11706
|
*/
|
11409
11707
|
priority: CookiePriority;
|
11410
11708
|
/**
|
11411
11709
|
* True if cookie is SameParty.
|
11710
|
+
* @deprecated
|
11711
|
+
* @experimental
|
11412
11712
|
*/
|
11413
11713
|
sameParty: boolean;
|
11414
11714
|
/**
|
11415
11715
|
* Cookie source scheme type.
|
11716
|
+
* @experimental
|
11416
11717
|
*/
|
11417
11718
|
sourceScheme: CookieSourceScheme;
|
11418
11719
|
/**
|
11419
11720
|
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
11420
11721
|
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
11421
11722
|
* This is a temporary ability and it will be removed in the future.
|
11723
|
+
* @experimental
|
11422
11724
|
*/
|
11423
11725
|
sourcePort: integer;
|
11424
11726
|
/**
|
11425
11727
|
* Cookie partition key.
|
11728
|
+
* @experimental
|
11426
11729
|
*/
|
11427
11730
|
partitionKey?: CookiePartitionKey;
|
11428
11731
|
/**
|
11429
11732
|
* True if cookie partition key is opaque.
|
11733
|
+
* @experimental
|
11430
11734
|
*/
|
11431
11735
|
partitionKeyOpaque?: boolean;
|
11432
11736
|
}
|
11433
11737
|
|
11434
11738
|
/**
|
11435
11739
|
* Types of reasons why a cookie may not be stored from a response.
|
11740
|
+
* @experimental
|
11436
11741
|
*/
|
11437
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');
|
11438
11743
|
|
11439
11744
|
/**
|
11440
11745
|
* Types of reasons why a cookie may not be sent with a request.
|
11746
|
+
* @experimental
|
11441
11747
|
*/
|
11442
11748
|
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
|
11443
11749
|
|
11444
11750
|
/**
|
11445
11751
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
11752
|
+
* @experimental
|
11446
11753
|
*/
|
11447
11754
|
export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TopLevelTPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'Scheme' | 'SameSiteNoneCookiesInSandbox');
|
11448
11755
|
|
11449
11756
|
/**
|
11450
11757
|
* A cookie which was not stored from a response with the corresponding reason.
|
11758
|
+
* @experimental
|
11451
11759
|
*/
|
11452
11760
|
export interface BlockedSetCookieWithReason {
|
11453
11761
|
/**
|
@@ -11470,6 +11778,7 @@ export namespace Protocol {
|
|
11470
11778
|
/**
|
11471
11779
|
* A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
|
11472
11780
|
* corresponding reason. A cookie could only have at most one exemption reason.
|
11781
|
+
* @experimental
|
11473
11782
|
*/
|
11474
11783
|
export interface ExemptedSetCookieWithReason {
|
11475
11784
|
/**
|
@@ -11489,6 +11798,7 @@ export namespace Protocol {
|
|
11489
11798
|
/**
|
11490
11799
|
* A cookie associated with the request which may or may not be sent with it.
|
11491
11800
|
* Includes the cookies itself and reasons for blocking or exemption.
|
11801
|
+
* @experimental
|
11492
11802
|
*/
|
11493
11803
|
export interface AssociatedCookie {
|
11494
11804
|
/**
|
@@ -11549,24 +11859,29 @@ export namespace Protocol {
|
|
11549
11859
|
expires?: TimeSinceEpoch;
|
11550
11860
|
/**
|
11551
11861
|
* Cookie Priority.
|
11862
|
+
* @experimental
|
11552
11863
|
*/
|
11553
11864
|
priority?: CookiePriority;
|
11554
11865
|
/**
|
11555
11866
|
* True if cookie is SameParty.
|
11867
|
+
* @experimental
|
11556
11868
|
*/
|
11557
11869
|
sameParty?: boolean;
|
11558
11870
|
/**
|
11559
11871
|
* Cookie source scheme type.
|
11872
|
+
* @experimental
|
11560
11873
|
*/
|
11561
11874
|
sourceScheme?: CookieSourceScheme;
|
11562
11875
|
/**
|
11563
11876
|
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
11564
11877
|
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
11565
11878
|
* This is a temporary ability and it will be removed in the future.
|
11879
|
+
* @experimental
|
11566
11880
|
*/
|
11567
11881
|
sourcePort?: integer;
|
11568
11882
|
/**
|
11569
11883
|
* Cookie partition key. If not set, the cookie will be set as not partitioned.
|
11884
|
+
* @experimental
|
11570
11885
|
*/
|
11571
11886
|
partitionKey?: CookiePartitionKey;
|
11572
11887
|
}
|
@@ -11578,10 +11893,11 @@ export namespace Protocol {
|
|
11578
11893
|
|
11579
11894
|
/**
|
11580
11895
|
* Authorization challenge for HTTP status code 401 or 407.
|
11896
|
+
* @experimental
|
11581
11897
|
*/
|
11582
11898
|
export interface AuthChallenge {
|
11583
11899
|
/**
|
11584
|
-
* Source of the authentication challenge.
|
11900
|
+
* Source of the authentication challenge.
|
11585
11901
|
*/
|
11586
11902
|
source?: ('Server' | 'Proxy');
|
11587
11903
|
/**
|
@@ -11606,12 +11922,13 @@ export namespace Protocol {
|
|
11606
11922
|
|
11607
11923
|
/**
|
11608
11924
|
* Response to an AuthChallenge.
|
11925
|
+
* @experimental
|
11609
11926
|
*/
|
11610
11927
|
export interface AuthChallengeResponse {
|
11611
11928
|
/**
|
11612
11929
|
* The decision on what to do in response to the authorization challenge. Default means
|
11613
11930
|
* deferring to the default behavior of the net stack, which will likely either the Cancel
|
11614
|
-
* authentication or display a popup dialog box.
|
11931
|
+
* authentication or display a popup dialog box.
|
11615
11932
|
*/
|
11616
11933
|
response: ('Default' | 'CancelAuth' | 'ProvideCredentials');
|
11617
11934
|
/**
|
@@ -11629,11 +11946,13 @@ export namespace Protocol {
|
|
11629
11946
|
/**
|
11630
11947
|
* Stages of the interception to begin intercepting. Request will intercept before the request is
|
11631
11948
|
* sent. Response will intercept after the response is received.
|
11949
|
+
* @experimental
|
11632
11950
|
*/
|
11633
11951
|
export type InterceptionStage = ('Request' | 'HeadersReceived');
|
11634
11952
|
|
11635
11953
|
/**
|
11636
11954
|
* Request pattern for interception.
|
11955
|
+
* @experimental
|
11637
11956
|
*/
|
11638
11957
|
export interface RequestPattern {
|
11639
11958
|
/**
|
@@ -11654,6 +11973,7 @@ export namespace Protocol {
|
|
11654
11973
|
/**
|
11655
11974
|
* Information about a signed exchange signature.
|
11656
11975
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
11976
|
+
* @experimental
|
11657
11977
|
*/
|
11658
11978
|
export interface SignedExchangeSignature {
|
11659
11979
|
/**
|
@@ -11697,6 +12017,7 @@ export namespace Protocol {
|
|
11697
12017
|
/**
|
11698
12018
|
* Information about a signed exchange header.
|
11699
12019
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
|
12020
|
+
* @experimental
|
11700
12021
|
*/
|
11701
12022
|
export interface SignedExchangeHeader {
|
11702
12023
|
/**
|
@@ -11723,11 +12044,13 @@ export namespace Protocol {
|
|
11723
12044
|
|
11724
12045
|
/**
|
11725
12046
|
* Field type for a signed exchange related error.
|
12047
|
+
* @experimental
|
11726
12048
|
*/
|
11727
12049
|
export type SignedExchangeErrorField = ('signatureSig' | 'signatureIntegrity' | 'signatureCertUrl' | 'signatureCertSha256' | 'signatureValidityUrl' | 'signatureTimestamps');
|
11728
12050
|
|
11729
12051
|
/**
|
11730
12052
|
* Information about a signed exchange response.
|
12053
|
+
* @experimental
|
11731
12054
|
*/
|
11732
12055
|
export interface SignedExchangeError {
|
11733
12056
|
/**
|
@@ -11746,6 +12069,7 @@ export namespace Protocol {
|
|
11746
12069
|
|
11747
12070
|
/**
|
11748
12071
|
* Information about a signed exchange response.
|
12072
|
+
* @experimental
|
11749
12073
|
*/
|
11750
12074
|
export interface SignedExchangeInfo {
|
11751
12075
|
/**
|
@@ -11773,11 +12097,18 @@ export namespace Protocol {
|
|
11773
12097
|
|
11774
12098
|
/**
|
11775
12099
|
* List of content encodings supported by the backend.
|
12100
|
+
* @experimental
|
11776
12101
|
*/
|
11777
12102
|
export type ContentEncoding = ('deflate' | 'gzip' | 'br' | 'zstd');
|
11778
12103
|
|
12104
|
+
/**
|
12105
|
+
* @experimental
|
12106
|
+
*/
|
11779
12107
|
export type DirectSocketDnsQueryType = ('ipv4' | 'ipv6');
|
11780
12108
|
|
12109
|
+
/**
|
12110
|
+
* @experimental
|
12111
|
+
*/
|
11781
12112
|
export interface DirectTCPSocketOptions {
|
11782
12113
|
/**
|
11783
12114
|
* TCP_NODELAY option
|
@@ -11798,6 +12129,9 @@ export namespace Protocol {
|
|
11798
12129
|
dnsQueryType?: DirectSocketDnsQueryType;
|
11799
12130
|
}
|
11800
12131
|
|
12132
|
+
/**
|
12133
|
+
* @experimental
|
12134
|
+
*/
|
11801
12135
|
export interface DirectUDPSocketOptions {
|
11802
12136
|
remoteAddr?: string;
|
11803
12137
|
/**
|
@@ -11820,6 +12154,9 @@ export namespace Protocol {
|
|
11820
12154
|
receiveBufferSize?: number;
|
11821
12155
|
}
|
11822
12156
|
|
12157
|
+
/**
|
12158
|
+
* @experimental
|
12159
|
+
*/
|
11823
12160
|
export interface DirectUDPMessage {
|
11824
12161
|
data: string;
|
11825
12162
|
/**
|
@@ -11833,10 +12170,19 @@ export namespace Protocol {
|
|
11833
12170
|
remotePort?: integer;
|
11834
12171
|
}
|
11835
12172
|
|
12173
|
+
/**
|
12174
|
+
* @experimental
|
12175
|
+
*/
|
11836
12176
|
export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn' | 'PermissionBlock' | 'PermissionWarn');
|
11837
12177
|
|
12178
|
+
/**
|
12179
|
+
* @experimental
|
12180
|
+
*/
|
11838
12181
|
export type IPAddressSpace = ('Loopback' | 'Local' | 'Public' | 'Unknown');
|
11839
12182
|
|
12183
|
+
/**
|
12184
|
+
* @experimental
|
12185
|
+
*/
|
11840
12186
|
export interface ConnectTiming {
|
11841
12187
|
/**
|
11842
12188
|
* Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
|
@@ -11846,14 +12192,23 @@ export namespace Protocol {
|
|
11846
12192
|
requestTime: number;
|
11847
12193
|
}
|
11848
12194
|
|
12195
|
+
/**
|
12196
|
+
* @experimental
|
12197
|
+
*/
|
11849
12198
|
export interface ClientSecurityState {
|
11850
12199
|
initiatorIsSecureContext: boolean;
|
11851
12200
|
initiatorIPAddressSpace: IPAddressSpace;
|
11852
12201
|
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
|
11853
12202
|
}
|
11854
12203
|
|
12204
|
+
/**
|
12205
|
+
* @experimental
|
12206
|
+
*/
|
11855
12207
|
export type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'RestrictProperties' | 'UnsafeNone' | 'SameOriginPlusCoep' | 'RestrictPropertiesPlusCoep' | 'NoopenerAllowPopups');
|
11856
12208
|
|
12209
|
+
/**
|
12210
|
+
* @experimental
|
12211
|
+
*/
|
11857
12212
|
export interface CrossOriginOpenerPolicyStatus {
|
11858
12213
|
value: CrossOriginOpenerPolicyValue;
|
11859
12214
|
reportOnlyValue: CrossOriginOpenerPolicyValue;
|
@@ -11861,8 +12216,14 @@ export namespace Protocol {
|
|
11861
12216
|
reportOnlyReportingEndpoint?: string;
|
11862
12217
|
}
|
11863
12218
|
|
12219
|
+
/**
|
12220
|
+
* @experimental
|
12221
|
+
*/
|
11864
12222
|
export type CrossOriginEmbedderPolicyValue = ('None' | 'Credentialless' | 'RequireCorp');
|
11865
12223
|
|
12224
|
+
/**
|
12225
|
+
* @experimental
|
12226
|
+
*/
|
11866
12227
|
export interface CrossOriginEmbedderPolicyStatus {
|
11867
12228
|
value: CrossOriginEmbedderPolicyValue;
|
11868
12229
|
reportOnlyValue: CrossOriginEmbedderPolicyValue;
|
@@ -11870,14 +12231,23 @@ export namespace Protocol {
|
|
11870
12231
|
reportOnlyReportingEndpoint?: string;
|
11871
12232
|
}
|
11872
12233
|
|
12234
|
+
/**
|
12235
|
+
* @experimental
|
12236
|
+
*/
|
11873
12237
|
export type ContentSecurityPolicySource = ('HTTP' | 'Meta');
|
11874
12238
|
|
12239
|
+
/**
|
12240
|
+
* @experimental
|
12241
|
+
*/
|
11875
12242
|
export interface ContentSecurityPolicyStatus {
|
11876
12243
|
effectiveDirectives: string;
|
11877
12244
|
isEnforced: boolean;
|
11878
12245
|
source: ContentSecurityPolicySource;
|
11879
12246
|
}
|
11880
12247
|
|
12248
|
+
/**
|
12249
|
+
* @experimental
|
12250
|
+
*/
|
11881
12251
|
export interface SecurityIsolationStatus {
|
11882
12252
|
coop?: CrossOriginOpenerPolicyStatus;
|
11883
12253
|
coep?: CrossOriginEmbedderPolicyStatus;
|
@@ -11886,13 +12256,18 @@ export namespace Protocol {
|
|
11886
12256
|
|
11887
12257
|
/**
|
11888
12258
|
* The status of a Reporting API report.
|
12259
|
+
* @experimental
|
11889
12260
|
*/
|
11890
12261
|
export type ReportStatus = ('Queued' | 'Pending' | 'MarkedForRemoval' | 'Success');
|
11891
12262
|
|
12263
|
+
/**
|
12264
|
+
* @experimental
|
12265
|
+
*/
|
11892
12266
|
export type ReportId = string;
|
11893
12267
|
|
11894
12268
|
/**
|
11895
12269
|
* An object representing a report generated by the Reporting API.
|
12270
|
+
* @experimental
|
11896
12271
|
*/
|
11897
12272
|
export interface ReportingApiReport {
|
11898
12273
|
id: ReportId;
|
@@ -11924,6 +12299,9 @@ export namespace Protocol {
|
|
11924
12299
|
status: ReportStatus;
|
11925
12300
|
}
|
11926
12301
|
|
12302
|
+
/**
|
12303
|
+
* @experimental
|
12304
|
+
*/
|
11927
12305
|
export interface ReportingApiEndpoint {
|
11928
12306
|
/**
|
11929
12307
|
* The URL of the endpoint to which reports may be delivered.
|
@@ -11937,6 +12315,7 @@ export namespace Protocol {
|
|
11937
12315
|
|
11938
12316
|
/**
|
11939
12317
|
* An object providing the result of a network resource load.
|
12318
|
+
* @experimental
|
11940
12319
|
*/
|
11941
12320
|
export interface LoadNetworkResourcePageResult {
|
11942
12321
|
success: boolean;
|
@@ -11959,6 +12338,7 @@ export namespace Protocol {
|
|
11959
12338
|
/**
|
11960
12339
|
* An options object that may be extended later to better support CORS,
|
11961
12340
|
* CORB and streaming.
|
12341
|
+
* @experimental
|
11962
12342
|
*/
|
11963
12343
|
export interface LoadNetworkResourceOptions {
|
11964
12344
|
disableCache: boolean;
|
@@ -12052,6 +12432,7 @@ export namespace Protocol {
|
|
12052
12432
|
/**
|
12053
12433
|
* If specified, deletes only cookies with the the given name and partitionKey where
|
12054
12434
|
* all partition key attributes match the cookie partition key attribute.
|
12435
|
+
* @experimental
|
12055
12436
|
*/
|
12056
12437
|
partitionKey?: CookiePartitionKey;
|
12057
12438
|
}
|
@@ -12079,14 +12460,17 @@ export namespace Protocol {
|
|
12079
12460
|
connectionType?: ConnectionType;
|
12080
12461
|
/**
|
12081
12462
|
* WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
|
12463
|
+
* @experimental
|
12082
12464
|
*/
|
12083
12465
|
packetLoss?: number;
|
12084
12466
|
/**
|
12085
12467
|
* WebRTC packet queue length (packet). 0 removes any queue length limitations.
|
12468
|
+
* @experimental
|
12086
12469
|
*/
|
12087
12470
|
packetQueueLength?: integer;
|
12088
12471
|
/**
|
12089
12472
|
* WebRTC packetReordering feature.
|
12473
|
+
* @experimental
|
12090
12474
|
*/
|
12091
12475
|
packetReordering?: boolean;
|
12092
12476
|
}
|
@@ -12094,10 +12478,12 @@ export namespace Protocol {
|
|
12094
12478
|
export interface EnableRequest {
|
12095
12479
|
/**
|
12096
12480
|
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
12481
|
+
* @experimental
|
12097
12482
|
*/
|
12098
12483
|
maxTotalBufferSize?: integer;
|
12099
12484
|
/**
|
12100
12485
|
* Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
12486
|
+
* @experimental
|
12101
12487
|
*/
|
12102
12488
|
maxResourceBufferSize?: integer;
|
12103
12489
|
/**
|
@@ -12106,6 +12492,7 @@ export namespace Protocol {
|
|
12106
12492
|
maxPostDataSize?: integer;
|
12107
12493
|
/**
|
12108
12494
|
* Whether DirectSocket chunk send/receive events should be reported.
|
12495
|
+
* @experimental
|
12109
12496
|
*/
|
12110
12497
|
reportDirectSocketTraffic?: boolean;
|
12111
12498
|
}
|
@@ -12296,24 +12683,29 @@ export namespace Protocol {
|
|
12296
12683
|
expires?: TimeSinceEpoch;
|
12297
12684
|
/**
|
12298
12685
|
* Cookie Priority type.
|
12686
|
+
* @experimental
|
12299
12687
|
*/
|
12300
12688
|
priority?: CookiePriority;
|
12301
12689
|
/**
|
12302
12690
|
* True if cookie is SameParty.
|
12691
|
+
* @experimental
|
12303
12692
|
*/
|
12304
12693
|
sameParty?: boolean;
|
12305
12694
|
/**
|
12306
12695
|
* Cookie source scheme type.
|
12696
|
+
* @experimental
|
12307
12697
|
*/
|
12308
12698
|
sourceScheme?: CookieSourceScheme;
|
12309
12699
|
/**
|
12310
12700
|
* Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
12311
12701
|
* An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
12312
12702
|
* This is a temporary ability and it will be removed in the future.
|
12703
|
+
* @experimental
|
12313
12704
|
*/
|
12314
12705
|
sourcePort?: integer;
|
12315
12706
|
/**
|
12316
12707
|
* Cookie partition key. If not set, the cookie will be set as not partitioned.
|
12708
|
+
* @experimental
|
12317
12709
|
*/
|
12318
12710
|
partitionKey?: CookiePartitionKey;
|
12319
12711
|
}
|
@@ -12321,6 +12713,7 @@ export namespace Protocol {
|
|
12321
12713
|
export interface SetCookieResponse {
|
12322
12714
|
/**
|
12323
12715
|
* Always set to true. If an error occurs, the response indicates protocol error.
|
12716
|
+
* @deprecated
|
12324
12717
|
*/
|
12325
12718
|
success: boolean;
|
12326
12719
|
}
|
@@ -12369,6 +12762,7 @@ export namespace Protocol {
|
|
12369
12762
|
platform?: string;
|
12370
12763
|
/**
|
12371
12764
|
* To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
|
12765
|
+
* @experimental
|
12372
12766
|
*/
|
12373
12767
|
userAgentMetadata?: Emulation.UserAgentMetadata;
|
12374
12768
|
}
|
@@ -12462,6 +12856,7 @@ export namespace Protocol {
|
|
12462
12856
|
encodedDataLength: integer;
|
12463
12857
|
/**
|
12464
12858
|
* Data that was received. (Encoded as a base64 string when passed over JSON)
|
12859
|
+
* @experimental
|
12465
12860
|
*/
|
12466
12861
|
data?: string;
|
12467
12862
|
}
|
@@ -12548,6 +12943,8 @@ export namespace Protocol {
|
|
12548
12943
|
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
12549
12944
|
* mocked.
|
12550
12945
|
* Deprecated, use Fetch.requestPaused instead.
|
12946
|
+
* @deprecated
|
12947
|
+
* @experimental
|
12551
12948
|
*/
|
12552
12949
|
export interface RequestInterceptedEvent {
|
12553
12950
|
/**
|
@@ -12651,6 +13048,7 @@ export namespace Protocol {
|
|
12651
13048
|
* In the case that redirectResponse is populated, this flag indicates whether
|
12652
13049
|
* requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
|
12653
13050
|
* for the request which was just redirected.
|
13051
|
+
* @experimental
|
12654
13052
|
*/
|
12655
13053
|
redirectHasExtraInfo: boolean;
|
12656
13054
|
/**
|
@@ -12673,6 +13071,7 @@ export namespace Protocol {
|
|
12673
13071
|
|
12674
13072
|
/**
|
12675
13073
|
* Fired when resource loading priority is changed
|
13074
|
+
* @experimental
|
12676
13075
|
*/
|
12677
13076
|
export interface ResourceChangedPriorityEvent {
|
12678
13077
|
/**
|
@@ -12691,6 +13090,7 @@ export namespace Protocol {
|
|
12691
13090
|
|
12692
13091
|
/**
|
12693
13092
|
* Fired when a signed exchange was received over the network
|
13093
|
+
* @experimental
|
12694
13094
|
*/
|
12695
13095
|
export interface SignedExchangeReceivedEvent {
|
12696
13096
|
/**
|
@@ -12730,6 +13130,7 @@ export namespace Protocol {
|
|
12730
13130
|
/**
|
12731
13131
|
* Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
|
12732
13132
|
* or were emitted for this request.
|
13133
|
+
* @experimental
|
12733
13134
|
*/
|
12734
13135
|
hasExtraInfo: boolean;
|
12735
13136
|
/**
|
@@ -12916,6 +13317,7 @@ export namespace Protocol {
|
|
12916
13317
|
|
12917
13318
|
/**
|
12918
13319
|
* Fired upon direct_socket.TCPSocket creation.
|
13320
|
+
* @experimental
|
12919
13321
|
*/
|
12920
13322
|
export interface DirectTCPSocketCreatedEvent {
|
12921
13323
|
identifier: RequestId;
|
@@ -12931,6 +13333,7 @@ export namespace Protocol {
|
|
12931
13333
|
|
12932
13334
|
/**
|
12933
13335
|
* Fired when direct_socket.TCPSocket connection is opened.
|
13336
|
+
* @experimental
|
12934
13337
|
*/
|
12935
13338
|
export interface DirectTCPSocketOpenedEvent {
|
12936
13339
|
identifier: RequestId;
|
@@ -12949,6 +13352,7 @@ export namespace Protocol {
|
|
12949
13352
|
|
12950
13353
|
/**
|
12951
13354
|
* Fired when direct_socket.TCPSocket is aborted.
|
13355
|
+
* @experimental
|
12952
13356
|
*/
|
12953
13357
|
export interface DirectTCPSocketAbortedEvent {
|
12954
13358
|
identifier: RequestId;
|
@@ -12958,6 +13362,7 @@ export namespace Protocol {
|
|
12958
13362
|
|
12959
13363
|
/**
|
12960
13364
|
* Fired when direct_socket.TCPSocket is closed.
|
13365
|
+
* @experimental
|
12961
13366
|
*/
|
12962
13367
|
export interface DirectTCPSocketClosedEvent {
|
12963
13368
|
identifier: RequestId;
|
@@ -12966,6 +13371,7 @@ export namespace Protocol {
|
|
12966
13371
|
|
12967
13372
|
/**
|
12968
13373
|
* Fired when data is sent to tcp direct socket stream.
|
13374
|
+
* @experimental
|
12969
13375
|
*/
|
12970
13376
|
export interface DirectTCPSocketChunkSentEvent {
|
12971
13377
|
identifier: RequestId;
|
@@ -12975,6 +13381,7 @@ export namespace Protocol {
|
|
12975
13381
|
|
12976
13382
|
/**
|
12977
13383
|
* Fired when data is received from tcp direct socket stream.
|
13384
|
+
* @experimental
|
12978
13385
|
*/
|
12979
13386
|
export interface DirectTCPSocketChunkReceivedEvent {
|
12980
13387
|
identifier: RequestId;
|
@@ -12984,6 +13391,7 @@ export namespace Protocol {
|
|
12984
13391
|
|
12985
13392
|
/**
|
12986
13393
|
* Fired upon direct_socket.UDPSocket creation.
|
13394
|
+
* @experimental
|
12987
13395
|
*/
|
12988
13396
|
export interface DirectUDPSocketCreatedEvent {
|
12989
13397
|
identifier: RequestId;
|
@@ -12994,6 +13402,7 @@ export namespace Protocol {
|
|
12994
13402
|
|
12995
13403
|
/**
|
12996
13404
|
* Fired when direct_socket.UDPSocket connection is opened.
|
13405
|
+
* @experimental
|
12997
13406
|
*/
|
12998
13407
|
export interface DirectUDPSocketOpenedEvent {
|
12999
13408
|
identifier: RequestId;
|
@@ -13012,6 +13421,7 @@ export namespace Protocol {
|
|
13012
13421
|
|
13013
13422
|
/**
|
13014
13423
|
* Fired when direct_socket.UDPSocket is aborted.
|
13424
|
+
* @experimental
|
13015
13425
|
*/
|
13016
13426
|
export interface DirectUDPSocketAbortedEvent {
|
13017
13427
|
identifier: RequestId;
|
@@ -13021,6 +13431,7 @@ export namespace Protocol {
|
|
13021
13431
|
|
13022
13432
|
/**
|
13023
13433
|
* Fired when direct_socket.UDPSocket is closed.
|
13434
|
+
* @experimental
|
13024
13435
|
*/
|
13025
13436
|
export interface DirectUDPSocketClosedEvent {
|
13026
13437
|
identifier: RequestId;
|
@@ -13029,6 +13440,7 @@ export namespace Protocol {
|
|
13029
13440
|
|
13030
13441
|
/**
|
13031
13442
|
* Fired when message is sent to udp direct socket stream.
|
13443
|
+
* @experimental
|
13032
13444
|
*/
|
13033
13445
|
export interface DirectUDPSocketChunkSentEvent {
|
13034
13446
|
identifier: RequestId;
|
@@ -13038,6 +13450,7 @@ export namespace Protocol {
|
|
13038
13450
|
|
13039
13451
|
/**
|
13040
13452
|
* Fired when message is received from udp direct socket stream.
|
13453
|
+
* @experimental
|
13041
13454
|
*/
|
13042
13455
|
export interface DirectUDPSocketChunkReceivedEvent {
|
13043
13456
|
identifier: RequestId;
|
@@ -13050,6 +13463,7 @@ export namespace Protocol {
|
|
13050
13463
|
* network stack. Not every requestWillBeSent event will have an additional
|
13051
13464
|
* requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
|
13052
13465
|
* or requestWillBeSentExtraInfo will be fired first for the same request.
|
13466
|
+
* @experimental
|
13053
13467
|
*/
|
13054
13468
|
export interface RequestWillBeSentExtraInfoEvent {
|
13055
13469
|
/**
|
@@ -13067,6 +13481,7 @@ export namespace Protocol {
|
|
13067
13481
|
headers: Headers;
|
13068
13482
|
/**
|
13069
13483
|
* Connection timing information for the request.
|
13484
|
+
* @experimental
|
13070
13485
|
*/
|
13071
13486
|
connectTiming: ConnectTiming;
|
13072
13487
|
/**
|
@@ -13083,6 +13498,7 @@ export namespace Protocol {
|
|
13083
13498
|
* Fired when additional information about a responseReceived event is available from the network
|
13084
13499
|
* stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
|
13085
13500
|
* it, and responseReceivedExtraInfo may be fired before or after responseReceived.
|
13501
|
+
* @experimental
|
13086
13502
|
*/
|
13087
13503
|
export interface ResponseReceivedExtraInfoEvent {
|
13088
13504
|
/**
|
@@ -13121,6 +13537,7 @@ export namespace Protocol {
|
|
13121
13537
|
/**
|
13122
13538
|
* The cookie partition key that will be used to store partitioned cookies set in this response.
|
13123
13539
|
* Only sent when partitioned cookies are enabled.
|
13540
|
+
* @experimental
|
13124
13541
|
*/
|
13125
13542
|
cookiePartitionKey?: CookiePartitionKey;
|
13126
13543
|
/**
|
@@ -13138,6 +13555,7 @@ export namespace Protocol {
|
|
13138
13555
|
* Fired when 103 Early Hints headers is received in addition to the common response.
|
13139
13556
|
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
13140
13557
|
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
13558
|
+
* @experimental
|
13141
13559
|
*/
|
13142
13560
|
export interface ResponseReceivedEarlyHintsEvent {
|
13143
13561
|
/**
|
@@ -13174,13 +13592,14 @@ export namespace Protocol {
|
|
13174
13592
|
* the type of the operation and whether the operation succeeded or
|
13175
13593
|
* failed, the event is fired before the corresponding request was sent
|
13176
13594
|
* or after the response was received.
|
13595
|
+
* @experimental
|
13177
13596
|
*/
|
13178
13597
|
export interface TrustTokenOperationDoneEvent {
|
13179
13598
|
/**
|
13180
13599
|
* Detailed success or error status of the operation.
|
13181
13600
|
* 'AlreadyExists' also signifies a successful operation, as the result
|
13182
13601
|
* of the operation already exists und thus, the operation was abort
|
13183
|
-
* preemptively (e.g. a cache hit).
|
13602
|
+
* preemptively (e.g. a cache hit).
|
13184
13603
|
*/
|
13185
13604
|
status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally' | 'SiteIssuerLimit');
|
13186
13605
|
type: TrustTokenOperationType;
|
@@ -13202,6 +13621,7 @@ export namespace Protocol {
|
|
13202
13621
|
/**
|
13203
13622
|
* Fired once when parsing the .wbn file has succeeded.
|
13204
13623
|
* The event contains the information about the web bundle contents.
|
13624
|
+
* @experimental
|
13205
13625
|
*/
|
13206
13626
|
export interface SubresourceWebBundleMetadataReceivedEvent {
|
13207
13627
|
/**
|
@@ -13216,6 +13636,7 @@ export namespace Protocol {
|
|
13216
13636
|
|
13217
13637
|
/**
|
13218
13638
|
* Fired once when parsing the .wbn file has failed.
|
13639
|
+
* @experimental
|
13219
13640
|
*/
|
13220
13641
|
export interface SubresourceWebBundleMetadataErrorEvent {
|
13221
13642
|
/**
|
@@ -13231,6 +13652,7 @@ export namespace Protocol {
|
|
13231
13652
|
/**
|
13232
13653
|
* Fired when handling requests for resources within a .wbn file.
|
13233
13654
|
* Note: this will only be fired for resources that are requested by the webpage.
|
13655
|
+
* @experimental
|
13234
13656
|
*/
|
13235
13657
|
export interface SubresourceWebBundleInnerResponseParsedEvent {
|
13236
13658
|
/**
|
@@ -13251,6 +13673,7 @@ export namespace Protocol {
|
|
13251
13673
|
|
13252
13674
|
/**
|
13253
13675
|
* Fired when request for resources within a .wbn file failed.
|
13676
|
+
* @experimental
|
13254
13677
|
*/
|
13255
13678
|
export interface SubresourceWebBundleInnerResponseErrorEvent {
|
13256
13679
|
/**
|
@@ -13276,15 +13699,22 @@ export namespace Protocol {
|
|
13276
13699
|
/**
|
13277
13700
|
* Is sent whenever a new report is added.
|
13278
13701
|
* And after 'enableReportingApi' for all existing reports.
|
13702
|
+
* @experimental
|
13279
13703
|
*/
|
13280
13704
|
export interface ReportingApiReportAddedEvent {
|
13281
13705
|
report: ReportingApiReport;
|
13282
13706
|
}
|
13283
13707
|
|
13708
|
+
/**
|
13709
|
+
* @experimental
|
13710
|
+
*/
|
13284
13711
|
export interface ReportingApiReportUpdatedEvent {
|
13285
13712
|
report: ReportingApiReport;
|
13286
13713
|
}
|
13287
13714
|
|
13715
|
+
/**
|
13716
|
+
* @experimental
|
13717
|
+
*/
|
13288
13718
|
export interface ReportingApiEndpointsChangedForOriginEvent {
|
13289
13719
|
/**
|
13290
13720
|
* Origin of the document(s) which configured the endpoints.
|
@@ -13296,6 +13726,7 @@ export namespace Protocol {
|
|
13296
13726
|
|
13297
13727
|
/**
|
13298
13728
|
* This domain provides various functionality related to drawing atop the inspected page.
|
13729
|
+
* @experimental
|
13299
13730
|
*/
|
13300
13731
|
export namespace Overlay {
|
13301
13732
|
|
@@ -13347,6 +13778,7 @@ export namespace Protocol {
|
|
13347
13778
|
gridBorderColor?: DOM.RGBA;
|
13348
13779
|
/**
|
13349
13780
|
* The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead.
|
13781
|
+
* @deprecated
|
13350
13782
|
*/
|
13351
13783
|
cellBorderColor?: DOM.RGBA;
|
13352
13784
|
/**
|
@@ -13363,6 +13795,7 @@ export namespace Protocol {
|
|
13363
13795
|
gridBorderDash?: boolean;
|
13364
13796
|
/**
|
13365
13797
|
* Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead.
|
13798
|
+
* @deprecated
|
13366
13799
|
*/
|
13367
13800
|
cellBorderDash?: boolean;
|
13368
13801
|
/**
|
@@ -13469,7 +13902,7 @@ export namespace Protocol {
|
|
13469
13902
|
*/
|
13470
13903
|
color?: DOM.RGBA;
|
13471
13904
|
/**
|
13472
|
-
* The line pattern (default: solid)
|
13905
|
+
* The line pattern (default: solid)
|
13473
13906
|
*/
|
13474
13907
|
pattern?: ('dashed' | 'dotted');
|
13475
13908
|
}
|
@@ -14041,13 +14474,18 @@ export namespace Protocol {
|
|
14041
14474
|
|
14042
14475
|
/**
|
14043
14476
|
* Indicates whether a frame has been identified as an ad.
|
14477
|
+
* @experimental
|
14044
14478
|
*/
|
14045
14479
|
export type AdFrameType = ('none' | 'child' | 'root');
|
14046
14480
|
|
14481
|
+
/**
|
14482
|
+
* @experimental
|
14483
|
+
*/
|
14047
14484
|
export type AdFrameExplanation = ('ParentIsAd' | 'CreatedByAdScript' | 'MatchedBlockingRule');
|
14048
14485
|
|
14049
14486
|
/**
|
14050
14487
|
* Indicates whether a frame has been identified as an ad and why.
|
14488
|
+
* @experimental
|
14051
14489
|
*/
|
14052
14490
|
export interface AdFrameStatus {
|
14053
14491
|
adFrameType: AdFrameType;
|
@@ -14057,6 +14495,7 @@ export namespace Protocol {
|
|
14057
14495
|
/**
|
14058
14496
|
* Identifies the script which caused a script or frame to be labelled as an
|
14059
14497
|
* ad.
|
14498
|
+
* @experimental
|
14060
14499
|
*/
|
14061
14500
|
export interface AdScriptId {
|
14062
14501
|
/**
|
@@ -14074,6 +14513,7 @@ export namespace Protocol {
|
|
14074
14513
|
* Encapsulates the script ancestry and the root script filterlist rule that
|
14075
14514
|
* caused the frame to be labelled as an ad. Only created when `ancestryChain`
|
14076
14515
|
* is not empty.
|
14516
|
+
* @experimental
|
14077
14517
|
*/
|
14078
14518
|
export interface AdScriptAncestry {
|
14079
14519
|
/**
|
@@ -14093,32 +14533,45 @@ export namespace Protocol {
|
|
14093
14533
|
|
14094
14534
|
/**
|
14095
14535
|
* Indicates whether the frame is a secure context and why it is the case.
|
14536
|
+
* @experimental
|
14096
14537
|
*/
|
14097
14538
|
export type SecureContextType = ('Secure' | 'SecureLocalhost' | 'InsecureScheme' | 'InsecureAncestor');
|
14098
14539
|
|
14099
14540
|
/**
|
14100
14541
|
* Indicates whether the frame is cross-origin isolated and why it is the case.
|
14542
|
+
* @experimental
|
14101
14543
|
*/
|
14102
14544
|
export type CrossOriginIsolatedContextType = ('Isolated' | 'NotIsolated' | 'NotIsolatedFeatureDisabled');
|
14103
14545
|
|
14546
|
+
/**
|
14547
|
+
* @experimental
|
14548
|
+
*/
|
14104
14549
|
export type GatedAPIFeatures = ('SharedArrayBuffers' | 'SharedArrayBuffersTransferAllowed' | 'PerformanceMeasureMemory' | 'PerformanceProfile');
|
14105
14550
|
|
14106
14551
|
/**
|
14107
14552
|
* All Permissions Policy features. This enum should match the one defined
|
14108
14553
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
14554
|
+
* @experimental
|
14109
14555
|
*/
|
14110
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');
|
14111
14557
|
|
14112
14558
|
/**
|
14113
14559
|
* Reason for a permissions policy feature to be disabled.
|
14560
|
+
* @experimental
|
14114
14561
|
*/
|
14115
14562
|
export type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree' | 'InIsolatedApp');
|
14116
14563
|
|
14564
|
+
/**
|
14565
|
+
* @experimental
|
14566
|
+
*/
|
14117
14567
|
export interface PermissionsPolicyBlockLocator {
|
14118
14568
|
frameId: FrameId;
|
14119
14569
|
blockReason: PermissionsPolicyBlockReason;
|
14120
14570
|
}
|
14121
14571
|
|
14572
|
+
/**
|
14573
|
+
* @experimental
|
14574
|
+
*/
|
14122
14575
|
export interface PermissionsPolicyFeatureState {
|
14123
14576
|
feature: PermissionsPolicyFeature;
|
14124
14577
|
allowed: boolean;
|
@@ -14128,16 +14581,24 @@ export namespace Protocol {
|
|
14128
14581
|
/**
|
14129
14582
|
* Origin Trial(https://www.chromium.org/blink/origin-trials) support.
|
14130
14583
|
* Status for an Origin Trial token.
|
14584
|
+
* @experimental
|
14131
14585
|
*/
|
14132
14586
|
export type OriginTrialTokenStatus = ('Success' | 'NotSupported' | 'Insecure' | 'Expired' | 'WrongOrigin' | 'InvalidSignature' | 'Malformed' | 'WrongVersion' | 'FeatureDisabled' | 'TokenDisabled' | 'FeatureDisabledForUser' | 'UnknownTrial');
|
14133
14587
|
|
14134
14588
|
/**
|
14135
14589
|
* Status for an Origin Trial.
|
14590
|
+
* @experimental
|
14136
14591
|
*/
|
14137
14592
|
export type OriginTrialStatus = ('Enabled' | 'ValidTokenNotProvided' | 'OSNotSupported' | 'TrialNotAllowed');
|
14138
14593
|
|
14594
|
+
/**
|
14595
|
+
* @experimental
|
14596
|
+
*/
|
14139
14597
|
export type OriginTrialUsageRestriction = ('None' | 'Subset');
|
14140
14598
|
|
14599
|
+
/**
|
14600
|
+
* @experimental
|
14601
|
+
*/
|
14141
14602
|
export interface OriginTrialToken {
|
14142
14603
|
origin: string;
|
14143
14604
|
matchSubDomains: boolean;
|
@@ -14147,6 +14608,9 @@ export namespace Protocol {
|
|
14147
14608
|
usageRestriction: OriginTrialUsageRestriction;
|
14148
14609
|
}
|
14149
14610
|
|
14611
|
+
/**
|
14612
|
+
* @experimental
|
14613
|
+
*/
|
14150
14614
|
export interface OriginTrialTokenWithStatus {
|
14151
14615
|
rawTokenText: string;
|
14152
14616
|
/**
|
@@ -14157,6 +14621,9 @@ export namespace Protocol {
|
|
14157
14621
|
status: OriginTrialTokenStatus;
|
14158
14622
|
}
|
14159
14623
|
|
14624
|
+
/**
|
14625
|
+
* @experimental
|
14626
|
+
*/
|
14160
14627
|
export interface OriginTrial {
|
14161
14628
|
trialName: string;
|
14162
14629
|
status: OriginTrialStatus;
|
@@ -14165,6 +14632,7 @@ export namespace Protocol {
|
|
14165
14632
|
|
14166
14633
|
/**
|
14167
14634
|
* Additional information about the frame document's security origin.
|
14635
|
+
* @experimental
|
14168
14636
|
*/
|
14169
14637
|
export interface SecurityOriginDetails {
|
14170
14638
|
/**
|
@@ -14201,6 +14669,7 @@ export namespace Protocol {
|
|
14201
14669
|
url: string;
|
14202
14670
|
/**
|
14203
14671
|
* Frame document's URL fragment including the '#'.
|
14672
|
+
* @experimental
|
14204
14673
|
*/
|
14205
14674
|
urlFragment?: string;
|
14206
14675
|
/**
|
@@ -14208,6 +14677,7 @@ export namespace Protocol {
|
|
14208
14677
|
* Extracted from the Frame's url.
|
14209
14678
|
* Example URLs: http://www.google.com/file.html -> "google.com"
|
14210
14679
|
* http://a.b.co.uk/file.html -> "b.co.uk"
|
14680
|
+
* @experimental
|
14211
14681
|
*/
|
14212
14682
|
domainAndRegistry: string;
|
14213
14683
|
/**
|
@@ -14216,6 +14686,7 @@ export namespace Protocol {
|
|
14216
14686
|
securityOrigin: string;
|
14217
14687
|
/**
|
14218
14688
|
* Additional details about the frame document's security origin.
|
14689
|
+
* @experimental
|
14219
14690
|
*/
|
14220
14691
|
securityOriginDetails?: SecurityOriginDetails;
|
14221
14692
|
/**
|
@@ -14224,28 +14695,34 @@ export namespace Protocol {
|
|
14224
14695
|
mimeType: string;
|
14225
14696
|
/**
|
14226
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
|
14227
14699
|
*/
|
14228
14700
|
unreachableUrl?: string;
|
14229
14701
|
/**
|
14230
14702
|
* Indicates whether this frame was tagged as an ad and why.
|
14703
|
+
* @experimental
|
14231
14704
|
*/
|
14232
14705
|
adFrameStatus?: AdFrameStatus;
|
14233
14706
|
/**
|
14234
14707
|
* Indicates whether the main document is a secure context and explains why that is the case.
|
14708
|
+
* @experimental
|
14235
14709
|
*/
|
14236
14710
|
secureContextType: SecureContextType;
|
14237
14711
|
/**
|
14238
14712
|
* Indicates whether this is a cross origin isolated context.
|
14713
|
+
* @experimental
|
14239
14714
|
*/
|
14240
14715
|
crossOriginIsolatedContextType: CrossOriginIsolatedContextType;
|
14241
14716
|
/**
|
14242
14717
|
* Indicated which gated APIs / features are available.
|
14718
|
+
* @experimental
|
14243
14719
|
*/
|
14244
14720
|
gatedAPIFeatures: GatedAPIFeatures[];
|
14245
14721
|
}
|
14246
14722
|
|
14247
14723
|
/**
|
14248
14724
|
* Information about the Resource on the page.
|
14725
|
+
* @experimental
|
14249
14726
|
*/
|
14250
14727
|
export interface FrameResource {
|
14251
14728
|
/**
|
@@ -14280,6 +14757,7 @@ export namespace Protocol {
|
|
14280
14757
|
|
14281
14758
|
/**
|
14282
14759
|
* Information about the Frame hierarchy along with their cached resources.
|
14760
|
+
* @experimental
|
14283
14761
|
*/
|
14284
14762
|
export interface FrameResourceTree {
|
14285
14763
|
/**
|
@@ -14348,6 +14826,7 @@ export namespace Protocol {
|
|
14348
14826
|
|
14349
14827
|
/**
|
14350
14828
|
* Screencast frame metadata.
|
14829
|
+
* @experimental
|
14351
14830
|
*/
|
14352
14831
|
export interface ScreencastFrameMetadata {
|
14353
14832
|
/**
|
@@ -14409,6 +14888,7 @@ export namespace Protocol {
|
|
14409
14888
|
|
14410
14889
|
/**
|
14411
14890
|
* Parsed app manifest properties.
|
14891
|
+
* @experimental
|
14412
14892
|
*/
|
14413
14893
|
export interface AppManifestParsedProperties {
|
14414
14894
|
/**
|
@@ -14505,6 +14985,7 @@ export namespace Protocol {
|
|
14505
14985
|
|
14506
14986
|
/**
|
14507
14987
|
* Generic font families collection.
|
14988
|
+
* @experimental
|
14508
14989
|
*/
|
14509
14990
|
export interface FontFamilies {
|
14510
14991
|
/**
|
@@ -14539,6 +15020,7 @@ export namespace Protocol {
|
|
14539
15020
|
|
14540
15021
|
/**
|
14541
15022
|
* Font families collection for a script.
|
15023
|
+
* @experimental
|
14542
15024
|
*/
|
14543
15025
|
export interface ScriptFontFamilies {
|
14544
15026
|
/**
|
@@ -14553,6 +15035,7 @@ export namespace Protocol {
|
|
14553
15035
|
|
14554
15036
|
/**
|
14555
15037
|
* Default font sizes.
|
15038
|
+
* @experimental
|
14556
15039
|
*/
|
14557
15040
|
export interface FontSizes {
|
14558
15041
|
/**
|
@@ -14565,10 +15048,19 @@ export namespace Protocol {
|
|
14565
15048
|
fixed?: integer;
|
14566
15049
|
}
|
14567
15050
|
|
15051
|
+
/**
|
15052
|
+
* @experimental
|
15053
|
+
*/
|
14568
15054
|
export type ClientNavigationReason = ('anchorClick' | 'formSubmissionGet' | 'formSubmissionPost' | 'httpHeaderRefresh' | 'initialFrameNavigation' | 'metaTagRefresh' | 'other' | 'pageBlockInterstitial' | 'reload' | 'scriptInitiated');
|
14569
15055
|
|
15056
|
+
/**
|
15057
|
+
* @experimental
|
15058
|
+
*/
|
14570
15059
|
export type ClientNavigationDisposition = ('currentTab' | 'newTab' | 'newWindow' | 'download');
|
14571
15060
|
|
15061
|
+
/**
|
15062
|
+
* @experimental
|
15063
|
+
*/
|
14572
15064
|
export interface InstallabilityErrorArgument {
|
14573
15065
|
/**
|
14574
15066
|
* Argument name (e.g. name:'minimum-icon-size-in-pixels').
|
@@ -14582,6 +15074,7 @@ export namespace Protocol {
|
|
14582
15074
|
|
14583
15075
|
/**
|
14584
15076
|
* The installability error
|
15077
|
+
* @experimental
|
14585
15078
|
*/
|
14586
15079
|
export interface InstallabilityError {
|
14587
15080
|
/**
|
@@ -14596,11 +15089,13 @@ export namespace Protocol {
|
|
14596
15089
|
|
14597
15090
|
/**
|
14598
15091
|
* The referring-policy used for the navigation.
|
15092
|
+
* @experimental
|
14599
15093
|
*/
|
14600
15094
|
export type ReferrerPolicy = ('noReferrer' | 'noReferrerWhenDowngrade' | 'origin' | 'originWhenCrossOrigin' | 'sameOrigin' | 'strictOrigin' | 'strictOriginWhenCrossOrigin' | 'unsafeUrl');
|
14601
15095
|
|
14602
15096
|
/**
|
14603
15097
|
* Per-script compilation cache parameters for `Page.produceCompilationCache`
|
15098
|
+
* @experimental
|
14604
15099
|
*/
|
14605
15100
|
export interface CompilationCacheParams {
|
14606
15101
|
/**
|
@@ -14614,11 +15109,17 @@ export namespace Protocol {
|
|
14614
15109
|
eager?: boolean;
|
14615
15110
|
}
|
14616
15111
|
|
15112
|
+
/**
|
15113
|
+
* @experimental
|
15114
|
+
*/
|
14617
15115
|
export interface FileFilter {
|
14618
15116
|
name?: string;
|
14619
15117
|
accepts?: string[];
|
14620
15118
|
}
|
14621
15119
|
|
15120
|
+
/**
|
15121
|
+
* @experimental
|
15122
|
+
*/
|
14622
15123
|
export interface FileHandler {
|
14623
15124
|
action: string;
|
14624
15125
|
name: string;
|
@@ -14636,6 +15137,7 @@ export namespace Protocol {
|
|
14636
15137
|
|
14637
15138
|
/**
|
14638
15139
|
* The image definition used in both icon and screenshot.
|
15140
|
+
* @experimental
|
14639
15141
|
*/
|
14640
15142
|
export interface ImageResource {
|
14641
15143
|
/**
|
@@ -14647,20 +15149,32 @@ export namespace Protocol {
|
|
14647
15149
|
type?: string;
|
14648
15150
|
}
|
14649
15151
|
|
15152
|
+
/**
|
15153
|
+
* @experimental
|
15154
|
+
*/
|
14650
15155
|
export interface LaunchHandler {
|
14651
15156
|
clientMode: string;
|
14652
15157
|
}
|
14653
15158
|
|
15159
|
+
/**
|
15160
|
+
* @experimental
|
15161
|
+
*/
|
14654
15162
|
export interface ProtocolHandler {
|
14655
15163
|
protocol: string;
|
14656
15164
|
url: string;
|
14657
15165
|
}
|
14658
15166
|
|
15167
|
+
/**
|
15168
|
+
* @experimental
|
15169
|
+
*/
|
14659
15170
|
export interface RelatedApplication {
|
14660
15171
|
id?: string;
|
14661
15172
|
url: string;
|
14662
15173
|
}
|
14663
15174
|
|
15175
|
+
/**
|
15176
|
+
* @experimental
|
15177
|
+
*/
|
14664
15178
|
export interface ScopeExtension {
|
14665
15179
|
/**
|
14666
15180
|
* Instead of using tuple, this field always returns the serialized string
|
@@ -14670,12 +15184,18 @@ export namespace Protocol {
|
|
14670
15184
|
hasOriginWildcard: boolean;
|
14671
15185
|
}
|
14672
15186
|
|
15187
|
+
/**
|
15188
|
+
* @experimental
|
15189
|
+
*/
|
14673
15190
|
export interface Screenshot {
|
14674
15191
|
image: ImageResource;
|
14675
15192
|
formFactor: string;
|
14676
15193
|
label?: string;
|
14677
15194
|
}
|
14678
15195
|
|
15196
|
+
/**
|
15197
|
+
* @experimental
|
15198
|
+
*/
|
14679
15199
|
export interface ShareTarget {
|
14680
15200
|
action: string;
|
14681
15201
|
method: string;
|
@@ -14689,11 +15209,17 @@ export namespace Protocol {
|
|
14689
15209
|
files?: FileFilter[];
|
14690
15210
|
}
|
14691
15211
|
|
15212
|
+
/**
|
15213
|
+
* @experimental
|
15214
|
+
*/
|
14692
15215
|
export interface Shortcut {
|
14693
15216
|
name: string;
|
14694
15217
|
url: string;
|
14695
15218
|
}
|
14696
15219
|
|
15220
|
+
/**
|
15221
|
+
* @experimental
|
15222
|
+
*/
|
14697
15223
|
export interface WebAppManifest {
|
14698
15224
|
backgroundColor?: string;
|
14699
15225
|
/**
|
@@ -14746,19 +15272,25 @@ export namespace Protocol {
|
|
14746
15272
|
|
14747
15273
|
/**
|
14748
15274
|
* The type of a frameNavigated event.
|
15275
|
+
* @experimental
|
14749
15276
|
*/
|
14750
15277
|
export type NavigationType = ('Navigation' | 'BackForwardCacheRestore');
|
14751
15278
|
|
14752
15279
|
/**
|
14753
15280
|
* List of not restored reasons for back-forward cache.
|
15281
|
+
* @experimental
|
14754
15282
|
*/
|
14755
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');
|
14756
15284
|
|
14757
15285
|
/**
|
14758
15286
|
* Types of not restored reasons for back-forward cache.
|
15287
|
+
* @experimental
|
14759
15288
|
*/
|
14760
15289
|
export type BackForwardCacheNotRestoredReasonType = ('SupportPending' | 'PageSupportNeeded' | 'Circumstantial');
|
14761
15290
|
|
15291
|
+
/**
|
15292
|
+
* @experimental
|
15293
|
+
*/
|
14762
15294
|
export interface BackForwardCacheBlockingDetails {
|
14763
15295
|
/**
|
14764
15296
|
* Url of the file where blockage happened. Optional because of tests.
|
@@ -14778,6 +15310,9 @@ export namespace Protocol {
|
|
14778
15310
|
columnNumber: integer;
|
14779
15311
|
}
|
14780
15312
|
|
15313
|
+
/**
|
15314
|
+
* @experimental
|
15315
|
+
*/
|
14781
15316
|
export interface BackForwardCacheNotRestoredExplanation {
|
14782
15317
|
/**
|
14783
15318
|
* Type of the reason
|
@@ -14796,6 +15331,9 @@ export namespace Protocol {
|
|
14796
15331
|
details?: BackForwardCacheBlockingDetails[];
|
14797
15332
|
}
|
14798
15333
|
|
15334
|
+
/**
|
15335
|
+
* @experimental
|
15336
|
+
*/
|
14799
15337
|
export interface BackForwardCacheNotRestoredExplanationTree {
|
14800
15338
|
/**
|
14801
15339
|
* URL of each frame
|
@@ -14828,16 +15366,19 @@ export namespace Protocol {
|
|
14828
15366
|
* If specified, creates an isolated world with the given name and evaluates given script in it.
|
14829
15367
|
* This world name will be used as the ExecutionContextDescription::name when the corresponding
|
14830
15368
|
* event is emitted.
|
15369
|
+
* @experimental
|
14831
15370
|
*/
|
14832
15371
|
worldName?: string;
|
14833
15372
|
/**
|
14834
15373
|
* Specifies whether command line API should be available to the script, defaults
|
14835
15374
|
* to false.
|
15375
|
+
* @experimental
|
14836
15376
|
*/
|
14837
15377
|
includeCommandLineAPI?: boolean;
|
14838
15378
|
/**
|
14839
15379
|
* If true, runs the script immediately on existing execution contexts or worlds.
|
14840
15380
|
* Default: false.
|
15381
|
+
* @experimental
|
14841
15382
|
*/
|
14842
15383
|
runImmediately?: boolean;
|
14843
15384
|
}
|
@@ -14857,7 +15398,7 @@ export namespace Protocol {
|
|
14857
15398
|
|
14858
15399
|
export interface CaptureScreenshotRequest {
|
14859
15400
|
/**
|
14860
|
-
* Image compression format (defaults to png).
|
15401
|
+
* Image compression format (defaults to png).
|
14861
15402
|
*/
|
14862
15403
|
format?: ('jpeg' | 'png' | 'webp');
|
14863
15404
|
/**
|
@@ -14870,14 +15411,17 @@ export namespace Protocol {
|
|
14870
15411
|
clip?: Viewport;
|
14871
15412
|
/**
|
14872
15413
|
* Capture the screenshot from the surface, rather than the view. Defaults to true.
|
15414
|
+
* @experimental
|
14873
15415
|
*/
|
14874
15416
|
fromSurface?: boolean;
|
14875
15417
|
/**
|
14876
15418
|
* Capture the screenshot beyond the viewport. Defaults to false.
|
15419
|
+
* @experimental
|
14877
15420
|
*/
|
14878
15421
|
captureBeyondViewport?: boolean;
|
14879
15422
|
/**
|
14880
15423
|
* Optimize image encoding for speed, not for resulting size (defaults to false)
|
15424
|
+
* @experimental
|
14881
15425
|
*/
|
14882
15426
|
optimizeForSpeed?: boolean;
|
14883
15427
|
}
|
@@ -14895,7 +15439,7 @@ export namespace Protocol {
|
|
14895
15439
|
|
14896
15440
|
export interface CaptureSnapshotRequest {
|
14897
15441
|
/**
|
14898
|
-
* Format (defaults to mhtml).
|
15442
|
+
* Format (defaults to mhtml).
|
14899
15443
|
*/
|
14900
15444
|
format?: ('mhtml');
|
14901
15445
|
}
|
@@ -14945,6 +15489,7 @@ export namespace Protocol {
|
|
14945
15489
|
/**
|
14946
15490
|
* If true, the `Page.fileChooserOpened` event will be emitted regardless of the state set by
|
14947
15491
|
* `Page.setInterceptFileChooserDialog` command (default: false).
|
15492
|
+
* @experimental
|
14948
15493
|
*/
|
14949
15494
|
enableFileChooserOpenedEvent?: boolean;
|
14950
15495
|
}
|
@@ -14965,8 +15510,13 @@ export namespace Protocol {
|
|
14965
15510
|
data?: string;
|
14966
15511
|
/**
|
14967
15512
|
* Parsed manifest properties. Deprecated, use manifest instead.
|
15513
|
+
* @deprecated
|
15514
|
+
* @experimental
|
14968
15515
|
*/
|
14969
15516
|
parsed?: AppManifestParsedProperties;
|
15517
|
+
/**
|
15518
|
+
* @experimental
|
15519
|
+
*/
|
14970
15520
|
manifest: WebAppManifest;
|
14971
15521
|
}
|
14972
15522
|
|
@@ -15014,14 +15564,17 @@ export namespace Protocol {
|
|
15014
15564
|
export interface GetLayoutMetricsResponse {
|
15015
15565
|
/**
|
15016
15566
|
* Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.
|
15567
|
+
* @deprecated
|
15017
15568
|
*/
|
15018
15569
|
layoutViewport: LayoutViewport;
|
15019
15570
|
/**
|
15020
15571
|
* Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.
|
15572
|
+
* @deprecated
|
15021
15573
|
*/
|
15022
15574
|
visualViewport: VisualViewport;
|
15023
15575
|
/**
|
15024
15576
|
* Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
|
15577
|
+
* @deprecated
|
15025
15578
|
*/
|
15026
15579
|
contentSize: DOM.Rect;
|
15027
15580
|
/**
|
@@ -15109,6 +15662,7 @@ export namespace Protocol {
|
|
15109
15662
|
frameId?: FrameId;
|
15110
15663
|
/**
|
15111
15664
|
* Referrer-policy used for the navigation.
|
15665
|
+
* @experimental
|
15112
15666
|
*/
|
15113
15667
|
referrerPolicy?: ReferrerPolicy;
|
15114
15668
|
}
|
@@ -15129,6 +15683,7 @@ export namespace Protocol {
|
|
15129
15683
|
errorText?: string;
|
15130
15684
|
/**
|
15131
15685
|
* Whether the navigation resulted in a download.
|
15686
|
+
* @experimental
|
15132
15687
|
*/
|
15133
15688
|
isDownload?: boolean;
|
15134
15689
|
}
|
@@ -15219,15 +15774,18 @@ export namespace Protocol {
|
|
15219
15774
|
*/
|
15220
15775
|
preferCSSPageSize?: boolean;
|
15221
15776
|
/**
|
15222
|
-
* return as stream
|
15777
|
+
* return as stream
|
15778
|
+
* @experimental
|
15223
15779
|
*/
|
15224
15780
|
transferMode?: ('ReturnAsBase64' | 'ReturnAsStream');
|
15225
15781
|
/**
|
15226
15782
|
* Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
|
15783
|
+
* @experimental
|
15227
15784
|
*/
|
15228
15785
|
generateTaggedPDF?: boolean;
|
15229
15786
|
/**
|
15230
15787
|
* Whether or not to embed the document outline into the PDF.
|
15788
|
+
* @experimental
|
15231
15789
|
*/
|
15232
15790
|
generateDocumentOutline?: boolean;
|
15233
15791
|
}
|
@@ -15239,6 +15797,7 @@ export namespace Protocol {
|
|
15239
15797
|
data: string;
|
15240
15798
|
/**
|
15241
15799
|
* A handle of the stream that holds resulting PDF data.
|
15800
|
+
* @experimental
|
15242
15801
|
*/
|
15243
15802
|
stream?: IO.StreamHandle;
|
15244
15803
|
}
|
@@ -15257,6 +15816,7 @@ export namespace Protocol {
|
|
15257
15816
|
* If set, an error will be thrown if the target page's main frame's
|
15258
15817
|
* loader id does not match the provided id. This prevents accidentally
|
15259
15818
|
* reloading an unintended target in case there's a racing navigation.
|
15819
|
+
* @experimental
|
15260
15820
|
*/
|
15261
15821
|
loaderId?: Network.LoaderId;
|
15262
15822
|
}
|
@@ -15441,7 +16001,7 @@ export namespace Protocol {
|
|
15441
16001
|
export interface SetDownloadBehaviorRequest {
|
15442
16002
|
/**
|
15443
16003
|
* Whether to allow all or deny all download requests, or use default Chrome behavior if
|
15444
|
-
* available (otherwise deny).
|
16004
|
+
* available (otherwise deny).
|
15445
16005
|
*/
|
15446
16006
|
behavior: ('deny' | 'allow' | 'default');
|
15447
16007
|
/**
|
@@ -15483,7 +16043,7 @@ export namespace Protocol {
|
|
15483
16043
|
*/
|
15484
16044
|
enabled: boolean;
|
15485
16045
|
/**
|
15486
|
-
* Touch/gesture events configuration. Default: current platform.
|
16046
|
+
* Touch/gesture events configuration. Default: current platform.
|
15487
16047
|
*/
|
15488
16048
|
configuration?: ('mobile' | 'desktop');
|
15489
16049
|
}
|
@@ -15495,7 +16055,7 @@ export namespace Protocol {
|
|
15495
16055
|
|
15496
16056
|
export interface StartScreencastRequest {
|
15497
16057
|
/**
|
15498
|
-
* Image compression format.
|
16058
|
+
* Image compression format.
|
15499
16059
|
*/
|
15500
16060
|
format?: ('jpeg' | 'png');
|
15501
16061
|
/**
|
@@ -15523,7 +16083,7 @@ export namespace Protocol {
|
|
15523
16083
|
|
15524
16084
|
export interface SetWebLifecycleStateRequest {
|
15525
16085
|
/**
|
15526
|
-
* Target lifecycle state
|
16086
|
+
* Target lifecycle state
|
15527
16087
|
*/
|
15528
16088
|
state: ('frozen' | 'active');
|
15529
16089
|
}
|
@@ -15549,9 +16109,6 @@ export namespace Protocol {
|
|
15549
16109
|
}
|
15550
16110
|
|
15551
16111
|
export interface SetSPCTransactionModeRequest {
|
15552
|
-
/**
|
15553
|
-
* (SetSPCTransactionModeRequestMode enum)
|
15554
|
-
*/
|
15555
16112
|
mode: ('none' | 'autoAccept' | 'autoChooseToAuthAnotherWay' | 'autoReject' | 'autoOptOut');
|
15556
16113
|
}
|
15557
16114
|
|
@@ -15562,9 +16119,6 @@ export namespace Protocol {
|
|
15562
16119
|
}
|
15563
16120
|
|
15564
16121
|
export interface SetRPHRegistrationModeRequest {
|
15565
|
-
/**
|
15566
|
-
* (SetRPHRegistrationModeRequestMode enum)
|
15567
|
-
*/
|
15568
16122
|
mode: ('none' | 'autoAccept' | 'autoReject');
|
15569
16123
|
}
|
15570
16124
|
|
@@ -15585,6 +16139,7 @@ export namespace Protocol {
|
|
15585
16139
|
* If true, cancels the dialog by emitting relevant events (if any)
|
15586
16140
|
* in addition to not showing it if the interception is enabled
|
15587
16141
|
* (default: false).
|
16142
|
+
* @experimental
|
15588
16143
|
*/
|
15589
16144
|
cancel?: boolean;
|
15590
16145
|
}
|
@@ -15608,14 +16163,16 @@ export namespace Protocol {
|
|
15608
16163
|
export interface FileChooserOpenedEvent {
|
15609
16164
|
/**
|
15610
16165
|
* Id of the frame containing input node.
|
16166
|
+
* @experimental
|
15611
16167
|
*/
|
15612
16168
|
frameId: FrameId;
|
15613
16169
|
/**
|
15614
|
-
* Input mode.
|
16170
|
+
* Input mode.
|
15615
16171
|
*/
|
15616
16172
|
mode: ('selectSingle' | 'selectMultiple');
|
15617
16173
|
/**
|
15618
16174
|
* Input node id. Only present for file choosers opened via an `<input type="file">` element.
|
16175
|
+
* @experimental
|
15619
16176
|
*/
|
15620
16177
|
backendNodeId?: DOM.BackendNodeId;
|
15621
16178
|
}
|
@@ -15640,6 +16197,7 @@ export namespace Protocol {
|
|
15640
16197
|
|
15641
16198
|
/**
|
15642
16199
|
* Fired when frame no longer has a scheduled navigation.
|
16200
|
+
* @deprecated
|
15643
16201
|
*/
|
15644
16202
|
export interface FrameClearedScheduledNavigationEvent {
|
15645
16203
|
/**
|
@@ -15662,7 +16220,7 @@ export namespace Protocol {
|
|
15662
16220
|
*/
|
15663
16221
|
frameId: FrameId;
|
15664
16222
|
/**
|
15665
|
-
*
|
16223
|
+
* @experimental
|
15666
16224
|
*/
|
15667
16225
|
reason: ('remove' | 'swap');
|
15668
16226
|
}
|
@@ -15670,6 +16228,7 @@ export namespace Protocol {
|
|
15670
16228
|
/**
|
15671
16229
|
* Fired before frame subtree is detached. Emitted before any frame of the
|
15672
16230
|
* subtree is actually detached.
|
16231
|
+
* @experimental
|
15673
16232
|
*/
|
15674
16233
|
export interface FrameSubtreeWillBeDetachedEvent {
|
15675
16234
|
/**
|
@@ -15686,11 +16245,15 @@ export namespace Protocol {
|
|
15686
16245
|
* Frame object.
|
15687
16246
|
*/
|
15688
16247
|
frame: Frame;
|
16248
|
+
/**
|
16249
|
+
* @experimental
|
16250
|
+
*/
|
15689
16251
|
type: NavigationType;
|
15690
16252
|
}
|
15691
16253
|
|
15692
16254
|
/**
|
15693
16255
|
* Fired when opening document to write to.
|
16256
|
+
* @experimental
|
15694
16257
|
*/
|
15695
16258
|
export interface DocumentOpenedEvent {
|
15696
16259
|
/**
|
@@ -15718,6 +16281,7 @@ export namespace Protocol {
|
|
15718
16281
|
* can be fired for a single navigation, for example, when a same-document
|
15719
16282
|
* navigation becomes a cross-document navigation (such as in the case of a
|
15720
16283
|
* frameset).
|
16284
|
+
* @experimental
|
15721
16285
|
*/
|
15722
16286
|
export interface FrameStartedNavigatingEvent {
|
15723
16287
|
/**
|
@@ -15735,15 +16299,13 @@ export namespace Protocol {
|
|
15735
16299
|
* navigation.
|
15736
16300
|
*/
|
15737
16301
|
loaderId: Network.LoaderId;
|
15738
|
-
/**
|
15739
|
-
* (FrameStartedNavigatingEventNavigationType enum)
|
15740
|
-
*/
|
15741
16302
|
navigationType: ('reload' | 'reloadBypassingCache' | 'restore' | 'restoreWithPost' | 'historySameDocument' | 'historyDifferentDocument' | 'sameDocument' | 'differentDocument');
|
15742
16303
|
}
|
15743
16304
|
|
15744
16305
|
/**
|
15745
16306
|
* Fired when a renderer-initiated navigation is requested.
|
15746
16307
|
* Navigation may still be cancelled after the event is issued.
|
16308
|
+
* @experimental
|
15747
16309
|
*/
|
15748
16310
|
export interface FrameRequestedNavigationEvent {
|
15749
16311
|
/**
|
@@ -15766,6 +16328,7 @@ export namespace Protocol {
|
|
15766
16328
|
|
15767
16329
|
/**
|
15768
16330
|
* Fired when frame schedules a potential navigation.
|
16331
|
+
* @deprecated
|
15769
16332
|
*/
|
15770
16333
|
export interface FrameScheduledNavigationEvent {
|
15771
16334
|
/**
|
@@ -15789,6 +16352,7 @@ export namespace Protocol {
|
|
15789
16352
|
|
15790
16353
|
/**
|
15791
16354
|
* Fired when frame has started loading.
|
16355
|
+
* @experimental
|
15792
16356
|
*/
|
15793
16357
|
export interface FrameStartedLoadingEvent {
|
15794
16358
|
/**
|
@@ -15799,6 +16363,7 @@ export namespace Protocol {
|
|
15799
16363
|
|
15800
16364
|
/**
|
15801
16365
|
* Fired when frame has stopped loading.
|
16366
|
+
* @experimental
|
15802
16367
|
*/
|
15803
16368
|
export interface FrameStoppedLoadingEvent {
|
15804
16369
|
/**
|
@@ -15810,6 +16375,8 @@ export namespace Protocol {
|
|
15810
16375
|
/**
|
15811
16376
|
* Fired when page is about to start a download.
|
15812
16377
|
* Deprecated. Use Browser.downloadWillBegin instead.
|
16378
|
+
* @deprecated
|
16379
|
+
* @experimental
|
15813
16380
|
*/
|
15814
16381
|
export interface DownloadWillBeginEvent {
|
15815
16382
|
/**
|
@@ -15839,6 +16406,8 @@ export namespace Protocol {
|
|
15839
16406
|
/**
|
15840
16407
|
* Fired when download makes progress. Last call has |done| == true.
|
15841
16408
|
* Deprecated. Use Browser.downloadProgress instead.
|
16409
|
+
* @deprecated
|
16410
|
+
* @experimental
|
15842
16411
|
*/
|
15843
16412
|
export interface DownloadProgressEvent {
|
15844
16413
|
/**
|
@@ -15854,7 +16423,7 @@ export namespace Protocol {
|
|
15854
16423
|
*/
|
15855
16424
|
receivedBytes: number;
|
15856
16425
|
/**
|
15857
|
-
* Download status.
|
16426
|
+
* Download status.
|
15858
16427
|
*/
|
15859
16428
|
state: ('inProgress' | 'completed' | 'canceled');
|
15860
16429
|
}
|
@@ -15866,6 +16435,7 @@ export namespace Protocol {
|
|
15866
16435
|
export interface JavascriptDialogClosedEvent {
|
15867
16436
|
/**
|
15868
16437
|
* Frame id.
|
16438
|
+
* @experimental
|
15869
16439
|
*/
|
15870
16440
|
frameId: FrameId;
|
15871
16441
|
/**
|
@@ -15889,6 +16459,7 @@ export namespace Protocol {
|
|
15889
16459
|
url: string;
|
15890
16460
|
/**
|
15891
16461
|
* Frame id.
|
16462
|
+
* @experimental
|
15892
16463
|
*/
|
15893
16464
|
frameId: FrameId;
|
15894
16465
|
/**
|
@@ -15933,6 +16504,7 @@ export namespace Protocol {
|
|
15933
16504
|
* not assume any ordering with the Page.frameNavigated event. This event is fired only for
|
15934
16505
|
* main-frame history navigation where the document changes (non-same-document navigations),
|
15935
16506
|
* when bfcache navigation fails.
|
16507
|
+
* @experimental
|
15936
16508
|
*/
|
15937
16509
|
export interface BackForwardCacheNotUsedEvent {
|
15938
16510
|
/**
|
@@ -15965,6 +16537,7 @@ export namespace Protocol {
|
|
15965
16537
|
|
15966
16538
|
/**
|
15967
16539
|
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
16540
|
+
* @experimental
|
15968
16541
|
*/
|
15969
16542
|
export interface NavigatedWithinDocumentEvent {
|
15970
16543
|
/**
|
@@ -15976,13 +16549,14 @@ export namespace Protocol {
|
|
15976
16549
|
*/
|
15977
16550
|
url: string;
|
15978
16551
|
/**
|
15979
|
-
* Navigation type
|
16552
|
+
* Navigation type
|
15980
16553
|
*/
|
15981
16554
|
navigationType: ('fragment' | 'historyApi' | 'other');
|
15982
16555
|
}
|
15983
16556
|
|
15984
16557
|
/**
|
15985
16558
|
* Compressed image data requested by the `startScreencast`.
|
16559
|
+
* @experimental
|
15986
16560
|
*/
|
15987
16561
|
export interface ScreencastFrameEvent {
|
15988
16562
|
/**
|
@@ -16001,6 +16575,7 @@ export namespace Protocol {
|
|
16001
16575
|
|
16002
16576
|
/**
|
16003
16577
|
* Fired when the page with currently enabled screencast was shown or hidden `.
|
16578
|
+
* @experimental
|
16004
16579
|
*/
|
16005
16580
|
export interface ScreencastVisibilityChangedEvent {
|
16006
16581
|
/**
|
@@ -16035,6 +16610,7 @@ export namespace Protocol {
|
|
16035
16610
|
/**
|
16036
16611
|
* Issued for every compilation cache generated. Is only available
|
16037
16612
|
* if Page.setGenerateCompilationCache is enabled.
|
16613
|
+
* @experimental
|
16038
16614
|
*/
|
16039
16615
|
export interface CompilationCacheProducedEvent {
|
16040
16616
|
url: string;
|
@@ -16068,7 +16644,7 @@ export namespace Protocol {
|
|
16068
16644
|
|
16069
16645
|
export interface EnableRequest {
|
16070
16646
|
/**
|
16071
|
-
* Time domain to use for collecting and reporting duration metrics.
|
16647
|
+
* Time domain to use for collecting and reporting duration metrics.
|
16072
16648
|
*/
|
16073
16649
|
timeDomain?: ('timeTicks' | 'threadTicks');
|
16074
16650
|
}
|
@@ -16080,7 +16656,7 @@ export namespace Protocol {
|
|
16080
16656
|
|
16081
16657
|
export interface SetTimeDomainRequest {
|
16082
16658
|
/**
|
16083
|
-
* Time domain
|
16659
|
+
* Time domain
|
16084
16660
|
*/
|
16085
16661
|
timeDomain: ('timeTicks' | 'threadTicks');
|
16086
16662
|
}
|
@@ -16110,6 +16686,7 @@ export namespace Protocol {
|
|
16110
16686
|
/**
|
16111
16687
|
* Reporting of performance timeline events, as specified in
|
16112
16688
|
* https://w3c.github.io/performance-timeline/#dom-performanceobserver.
|
16689
|
+
* @experimental
|
16113
16690
|
*/
|
16114
16691
|
export namespace PerformanceTimeline {
|
16115
16692
|
|
@@ -16221,6 +16798,7 @@ export namespace Protocol {
|
|
16221
16798
|
|
16222
16799
|
/**
|
16223
16800
|
* Details about the security state of the page certificate.
|
16801
|
+
* @experimental
|
16224
16802
|
*/
|
16225
16803
|
export interface CertificateSecurityState {
|
16226
16804
|
/**
|
@@ -16297,8 +16875,14 @@ export namespace Protocol {
|
|
16297
16875
|
obsoleteSslSignature: boolean;
|
16298
16876
|
}
|
16299
16877
|
|
16878
|
+
/**
|
16879
|
+
* @experimental
|
16880
|
+
*/
|
16300
16881
|
export type SafetyTipStatus = ('badReputation' | 'lookalike');
|
16301
16882
|
|
16883
|
+
/**
|
16884
|
+
* @experimental
|
16885
|
+
*/
|
16302
16886
|
export interface SafetyTipInfo {
|
16303
16887
|
/**
|
16304
16888
|
* Describes whether the page triggers any safety tips or reputation warnings. Default is unknown.
|
@@ -16312,6 +16896,7 @@ export namespace Protocol {
|
|
16312
16896
|
|
16313
16897
|
/**
|
16314
16898
|
* Security state information about the page.
|
16899
|
+
* @experimental
|
16315
16900
|
*/
|
16316
16901
|
export interface VisibleSecurityState {
|
16317
16902
|
/**
|
@@ -16368,6 +16953,7 @@ export namespace Protocol {
|
|
16368
16953
|
|
16369
16954
|
/**
|
16370
16955
|
* Information about insecure content on the page.
|
16956
|
+
* @deprecated
|
16371
16957
|
*/
|
16372
16958
|
export interface InsecureContentStatus {
|
16373
16959
|
/**
|
@@ -16436,6 +17022,7 @@ export namespace Protocol {
|
|
16436
17022
|
* handled with the `handleCertificateError` command. Note: this event does not fire if the
|
16437
17023
|
* certificate error has been allowed internally. Only one client per target should override
|
16438
17024
|
* certificate errors at the same time.
|
17025
|
+
* @deprecated
|
16439
17026
|
*/
|
16440
17027
|
export interface CertificateErrorEvent {
|
16441
17028
|
/**
|
@@ -16454,6 +17041,7 @@ export namespace Protocol {
|
|
16454
17041
|
|
16455
17042
|
/**
|
16456
17043
|
* The security state of the page changed.
|
17044
|
+
* @experimental
|
16457
17045
|
*/
|
16458
17046
|
export interface VisibleSecurityStateChangedEvent {
|
16459
17047
|
/**
|
@@ -16464,6 +17052,7 @@ export namespace Protocol {
|
|
16464
17052
|
|
16465
17053
|
/**
|
16466
17054
|
* The security state of the page changed. No longer being sent.
|
17055
|
+
* @deprecated
|
16467
17056
|
*/
|
16468
17057
|
export interface SecurityStateChangedEvent {
|
16469
17058
|
/**
|
@@ -16472,24 +17061,31 @@ export namespace Protocol {
|
|
16472
17061
|
securityState: SecurityState;
|
16473
17062
|
/**
|
16474
17063
|
* True if the page was loaded over cryptographic transport such as HTTPS.
|
17064
|
+
* @deprecated
|
16475
17065
|
*/
|
16476
17066
|
schemeIsCryptographic: boolean;
|
16477
17067
|
/**
|
16478
17068
|
* Previously a list of explanations for the security state. Now always
|
16479
17069
|
* empty.
|
17070
|
+
* @deprecated
|
16480
17071
|
*/
|
16481
17072
|
explanations: SecurityStateExplanation[];
|
16482
17073
|
/**
|
16483
17074
|
* Information about insecure content on the page.
|
17075
|
+
* @deprecated
|
16484
17076
|
*/
|
16485
17077
|
insecureContentStatus: InsecureContentStatus;
|
16486
17078
|
/**
|
16487
17079
|
* Overrides user-visible description of the state. Always omitted.
|
17080
|
+
* @deprecated
|
16488
17081
|
*/
|
16489
17082
|
summary?: string;
|
16490
17083
|
}
|
16491
17084
|
}
|
16492
17085
|
|
17086
|
+
/**
|
17087
|
+
* @experimental
|
17088
|
+
*/
|
16493
17089
|
export namespace ServiceWorker {
|
16494
17090
|
|
16495
17091
|
export type RegistrationID = string;
|
@@ -16598,6 +17194,9 @@ export namespace Protocol {
|
|
16598
17194
|
}
|
16599
17195
|
}
|
16600
17196
|
|
17197
|
+
/**
|
17198
|
+
* @experimental
|
17199
|
+
*/
|
16601
17200
|
export namespace Storage {
|
16602
17201
|
|
16603
17202
|
export type SerializedStorageKey = string;
|
@@ -16624,6 +17223,7 @@ export namespace Protocol {
|
|
16624
17223
|
/**
|
16625
17224
|
* Pair of issuer origin and number of available (signed, but not used) Trust
|
16626
17225
|
* Tokens from that issuer.
|
17226
|
+
* @experimental
|
16627
17227
|
*/
|
16628
17228
|
export interface TrustTokens {
|
16629
17229
|
issuerOrigin: string;
|
@@ -16863,19 +17463,37 @@ export namespace Protocol {
|
|
16863
17463
|
durability: StorageBucketsDurability;
|
16864
17464
|
}
|
16865
17465
|
|
17466
|
+
/**
|
17467
|
+
* @experimental
|
17468
|
+
*/
|
16866
17469
|
export type AttributionReportingSourceType = ('navigation' | 'event');
|
16867
17470
|
|
17471
|
+
/**
|
17472
|
+
* @experimental
|
17473
|
+
*/
|
16868
17474
|
export type UnsignedInt64AsBase10 = string;
|
16869
17475
|
|
17476
|
+
/**
|
17477
|
+
* @experimental
|
17478
|
+
*/
|
16870
17479
|
export type UnsignedInt128AsBase16 = string;
|
16871
17480
|
|
17481
|
+
/**
|
17482
|
+
* @experimental
|
17483
|
+
*/
|
16872
17484
|
export type SignedInt64AsBase10 = string;
|
16873
17485
|
|
17486
|
+
/**
|
17487
|
+
* @experimental
|
17488
|
+
*/
|
16874
17489
|
export interface AttributionReportingFilterDataEntry {
|
16875
17490
|
key: string;
|
16876
17491
|
values: string[];
|
16877
17492
|
}
|
16878
17493
|
|
17494
|
+
/**
|
17495
|
+
* @experimental
|
17496
|
+
*/
|
16879
17497
|
export interface AttributionReportingFilterConfig {
|
16880
17498
|
filterValues: AttributionReportingFilterDataEntry[];
|
16881
17499
|
/**
|
@@ -16884,16 +17502,25 @@ export namespace Protocol {
|
|
16884
17502
|
lookbackWindow?: integer;
|
16885
17503
|
}
|
16886
17504
|
|
17505
|
+
/**
|
17506
|
+
* @experimental
|
17507
|
+
*/
|
16887
17508
|
export interface AttributionReportingFilterPair {
|
16888
17509
|
filters: AttributionReportingFilterConfig[];
|
16889
17510
|
notFilters: AttributionReportingFilterConfig[];
|
16890
17511
|
}
|
16891
17512
|
|
17513
|
+
/**
|
17514
|
+
* @experimental
|
17515
|
+
*/
|
16892
17516
|
export interface AttributionReportingAggregationKeysEntry {
|
16893
17517
|
key: string;
|
16894
17518
|
value: UnsignedInt128AsBase16;
|
16895
17519
|
}
|
16896
17520
|
|
17521
|
+
/**
|
17522
|
+
* @experimental
|
17523
|
+
*/
|
16897
17524
|
export interface AttributionReportingEventReportWindows {
|
16898
17525
|
/**
|
16899
17526
|
* duration in seconds
|
@@ -16905,8 +17532,14 @@ export namespace Protocol {
|
|
16905
17532
|
ends: integer[];
|
16906
17533
|
}
|
16907
17534
|
|
17535
|
+
/**
|
17536
|
+
* @experimental
|
17537
|
+
*/
|
16908
17538
|
export type AttributionReportingTriggerDataMatching = ('exact' | 'modulus');
|
16909
17539
|
|
17540
|
+
/**
|
17541
|
+
* @experimental
|
17542
|
+
*/
|
16910
17543
|
export interface AttributionReportingAggregatableDebugReportingData {
|
16911
17544
|
keyPiece: UnsignedInt128AsBase16;
|
16912
17545
|
/**
|
@@ -16917,6 +17550,9 @@ export namespace Protocol {
|
|
16917
17550
|
types: string[];
|
16918
17551
|
}
|
16919
17552
|
|
17553
|
+
/**
|
17554
|
+
* @experimental
|
17555
|
+
*/
|
16920
17556
|
export interface AttributionReportingAggregatableDebugReportingConfig {
|
16921
17557
|
/**
|
16922
17558
|
* number instead of integer because not all uint32 can be represented by
|
@@ -16928,6 +17564,9 @@ export namespace Protocol {
|
|
16928
17564
|
aggregationCoordinatorOrigin?: string;
|
16929
17565
|
}
|
16930
17566
|
|
17567
|
+
/**
|
17568
|
+
* @experimental
|
17569
|
+
*/
|
16931
17570
|
export interface AttributionScopesData {
|
16932
17571
|
values: string[];
|
16933
17572
|
/**
|
@@ -16938,11 +17577,17 @@ export namespace Protocol {
|
|
16938
17577
|
maxEventStates: number;
|
16939
17578
|
}
|
16940
17579
|
|
17580
|
+
/**
|
17581
|
+
* @experimental
|
17582
|
+
*/
|
16941
17583
|
export interface AttributionReportingNamedBudgetDef {
|
16942
17584
|
name: string;
|
16943
17585
|
budget: integer;
|
16944
17586
|
}
|
16945
17587
|
|
17588
|
+
/**
|
17589
|
+
* @experimental
|
17590
|
+
*/
|
16946
17591
|
export interface AttributionReportingSourceRegistration {
|
16947
17592
|
time: Network.TimeSinceEpoch;
|
16948
17593
|
/**
|
@@ -16978,10 +17623,19 @@ export namespace Protocol {
|
|
16978
17623
|
eventLevelEpsilon: number;
|
16979
17624
|
}
|
16980
17625
|
|
17626
|
+
/**
|
17627
|
+
* @experimental
|
17628
|
+
*/
|
16981
17629
|
export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
|
16982
17630
|
|
17631
|
+
/**
|
17632
|
+
* @experimental
|
17633
|
+
*/
|
16983
17634
|
export type AttributionReportingSourceRegistrationTimeConfig = ('include' | 'exclude');
|
16984
17635
|
|
17636
|
+
/**
|
17637
|
+
* @experimental
|
17638
|
+
*/
|
16985
17639
|
export interface AttributionReportingAggregatableValueDictEntry {
|
16986
17640
|
key: string;
|
16987
17641
|
/**
|
@@ -16992,11 +17646,17 @@ export namespace Protocol {
|
|
16992
17646
|
filteringId: UnsignedInt64AsBase10;
|
16993
17647
|
}
|
16994
17648
|
|
17649
|
+
/**
|
17650
|
+
* @experimental
|
17651
|
+
*/
|
16995
17652
|
export interface AttributionReportingAggregatableValueEntry {
|
16996
17653
|
values: AttributionReportingAggregatableValueDictEntry[];
|
16997
17654
|
filters: AttributionReportingFilterPair;
|
16998
17655
|
}
|
16999
17656
|
|
17657
|
+
/**
|
17658
|
+
* @experimental
|
17659
|
+
*/
|
17000
17660
|
export interface AttributionReportingEventTriggerData {
|
17001
17661
|
data: UnsignedInt64AsBase10;
|
17002
17662
|
priority: SignedInt64AsBase10;
|
@@ -17004,22 +17664,34 @@ export namespace Protocol {
|
|
17004
17664
|
filters: AttributionReportingFilterPair;
|
17005
17665
|
}
|
17006
17666
|
|
17667
|
+
/**
|
17668
|
+
* @experimental
|
17669
|
+
*/
|
17007
17670
|
export interface AttributionReportingAggregatableTriggerData {
|
17008
17671
|
keyPiece: UnsignedInt128AsBase16;
|
17009
17672
|
sourceKeys: string[];
|
17010
17673
|
filters: AttributionReportingFilterPair;
|
17011
17674
|
}
|
17012
17675
|
|
17676
|
+
/**
|
17677
|
+
* @experimental
|
17678
|
+
*/
|
17013
17679
|
export interface AttributionReportingAggregatableDedupKey {
|
17014
17680
|
dedupKey?: UnsignedInt64AsBase10;
|
17015
17681
|
filters: AttributionReportingFilterPair;
|
17016
17682
|
}
|
17017
17683
|
|
17684
|
+
/**
|
17685
|
+
* @experimental
|
17686
|
+
*/
|
17018
17687
|
export interface AttributionReportingNamedBudgetCandidate {
|
17019
17688
|
name?: string;
|
17020
17689
|
filters: AttributionReportingFilterPair;
|
17021
17690
|
}
|
17022
17691
|
|
17692
|
+
/**
|
17693
|
+
* @experimental
|
17694
|
+
*/
|
17023
17695
|
export interface AttributionReportingTriggerRegistration {
|
17024
17696
|
filters: AttributionReportingFilterPair;
|
17025
17697
|
debugKey?: UnsignedInt64AsBase10;
|
@@ -17037,14 +17709,24 @@ export namespace Protocol {
|
|
17037
17709
|
namedBudgets: AttributionReportingNamedBudgetCandidate[];
|
17038
17710
|
}
|
17039
17711
|
|
17712
|
+
/**
|
17713
|
+
* @experimental
|
17714
|
+
*/
|
17040
17715
|
export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
|
17041
17716
|
|
17717
|
+
/**
|
17718
|
+
* @experimental
|
17719
|
+
*/
|
17042
17720
|
export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'insufficientNamedBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
|
17043
17721
|
|
17722
|
+
/**
|
17723
|
+
* @experimental
|
17724
|
+
*/
|
17044
17725
|
export type AttributionReportingReportResult = ('sent' | 'prohibited' | 'failedToAssemble' | 'expired');
|
17045
17726
|
|
17046
17727
|
/**
|
17047
17728
|
* A single Related Website Set object.
|
17729
|
+
* @experimental
|
17048
17730
|
*/
|
17049
17731
|
export interface RelatedWebsiteSet {
|
17050
17732
|
/**
|
@@ -17589,17 +18271,26 @@ export namespace Protocol {
|
|
17589
18271
|
bucketId: string;
|
17590
18272
|
}
|
17591
18273
|
|
18274
|
+
/**
|
18275
|
+
* @experimental
|
18276
|
+
*/
|
17592
18277
|
export interface AttributionReportingSourceRegisteredEvent {
|
17593
18278
|
registration: AttributionReportingSourceRegistration;
|
17594
18279
|
result: AttributionReportingSourceRegistrationResult;
|
17595
18280
|
}
|
17596
18281
|
|
18282
|
+
/**
|
18283
|
+
* @experimental
|
18284
|
+
*/
|
17597
18285
|
export interface AttributionReportingTriggerRegisteredEvent {
|
17598
18286
|
registration: AttributionReportingTriggerRegistration;
|
17599
18287
|
eventLevel: AttributionReportingEventLevelResult;
|
17600
18288
|
aggregatable: AttributionReportingAggregatableResult;
|
17601
18289
|
}
|
17602
18290
|
|
18291
|
+
/**
|
18292
|
+
* @experimental
|
18293
|
+
*/
|
17603
18294
|
export interface AttributionReportingReportSentEvent {
|
17604
18295
|
url: string;
|
17605
18296
|
body: any;
|
@@ -17612,6 +18303,9 @@ export namespace Protocol {
|
|
17612
18303
|
httpStatusCode?: integer;
|
17613
18304
|
}
|
17614
18305
|
|
18306
|
+
/**
|
18307
|
+
* @experimental
|
18308
|
+
*/
|
17615
18309
|
export interface AttributionReportingVerboseDebugReportSentEvent {
|
17616
18310
|
url: string;
|
17617
18311
|
body?: any[];
|
@@ -17623,6 +18317,7 @@ export namespace Protocol {
|
|
17623
18317
|
|
17624
18318
|
/**
|
17625
18319
|
* The SystemInfo domain defines methods and events for querying low-level system information.
|
18320
|
+
* @experimental
|
17626
18321
|
*/
|
17627
18322
|
export namespace SystemInfo {
|
17628
18323
|
|
@@ -17873,22 +18568,29 @@ export namespace Protocol {
|
|
17873
18568
|
openerId?: TargetID;
|
17874
18569
|
/**
|
17875
18570
|
* Whether the target has access to the originating window.
|
18571
|
+
* @experimental
|
17876
18572
|
*/
|
17877
18573
|
canAccessOpener: boolean;
|
17878
18574
|
/**
|
17879
18575
|
* Frame id of originating window (is only set if target has an opener).
|
18576
|
+
* @experimental
|
17880
18577
|
*/
|
17881
18578
|
openerFrameId?: Page.FrameId;
|
18579
|
+
/**
|
18580
|
+
* @experimental
|
18581
|
+
*/
|
17882
18582
|
browserContextId?: Browser.BrowserContextID;
|
17883
18583
|
/**
|
17884
18584
|
* Provides additional details for specific target types. For example, for
|
17885
18585
|
* the type of "page", this may be set to "prerender".
|
18586
|
+
* @experimental
|
17886
18587
|
*/
|
17887
18588
|
subtype?: string;
|
17888
18589
|
}
|
17889
18590
|
|
17890
18591
|
/**
|
17891
18592
|
* A filter used by target query/discovery/auto-attach operations.
|
18593
|
+
* @experimental
|
17892
18594
|
*/
|
17893
18595
|
export interface FilterEntry {
|
17894
18596
|
/**
|
@@ -17908,9 +18610,13 @@ export namespace Protocol {
|
|
17908
18610
|
* If filter is not specified, the one assumed is
|
17909
18611
|
* [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
|
17910
18612
|
* (i.e. include everything but `browser` and `tab`).
|
18613
|
+
* @experimental
|
17911
18614
|
*/
|
17912
18615
|
export type TargetFilter = FilterEntry[];
|
17913
18616
|
|
18617
|
+
/**
|
18618
|
+
* @experimental
|
18619
|
+
*/
|
17914
18620
|
export interface RemoteLocation {
|
17915
18621
|
host: string;
|
17916
18622
|
port: integer;
|
@@ -17918,6 +18624,7 @@ export namespace Protocol {
|
|
17918
18624
|
|
17919
18625
|
/**
|
17920
18626
|
* The state of the target window.
|
18627
|
+
* @experimental
|
17921
18628
|
*/
|
17922
18629
|
export type WindowState = ('normal' | 'minimized' | 'maximized' | 'fullscreen');
|
17923
18630
|
|
@@ -17956,6 +18663,7 @@ export namespace Protocol {
|
|
17956
18663
|
export interface CloseTargetResponse {
|
17957
18664
|
/**
|
17958
18665
|
* Always set to true. If an error occurs, the response indicates protocol error.
|
18666
|
+
* @deprecated
|
17959
18667
|
*/
|
17960
18668
|
success: boolean;
|
17961
18669
|
}
|
@@ -17975,19 +18683,23 @@ export namespace Protocol {
|
|
17975
18683
|
export interface CreateBrowserContextRequest {
|
17976
18684
|
/**
|
17977
18685
|
* If specified, disposes this context when debugging session disconnects.
|
18686
|
+
* @experimental
|
17978
18687
|
*/
|
17979
18688
|
disposeOnDetach?: boolean;
|
17980
18689
|
/**
|
17981
18690
|
* Proxy server, similar to the one passed to --proxy-server
|
18691
|
+
* @experimental
|
17982
18692
|
*/
|
17983
18693
|
proxyServer?: string;
|
17984
18694
|
/**
|
17985
18695
|
* Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
18696
|
+
* @experimental
|
17986
18697
|
*/
|
17987
18698
|
proxyBypassList?: string;
|
17988
18699
|
/**
|
17989
18700
|
* An optional list of origins to grant unlimited cross-origin access to.
|
17990
18701
|
* Parts of the URL other than those constituting origin are ignored.
|
18702
|
+
* @experimental
|
17991
18703
|
*/
|
17992
18704
|
originsWithUniversalNetworkAccess?: string[];
|
17993
18705
|
}
|
@@ -18013,10 +18725,12 @@ export namespace Protocol {
|
|
18013
18725
|
url: string;
|
18014
18726
|
/**
|
18015
18727
|
* Frame left origin in DIP (requires newWindow to be true or headless shell).
|
18728
|
+
* @experimental
|
18016
18729
|
*/
|
18017
18730
|
left?: integer;
|
18018
18731
|
/**
|
18019
18732
|
* Frame top origin in DIP (requires newWindow to be true or headless shell).
|
18733
|
+
* @experimental
|
18020
18734
|
*/
|
18021
18735
|
top?: integer;
|
18022
18736
|
/**
|
@@ -18034,11 +18748,13 @@ export namespace Protocol {
|
|
18034
18748
|
windowState?: WindowState;
|
18035
18749
|
/**
|
18036
18750
|
* The browser context to create the page in.
|
18751
|
+
* @experimental
|
18037
18752
|
*/
|
18038
18753
|
browserContextId?: Browser.BrowserContextID;
|
18039
18754
|
/**
|
18040
18755
|
* Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
|
18041
18756
|
* not supported on MacOS yet, false by default).
|
18757
|
+
* @experimental
|
18042
18758
|
*/
|
18043
18759
|
enableBeginFrameControl?: boolean;
|
18044
18760
|
/**
|
@@ -18052,12 +18768,14 @@ export namespace Protocol {
|
|
18052
18768
|
background?: boolean;
|
18053
18769
|
/**
|
18054
18770
|
* Whether to create the target of type "tab".
|
18771
|
+
* @experimental
|
18055
18772
|
*/
|
18056
18773
|
forTab?: boolean;
|
18057
18774
|
/**
|
18058
18775
|
* Whether to create a hidden target. The hidden target is observable via protocol, but not
|
18059
18776
|
* present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
|
18060
18777
|
* `background: false`. The life-time of the tab is limited to the life-time of the session.
|
18778
|
+
* @experimental
|
18061
18779
|
*/
|
18062
18780
|
hidden?: boolean;
|
18063
18781
|
}
|
@@ -18076,6 +18794,7 @@ export namespace Protocol {
|
|
18076
18794
|
sessionId?: SessionID;
|
18077
18795
|
/**
|
18078
18796
|
* Deprecated.
|
18797
|
+
* @deprecated
|
18079
18798
|
*/
|
18080
18799
|
targetId?: TargetID;
|
18081
18800
|
}
|
@@ -18097,6 +18816,7 @@ export namespace Protocol {
|
|
18097
18816
|
* Only targets matching filter will be reported. If filter is not specified
|
18098
18817
|
* and target discovery is currently enabled, a filter used for target discovery
|
18099
18818
|
* is used for consistency.
|
18819
|
+
* @experimental
|
18100
18820
|
*/
|
18101
18821
|
filter?: TargetFilter;
|
18102
18822
|
}
|
@@ -18116,6 +18836,7 @@ export namespace Protocol {
|
|
18116
18836
|
sessionId?: SessionID;
|
18117
18837
|
/**
|
18118
18838
|
* Deprecated.
|
18839
|
+
* @deprecated
|
18119
18840
|
*/
|
18120
18841
|
targetId?: TargetID;
|
18121
18842
|
}
|
@@ -18134,10 +18855,12 @@ export namespace Protocol {
|
|
18134
18855
|
* Enables "flat" access to the session via specifying sessionId attribute in the commands.
|
18135
18856
|
* We plan to make this the default, deprecate non-flattened mode,
|
18136
18857
|
* and eventually retire it. See crbug.com/991325.
|
18858
|
+
* @experimental
|
18137
18859
|
*/
|
18138
18860
|
flatten?: boolean;
|
18139
18861
|
/**
|
18140
18862
|
* Only targets matching filter will be attached.
|
18863
|
+
* @experimental
|
18141
18864
|
*/
|
18142
18865
|
filter?: TargetFilter;
|
18143
18866
|
}
|
@@ -18151,6 +18874,7 @@ export namespace Protocol {
|
|
18151
18874
|
waitForDebuggerOnStart: boolean;
|
18152
18875
|
/**
|
18153
18876
|
* Only targets matching filter will be attached.
|
18877
|
+
* @experimental
|
18154
18878
|
*/
|
18155
18879
|
filter?: TargetFilter;
|
18156
18880
|
}
|
@@ -18163,6 +18887,7 @@ export namespace Protocol {
|
|
18163
18887
|
/**
|
18164
18888
|
* Only targets matching filter will be attached. If `discover` is false,
|
18165
18889
|
* `filter` must be omitted or empty.
|
18890
|
+
* @experimental
|
18166
18891
|
*/
|
18167
18892
|
filter?: TargetFilter;
|
18168
18893
|
}
|
@@ -18176,6 +18901,7 @@ export namespace Protocol {
|
|
18176
18901
|
|
18177
18902
|
/**
|
18178
18903
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
18904
|
+
* @experimental
|
18179
18905
|
*/
|
18180
18906
|
export interface AttachedToTargetEvent {
|
18181
18907
|
/**
|
@@ -18189,6 +18915,7 @@ export namespace Protocol {
|
|
18189
18915
|
/**
|
18190
18916
|
* Issued when detached from target for any reason (including `detachFromTarget` command). Can be
|
18191
18917
|
* issued multiple times per target if multiple sessions have been attached to it.
|
18918
|
+
* @experimental
|
18192
18919
|
*/
|
18193
18920
|
export interface DetachedFromTargetEvent {
|
18194
18921
|
/**
|
@@ -18197,6 +18924,7 @@ export namespace Protocol {
|
|
18197
18924
|
sessionId: SessionID;
|
18198
18925
|
/**
|
18199
18926
|
* Deprecated.
|
18927
|
+
* @deprecated
|
18200
18928
|
*/
|
18201
18929
|
targetId?: TargetID;
|
18202
18930
|
}
|
@@ -18213,6 +18941,7 @@ export namespace Protocol {
|
|
18213
18941
|
message: string;
|
18214
18942
|
/**
|
18215
18943
|
* Deprecated.
|
18944
|
+
* @deprecated
|
18216
18945
|
*/
|
18217
18946
|
targetId?: TargetID;
|
18218
18947
|
}
|
@@ -18257,6 +18986,7 @@ export namespace Protocol {
|
|
18257
18986
|
|
18258
18987
|
/**
|
18259
18988
|
* The Tethering domain defines methods and events for browser port binding.
|
18989
|
+
* @experimental
|
18260
18990
|
*/
|
18261
18991
|
export namespace Tethering {
|
18262
18992
|
|
@@ -18293,6 +19023,7 @@ export namespace Protocol {
|
|
18293
19023
|
|
18294
19024
|
/**
|
18295
19025
|
* Configuration for memory dump. Used only when "memory-infra" category is enabled.
|
19026
|
+
* @experimental
|
18296
19027
|
*/
|
18297
19028
|
export interface MemoryDumpConfig {
|
18298
19029
|
[key: string]: string;
|
@@ -18307,24 +19038,29 @@ export namespace Protocol {
|
|
18307
19038
|
|
18308
19039
|
export interface TraceConfig {
|
18309
19040
|
/**
|
18310
|
-
* 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
|
18311
19043
|
*/
|
18312
19044
|
recordMode?: ('recordUntilFull' | 'recordContinuously' | 'recordAsMuchAsPossible' | 'echoToConsole');
|
18313
19045
|
/**
|
18314
19046
|
* Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
18315
19047
|
* of 200 MB would be used.
|
19048
|
+
* @experimental
|
18316
19049
|
*/
|
18317
19050
|
traceBufferSizeInKb?: number;
|
18318
19051
|
/**
|
18319
19052
|
* Turns on JavaScript stack sampling.
|
19053
|
+
* @experimental
|
18320
19054
|
*/
|
18321
19055
|
enableSampling?: boolean;
|
18322
19056
|
/**
|
18323
19057
|
* Turns on system tracing.
|
19058
|
+
* @experimental
|
18324
19059
|
*/
|
18325
19060
|
enableSystrace?: boolean;
|
18326
19061
|
/**
|
18327
19062
|
* Turns on argument filter.
|
19063
|
+
* @experimental
|
18328
19064
|
*/
|
18329
19065
|
enableArgumentFilter?: boolean;
|
18330
19066
|
/**
|
@@ -18337,10 +19073,12 @@ export namespace Protocol {
|
|
18337
19073
|
excludedCategories?: string[];
|
18338
19074
|
/**
|
18339
19075
|
* Configuration to synthesize the delays in tracing.
|
19076
|
+
* @experimental
|
18340
19077
|
*/
|
18341
19078
|
syntheticDelays?: string[];
|
18342
19079
|
/**
|
18343
19080
|
* Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
|
19081
|
+
* @experimental
|
18344
19082
|
*/
|
18345
19083
|
memoryDumpConfig?: MemoryDumpConfig;
|
18346
19084
|
}
|
@@ -18348,11 +19086,13 @@ export namespace Protocol {
|
|
18348
19086
|
/**
|
18349
19087
|
* Data format of a trace. Can be either the legacy JSON format or the
|
18350
19088
|
* protocol buffer format. Note that the JSON format will be deprecated soon.
|
19089
|
+
* @experimental
|
18351
19090
|
*/
|
18352
19091
|
export type StreamFormat = ('json' | 'proto');
|
18353
19092
|
|
18354
19093
|
/**
|
18355
19094
|
* Compression type to use for traces returned via streams.
|
19095
|
+
* @experimental
|
18356
19096
|
*/
|
18357
19097
|
export type StreamCompression = ('none' | 'gzip');
|
18358
19098
|
|
@@ -18360,6 +19100,7 @@ export namespace Protocol {
|
|
18360
19100
|
* Details exposed when memory request explicitly declared.
|
18361
19101
|
* Keep consistent with memory_dump_request_args.h and
|
18362
19102
|
* memory_instrumentation.mojom
|
19103
|
+
* @experimental
|
18363
19104
|
*/
|
18364
19105
|
export type MemoryDumpLevelOfDetail = ('background' | 'light' | 'detailed');
|
18365
19106
|
|
@@ -18369,6 +19110,7 @@ export namespace Protocol {
|
|
18369
19110
|
* supported on Chrome OS and uses the Perfetto system tracing service.
|
18370
19111
|
* `auto` chooses `system` when the perfettoConfig provided to Tracing.start
|
18371
19112
|
* specifies at least one non-Chrome data source; otherwise uses `chrome`.
|
19113
|
+
* @experimental
|
18372
19114
|
*/
|
18373
19115
|
export type TracingBackend = ('auto' | 'chrome' | 'system');
|
18374
19116
|
|
@@ -18416,19 +19158,24 @@ export namespace Protocol {
|
|
18416
19158
|
export interface StartRequest {
|
18417
19159
|
/**
|
18418
19160
|
* Category/tag filter
|
19161
|
+
* @deprecated
|
19162
|
+
* @experimental
|
18419
19163
|
*/
|
18420
19164
|
categories?: string;
|
18421
19165
|
/**
|
18422
19166
|
* Tracing options
|
19167
|
+
* @deprecated
|
19168
|
+
* @experimental
|
18423
19169
|
*/
|
18424
19170
|
options?: string;
|
18425
19171
|
/**
|
18426
19172
|
* If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
|
19173
|
+
* @experimental
|
18427
19174
|
*/
|
18428
19175
|
bufferUsageReportingInterval?: number;
|
18429
19176
|
/**
|
18430
19177
|
* Whether to report trace events as series of dataCollected events or to save trace to a
|
18431
|
-
* stream (defaults to `ReportEvents`).
|
19178
|
+
* stream (defaults to `ReportEvents`).
|
18432
19179
|
*/
|
18433
19180
|
transferMode?: ('ReportEvents' | 'ReturnAsStream');
|
18434
19181
|
/**
|
@@ -18439,6 +19186,7 @@ export namespace Protocol {
|
|
18439
19186
|
/**
|
18440
19187
|
* Compression format to use. This only applies when using `ReturnAsStream`
|
18441
19188
|
* transfer mode (defaults to `none`)
|
19189
|
+
* @experimental
|
18442
19190
|
*/
|
18443
19191
|
streamCompression?: StreamCompression;
|
18444
19192
|
traceConfig?: TraceConfig;
|
@@ -18446,14 +19194,19 @@ export namespace Protocol {
|
|
18446
19194
|
* Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
|
18447
19195
|
* When specified, the parameters `categories`, `options`, `traceConfig`
|
18448
19196
|
* are ignored. (Encoded as a base64 string when passed over JSON)
|
19197
|
+
* @experimental
|
18449
19198
|
*/
|
18450
19199
|
perfettoConfig?: string;
|
18451
19200
|
/**
|
18452
19201
|
* Backend type (defaults to `auto`)
|
19202
|
+
* @experimental
|
18453
19203
|
*/
|
18454
19204
|
tracingBackend?: TracingBackend;
|
18455
19205
|
}
|
18456
19206
|
|
19207
|
+
/**
|
19208
|
+
* @experimental
|
19209
|
+
*/
|
18457
19210
|
export interface BufferUsageEvent {
|
18458
19211
|
/**
|
18459
19212
|
* A number in range [0..1] that indicates the used size of event buffer as a fraction of its
|
@@ -18474,6 +19227,7 @@ export namespace Protocol {
|
|
18474
19227
|
/**
|
18475
19228
|
* Contains a bucket of collected trace events. When tracing is stopped collected events will be
|
18476
19229
|
* sent as a sequence of dataCollected events followed by tracingComplete event.
|
19230
|
+
* @experimental
|
18477
19231
|
*/
|
18478
19232
|
export interface DataCollectedEvent {
|
18479
19233
|
value: any[];
|
@@ -18557,7 +19311,7 @@ export namespace Protocol {
|
|
18557
19311
|
*/
|
18558
19312
|
export interface AuthChallenge {
|
18559
19313
|
/**
|
18560
|
-
* Source of the authentication challenge.
|
19314
|
+
* Source of the authentication challenge.
|
18561
19315
|
*/
|
18562
19316
|
source?: ('Server' | 'Proxy');
|
18563
19317
|
/**
|
@@ -18587,7 +19341,7 @@ export namespace Protocol {
|
|
18587
19341
|
/**
|
18588
19342
|
* The decision on what to do in response to the authorization challenge. Default means
|
18589
19343
|
* deferring to the default behavior of the net stack, which will likely either the Cancel
|
18590
|
-
* authentication or display a popup dialog box.
|
19344
|
+
* authentication or display a popup dialog box.
|
18591
19345
|
*/
|
18592
19346
|
response: ('Default' | 'CancelAuth' | 'ProvideCredentials');
|
18593
19347
|
/**
|
@@ -18685,6 +19439,7 @@ export namespace Protocol {
|
|
18685
19439
|
headers?: HeaderEntry[];
|
18686
19440
|
/**
|
18687
19441
|
* If set, overrides response interception behavior for this request.
|
19442
|
+
* @experimental
|
18688
19443
|
*/
|
18689
19444
|
interceptResponse?: boolean;
|
18690
19445
|
}
|
@@ -18807,6 +19562,7 @@ export namespace Protocol {
|
|
18807
19562
|
/**
|
18808
19563
|
* If the request is due to a redirect response from the server, the id of the request that
|
18809
19564
|
* has caused the redirect.
|
19565
|
+
* @experimental
|
18810
19566
|
*/
|
18811
19567
|
redirectedRequestId?: RequestId;
|
18812
19568
|
}
|
@@ -18844,6 +19600,7 @@ export namespace Protocol {
|
|
18844
19600
|
/**
|
18845
19601
|
* This domain allows inspection of Web Audio API.
|
18846
19602
|
* https://webaudio.github.io/web-audio-api/
|
19603
|
+
* @experimental
|
18847
19604
|
*/
|
18848
19605
|
export namespace WebAudio {
|
18849
19606
|
|
@@ -19090,6 +19847,7 @@ export namespace Protocol {
|
|
19090
19847
|
/**
|
19091
19848
|
* This domain allows configuring virtual authenticators to test the WebAuthn
|
19092
19849
|
* API.
|
19850
|
+
* @experimental
|
19093
19851
|
*/
|
19094
19852
|
export namespace WebAuthn {
|
19095
19853
|
|
@@ -19344,6 +20102,7 @@ export namespace Protocol {
|
|
19344
20102
|
|
19345
20103
|
/**
|
19346
20104
|
* This domain allows detailed inspection of media elements
|
20105
|
+
* @experimental
|
19347
20106
|
*/
|
19348
20107
|
export namespace Media {
|
19349
20108
|
|
@@ -19375,7 +20134,7 @@ export namespace Protocol {
|
|
19375
20134
|
* representation of a media::PipelineStatus object. Soon however we're
|
19376
20135
|
* going to be moving away from using PipelineStatus for errors and
|
19377
20136
|
* introducing a new error type which should hopefully let us integrate
|
19378
|
-
* the error log level into the PlayerError type.
|
20137
|
+
* the error log level into the PlayerError type.
|
19379
20138
|
*/
|
19380
20139
|
level: ('error' | 'warning' | 'info' | 'debug');
|
19381
20140
|
message: string;
|
@@ -19475,6 +20234,9 @@ export namespace Protocol {
|
|
19475
20234
|
}
|
19476
20235
|
}
|
19477
20236
|
|
20237
|
+
/**
|
20238
|
+
* @experimental
|
20239
|
+
*/
|
19478
20240
|
export namespace DeviceAccess {
|
19479
20241
|
|
19480
20242
|
/**
|
@@ -19517,6 +20279,9 @@ export namespace Protocol {
|
|
19517
20279
|
}
|
19518
20280
|
}
|
19519
20281
|
|
20282
|
+
/**
|
20283
|
+
* @experimental
|
20284
|
+
*/
|
19520
20285
|
export namespace Preload {
|
19521
20286
|
|
19522
20287
|
/**
|
@@ -19565,6 +20330,7 @@ export namespace Protocol {
|
|
19565
20330
|
errorType?: RuleSetErrorType;
|
19566
20331
|
/**
|
19567
20332
|
* TODO(https://crbug.com/1425354): Replace this property with structured error.
|
20333
|
+
* @deprecated
|
19568
20334
|
*/
|
19569
20335
|
errorMessage?: string;
|
19570
20336
|
}
|
@@ -19626,7 +20392,7 @@ export namespace Protocol {
|
|
19626
20392
|
/**
|
19627
20393
|
* List of FinalStatus reasons for Prerender2.
|
19628
20394
|
*/
|
19629
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved');
|
20395
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused');
|
19630
20396
|
|
19631
20397
|
/**
|
19632
20398
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
@@ -19714,6 +20480,7 @@ export namespace Protocol {
|
|
19714
20480
|
|
19715
20481
|
/**
|
19716
20482
|
* This domain allows interacting with the FedCM dialog.
|
20483
|
+
* @experimental
|
19717
20484
|
*/
|
19718
20485
|
export namespace FedCm {
|
19719
20486
|
|
@@ -19810,6 +20577,7 @@ export namespace Protocol {
|
|
19810
20577
|
|
19811
20578
|
/**
|
19812
20579
|
* This domain allows interacting with the browser to control PWAs.
|
20580
|
+
* @experimental
|
19813
20581
|
*/
|
19814
20582
|
export namespace PWA {
|
19815
20583
|
|
@@ -19915,6 +20683,7 @@ export namespace Protocol {
|
|
19915
20683
|
/**
|
19916
20684
|
* This domain allows configuring virtual Bluetooth devices to test
|
19917
20685
|
* the web-bluetooth API.
|
20686
|
+
* @experimental
|
19918
20687
|
*/
|
19919
20688
|
export namespace BluetoothEmulation {
|
19920
20689
|
|