wrangler 3.60.3 → 3.61.0
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/config-schema.json +105 -0
- package/package.json +21 -21
- package/templates/gitignore +3 -0
- package/wrangler-dist/cli.d.ts +2472 -353
- package/wrangler-dist/cli.js +2524 -2958
- package/wrangler-dist/cli.js.map +4 -4
package/wrangler-dist/cli.d.ts
CHANGED
@@ -175,7 +175,7 @@ declare type BodyInit =
|
|
175
175
|
| ArrayBuffer
|
176
176
|
| AsyncIterable<Uint8Array>
|
177
177
|
| Blob_2
|
178
|
-
|
|
178
|
+
| FormData_2
|
179
179
|
| Iterable<Uint8Array>
|
180
180
|
| NodeJS.ArrayBufferView
|
181
181
|
| URLSearchParams_2
|
@@ -188,7 +188,7 @@ declare interface BodyMixin {
|
|
188
188
|
|
189
189
|
readonly arrayBuffer: () => Promise<ArrayBuffer>
|
190
190
|
readonly blob: () => Promise<Blob_2>
|
191
|
-
readonly formData: () => Promise<
|
191
|
+
readonly formData: () => Promise<FormData_2>
|
192
192
|
readonly json: () => Promise<unknown>
|
193
193
|
readonly text: () => Promise<string>
|
194
194
|
}
|
@@ -913,28 +913,6 @@ declare interface ConfigFields<Dev extends RawDevConfig> {
|
|
913
913
|
* Options to configure the development server that your worker will use.
|
914
914
|
*/
|
915
915
|
dev: Dev;
|
916
|
-
/**
|
917
|
-
* A list of migrations that should be uploaded with your Worker.
|
918
|
-
*
|
919
|
-
* These define changes in your Durable Object declarations.
|
920
|
-
*
|
921
|
-
* More details at https://developers.cloudflare.com/workers/learning/using-durable-objects#configuring-durable-object-classes-with-migrations
|
922
|
-
*
|
923
|
-
* @default []
|
924
|
-
*/
|
925
|
-
migrations: {
|
926
|
-
/** A unique identifier for this migration. */
|
927
|
-
tag: string;
|
928
|
-
/** The new Durable Objects being defined. */
|
929
|
-
new_classes?: string[];
|
930
|
-
/** The Durable Objects being renamed. */
|
931
|
-
renamed_classes?: {
|
932
|
-
from: string;
|
933
|
-
to: string;
|
934
|
-
}[];
|
935
|
-
/** The Durable Objects being removed. */
|
936
|
-
deleted_classes?: string[];
|
937
|
-
}[];
|
938
916
|
/**
|
939
917
|
* The definition of a Worker Site, a feature that lets you upload
|
940
918
|
* static assets with your Worker.
|
@@ -1390,7 +1368,7 @@ declare namespace Dispatcher {
|
|
1390
1368
|
path: string;
|
1391
1369
|
method: HttpMethod;
|
1392
1370
|
/** Default: `null` */
|
1393
|
-
body?: string | Buffer | Uint8Array | Readable | null |
|
1371
|
+
body?: string | Buffer | Uint8Array | Readable | null | FormData_2;
|
1394
1372
|
/** Default: `null` */
|
1395
1373
|
headers?: IncomingHttpHeaders | string[] | null;
|
1396
1374
|
/** Query string params to be embedded in the request URL. Default: `null` */
|
@@ -1709,6 +1687,29 @@ declare interface EnvironmentInheritable {
|
|
1709
1687
|
* @inheritable
|
1710
1688
|
*/
|
1711
1689
|
jsx_fragment: string;
|
1690
|
+
/**
|
1691
|
+
* A list of migrations that should be uploaded with your Worker.
|
1692
|
+
*
|
1693
|
+
* These define changes in your Durable Object declarations.
|
1694
|
+
*
|
1695
|
+
* More details at https://developers.cloudflare.com/workers/learning/using-durable-objects#configuring-durable-object-classes-with-migrations
|
1696
|
+
*
|
1697
|
+
* @default []
|
1698
|
+
* @inheritable
|
1699
|
+
*/
|
1700
|
+
migrations: {
|
1701
|
+
/** A unique identifier for this migration. */
|
1702
|
+
tag: string;
|
1703
|
+
/** The new Durable Objects being defined. */
|
1704
|
+
new_classes?: string[];
|
1705
|
+
/** The Durable Objects being renamed. */
|
1706
|
+
renamed_classes?: {
|
1707
|
+
from: string;
|
1708
|
+
to: string;
|
1709
|
+
}[];
|
1710
|
+
/** The Durable Objects being removed. */
|
1711
|
+
deleted_classes?: string[];
|
1712
|
+
}[];
|
1712
1713
|
/**
|
1713
1714
|
* "Cron" definitions to trigger a Worker's "scheduled" function.
|
1714
1715
|
*
|
@@ -2501,7 +2502,7 @@ declare class FileReader {
|
|
2501
2502
|
/**
|
2502
2503
|
* Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using fetch().
|
2503
2504
|
*/
|
2504
|
-
declare class
|
2505
|
+
declare class FormData_2 {
|
2505
2506
|
/**
|
2506
2507
|
* Appends a new value onto an existing key inside a FormData object,
|
2507
2508
|
* or adds the key if it does not already exist.
|
@@ -2566,7 +2567,7 @@ declare class FormData {
|
|
2566
2567
|
* Executes given callback function for each field of the FormData instance
|
2567
2568
|
*/
|
2568
2569
|
forEach: (
|
2569
|
-
callbackfn: (value: FormDataEntryValue, key: string, iterable:
|
2570
|
+
callbackfn: (value: FormDataEntryValue, key: string, iterable: FormData_2) => void,
|
2570
2571
|
thisArg?: unknown
|
2571
2572
|
) => void
|
2572
2573
|
|
@@ -3297,6 +3298,8 @@ declare namespace Protocol {
|
|
3297
3298
|
location: Location;
|
3298
3299
|
/**
|
3299
3300
|
* JavaScript script name or url.
|
3301
|
+
* Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously
|
3302
|
+
* sent `Debugger.scriptParsed` event.
|
3300
3303
|
*/
|
3301
3304
|
url: string;
|
3302
3305
|
/**
|
@@ -3311,6 +3314,13 @@ declare namespace Protocol {
|
|
3311
3314
|
* The value being returned, if the function is at return point.
|
3312
3315
|
*/
|
3313
3316
|
returnValue?: Runtime.RemoteObject;
|
3317
|
+
/**
|
3318
|
+
* Valid only while the VM is paused and indicates whether this frame
|
3319
|
+
* can be restarted or not. Note that a `true` value here does not
|
3320
|
+
* guarantee that Debugger#restartFrame with this CallFrameId will be
|
3321
|
+
* successful, but it is very likely.
|
3322
|
+
*/
|
3323
|
+
canBeRestarted?: boolean;
|
3314
3324
|
}
|
3315
3325
|
|
3316
3326
|
const enum ScopeType {
|
@@ -3390,6 +3400,17 @@ declare namespace Protocol {
|
|
3390
3400
|
type?: ('debuggerStatement' | 'call' | 'return');
|
3391
3401
|
}
|
3392
3402
|
|
3403
|
+
interface WasmDisassemblyChunk {
|
3404
|
+
/**
|
3405
|
+
* The next chunk of disassembled lines.
|
3406
|
+
*/
|
3407
|
+
lines: string[];
|
3408
|
+
/**
|
3409
|
+
* The bytecode offsets describing the start of each line.
|
3410
|
+
*/
|
3411
|
+
bytecodeOffsets: integer[];
|
3412
|
+
}
|
3413
|
+
|
3393
3414
|
/**
|
3394
3415
|
* Enum of possible script languages.
|
3395
3416
|
*/
|
@@ -3541,6 +3562,45 @@ declare namespace Protocol {
|
|
3541
3562
|
bytecode?: string;
|
3542
3563
|
}
|
3543
3564
|
|
3565
|
+
interface DisassembleWasmModuleRequest {
|
3566
|
+
/**
|
3567
|
+
* Id of the script to disassemble
|
3568
|
+
*/
|
3569
|
+
scriptId: Runtime.ScriptId;
|
3570
|
+
}
|
3571
|
+
|
3572
|
+
interface DisassembleWasmModuleResponse {
|
3573
|
+
/**
|
3574
|
+
* For large modules, return a stream from which additional chunks of
|
3575
|
+
* disassembly can be read successively.
|
3576
|
+
*/
|
3577
|
+
streamId?: string;
|
3578
|
+
/**
|
3579
|
+
* The total number of lines in the disassembly text.
|
3580
|
+
*/
|
3581
|
+
totalNumberOfLines: integer;
|
3582
|
+
/**
|
3583
|
+
* The offsets of all function bodies, in the format [start1, end1,
|
3584
|
+
* start2, end2, ...] where all ends are exclusive.
|
3585
|
+
*/
|
3586
|
+
functionBodyOffsets: integer[];
|
3587
|
+
/**
|
3588
|
+
* The first chunk of disassembly.
|
3589
|
+
*/
|
3590
|
+
chunk: WasmDisassemblyChunk;
|
3591
|
+
}
|
3592
|
+
|
3593
|
+
interface NextWasmDisassemblyChunkRequest {
|
3594
|
+
streamId: string;
|
3595
|
+
}
|
3596
|
+
|
3597
|
+
interface NextWasmDisassemblyChunkResponse {
|
3598
|
+
/**
|
3599
|
+
* The next chunk of disassembly.
|
3600
|
+
*/
|
3601
|
+
chunk: WasmDisassemblyChunk;
|
3602
|
+
}
|
3603
|
+
|
3544
3604
|
interface GetWasmBytecodeRequest {
|
3545
3605
|
/**
|
3546
3606
|
* Id of the Wasm script to get source for.
|
@@ -3574,11 +3634,20 @@ declare namespace Protocol {
|
|
3574
3634
|
breakpointId: BreakpointId;
|
3575
3635
|
}
|
3576
3636
|
|
3637
|
+
const enum RestartFrameRequestMode {
|
3638
|
+
StepInto = 'StepInto',
|
3639
|
+
}
|
3640
|
+
|
3577
3641
|
interface RestartFrameRequest {
|
3578
3642
|
/**
|
3579
3643
|
* Call frame identifier to evaluate on.
|
3580
3644
|
*/
|
3581
3645
|
callFrameId: CallFrameId;
|
3646
|
+
/**
|
3647
|
+
* The `mode` parameter must be present and set to 'StepInto', otherwise
|
3648
|
+
* `restartFrame` will error out. (RestartFrameRequestMode enum)
|
3649
|
+
*/
|
3650
|
+
mode?: ('StepInto');
|
3582
3651
|
}
|
3583
3652
|
|
3584
3653
|
interface RestartFrameResponse {
|
@@ -3766,6 +3835,7 @@ declare namespace Protocol {
|
|
3766
3835
|
|
3767
3836
|
const enum SetPauseOnExceptionsRequestState {
|
3768
3837
|
None = 'none',
|
3838
|
+
Caught = 'caught',
|
3769
3839
|
Uncaught = 'uncaught',
|
3770
3840
|
All = 'all',
|
3771
3841
|
}
|
@@ -3774,7 +3844,7 @@ declare namespace Protocol {
|
|
3774
3844
|
/**
|
3775
3845
|
* Pause on exceptions mode. (SetPauseOnExceptionsRequestState enum)
|
3776
3846
|
*/
|
3777
|
-
state: ('none' | 'uncaught' | 'all');
|
3847
|
+
state: ('none' | 'caught' | 'uncaught' | 'all');
|
3778
3848
|
}
|
3779
3849
|
|
3780
3850
|
interface SetReturnValueRequest {
|
@@ -3784,6 +3854,14 @@ declare namespace Protocol {
|
|
3784
3854
|
newValue: Runtime.CallArgument;
|
3785
3855
|
}
|
3786
3856
|
|
3857
|
+
const enum SetScriptSourceResponseStatus {
|
3858
|
+
Ok = 'Ok',
|
3859
|
+
CompileError = 'CompileError',
|
3860
|
+
BlockedByActiveGenerator = 'BlockedByActiveGenerator',
|
3861
|
+
BlockedByActiveFunction = 'BlockedByActiveFunction',
|
3862
|
+
BlockedByTopLevelEsModuleChange = 'BlockedByTopLevelEsModuleChange',
|
3863
|
+
}
|
3864
|
+
|
3787
3865
|
interface SetScriptSourceRequest {
|
3788
3866
|
/**
|
3789
3867
|
* Id of the script to edit.
|
@@ -3798,6 +3876,11 @@ declare namespace Protocol {
|
|
3798
3876
|
* description without actually modifying the code.
|
3799
3877
|
*/
|
3800
3878
|
dryRun?: boolean;
|
3879
|
+
/**
|
3880
|
+
* If true, then `scriptSource` is allowed to change the function on top of the stack
|
3881
|
+
* as long as the top-most stack frame is the only activation of that function.
|
3882
|
+
*/
|
3883
|
+
allowTopFrameEditing?: boolean;
|
3801
3884
|
}
|
3802
3885
|
|
3803
3886
|
interface SetScriptSourceResponse {
|
@@ -3818,7 +3901,13 @@ declare namespace Protocol {
|
|
3818
3901
|
*/
|
3819
3902
|
asyncStackTraceId?: Runtime.StackTraceId;
|
3820
3903
|
/**
|
3821
|
-
*
|
3904
|
+
* Whether the operation was successful or not. Only `Ok` denotes a
|
3905
|
+
* successful live edit while the other enum variants denote why
|
3906
|
+
* the live edit failed. (SetScriptSourceResponseStatus enum)
|
3907
|
+
*/
|
3908
|
+
status: ('Ok' | 'CompileError' | 'BlockedByActiveGenerator' | 'BlockedByActiveFunction' | 'BlockedByTopLevelEsModuleChange');
|
3909
|
+
/**
|
3910
|
+
* Exception details if any. Only present when `status` is `CompileError`.
|
3822
3911
|
*/
|
3823
3912
|
exceptionDetails?: Runtime.ExceptionDetails;
|
3824
3913
|
}
|
@@ -3896,6 +3985,7 @@ declare namespace Protocol {
|
|
3896
3985
|
Other = 'other',
|
3897
3986
|
PromiseRejection = 'promiseRejection',
|
3898
3987
|
XHR = 'XHR',
|
3988
|
+
Step = 'step',
|
3899
3989
|
}
|
3900
3990
|
|
3901
3991
|
/**
|
@@ -3909,7 +3999,7 @@ declare namespace Protocol {
|
|
3909
3999
|
/**
|
3910
4000
|
* Pause reason. (PausedEventReason enum)
|
3911
4001
|
*/
|
3912
|
-
reason: ('ambiguous' | 'assert' | 'CSPViolation' | 'debugCommand' | 'DOM' | 'EventListener' | 'exception' | 'instrumentation' | 'OOM' | 'other' | 'promiseRejection' | 'XHR');
|
4002
|
+
reason: ('ambiguous' | 'assert' | 'CSPViolation' | 'debugCommand' | 'DOM' | 'EventListener' | 'exception' | 'instrumentation' | 'OOM' | 'other' | 'promiseRejection' | 'XHR' | 'step');
|
3913
4003
|
/**
|
3914
4004
|
* Object containing break-specific auxiliary properties.
|
3915
4005
|
*/
|
@@ -3965,11 +4055,11 @@ declare namespace Protocol {
|
|
3965
4055
|
*/
|
3966
4056
|
executionContextId: Runtime.ExecutionContextId;
|
3967
4057
|
/**
|
3968
|
-
* Content hash of the script.
|
4058
|
+
* Content hash of the script, SHA-256.
|
3969
4059
|
*/
|
3970
4060
|
hash: string;
|
3971
4061
|
/**
|
3972
|
-
* Embedder-specific auxiliary data
|
4062
|
+
* Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
|
3973
4063
|
*/
|
3974
4064
|
executionContextAuxData?: any;
|
3975
4065
|
/**
|
@@ -4040,11 +4130,11 @@ declare namespace Protocol {
|
|
4040
4130
|
*/
|
4041
4131
|
executionContextId: Runtime.ExecutionContextId;
|
4042
4132
|
/**
|
4043
|
-
* Content hash of the script.
|
4133
|
+
* Content hash of the script, SHA-256.
|
4044
4134
|
*/
|
4045
4135
|
hash: string;
|
4046
4136
|
/**
|
4047
|
-
* Embedder-specific auxiliary data
|
4137
|
+
* Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
|
4048
4138
|
*/
|
4049
4139
|
executionContextAuxData?: any;
|
4050
4140
|
/**
|
@@ -4195,6 +4285,26 @@ declare namespace Protocol {
|
|
4195
4285
|
* default value is 32768 bytes.
|
4196
4286
|
*/
|
4197
4287
|
samplingInterval?: number;
|
4288
|
+
/**
|
4289
|
+
* By default, the sampling heap profiler reports only objects which are
|
4290
|
+
* still alive when the profile is returned via getSamplingProfile or
|
4291
|
+
* stopSampling, which is useful for determining what functions contribute
|
4292
|
+
* the most to steady-state memory usage. This flag instructs the sampling
|
4293
|
+
* heap profiler to also include information about objects discarded by
|
4294
|
+
* major GC, which will show which functions cause large temporary memory
|
4295
|
+
* usage or long GC pauses.
|
4296
|
+
*/
|
4297
|
+
includeObjectsCollectedByMajorGC?: boolean;
|
4298
|
+
/**
|
4299
|
+
* By default, the sampling heap profiler reports only objects which are
|
4300
|
+
* still alive when the profile is returned via getSamplingProfile or
|
4301
|
+
* stopSampling, which is useful for determining what functions contribute
|
4302
|
+
* the most to steady-state memory usage. This flag instructs the sampling
|
4303
|
+
* heap profiler to also include information about objects discarded by
|
4304
|
+
* minor GC, which is useful when tuning a latency-sensitive application
|
4305
|
+
* for minimal GC activity.
|
4306
|
+
*/
|
4307
|
+
includeObjectsCollectedByMinorGC?: boolean;
|
4198
4308
|
}
|
4199
4309
|
|
4200
4310
|
interface StartTrackingHeapObjectsRequest {
|
@@ -4214,11 +4324,18 @@ declare namespace Protocol {
|
|
4214
4324
|
* when the tracking is stopped.
|
4215
4325
|
*/
|
4216
4326
|
reportProgress?: boolean;
|
4327
|
+
/**
|
4328
|
+
* Deprecated in favor of `exposeInternals`.
|
4329
|
+
*/
|
4217
4330
|
treatGlobalObjectsAsRoots?: boolean;
|
4218
4331
|
/**
|
4219
4332
|
* If true, numerical values are included in the snapshot
|
4220
4333
|
*/
|
4221
4334
|
captureNumericValue?: boolean;
|
4335
|
+
/**
|
4336
|
+
* If true, exposes internals of the snapshot.
|
4337
|
+
*/
|
4338
|
+
exposeInternals?: boolean;
|
4222
4339
|
}
|
4223
4340
|
|
4224
4341
|
interface TakeHeapSnapshotRequest {
|
@@ -4227,13 +4344,18 @@ declare namespace Protocol {
|
|
4227
4344
|
*/
|
4228
4345
|
reportProgress?: boolean;
|
4229
4346
|
/**
|
4230
|
-
* If true, a raw snapshot without artificial roots will be generated
|
4347
|
+
* If true, a raw snapshot without artificial roots will be generated.
|
4348
|
+
* Deprecated in favor of `exposeInternals`.
|
4231
4349
|
*/
|
4232
4350
|
treatGlobalObjectsAsRoots?: boolean;
|
4233
4351
|
/**
|
4234
4352
|
* If true, numerical values are included in the snapshot
|
4235
4353
|
*/
|
4236
4354
|
captureNumericValue?: boolean;
|
4355
|
+
/**
|
4356
|
+
* If true, exposes internals of the snapshot.
|
4357
|
+
*/
|
4358
|
+
exposeInternals?: boolean;
|
4237
4359
|
}
|
4238
4360
|
|
4239
4361
|
interface AddHeapSnapshotChunkEvent {
|
@@ -4397,48 +4519,6 @@ declare namespace Protocol {
|
|
4397
4519
|
functions: FunctionCoverage[];
|
4398
4520
|
}
|
4399
4521
|
|
4400
|
-
/**
|
4401
|
-
* Describes a type collected during runtime.
|
4402
|
-
*/
|
4403
|
-
interface TypeObject {
|
4404
|
-
/**
|
4405
|
-
* Name of a type collected with type profiling.
|
4406
|
-
*/
|
4407
|
-
name: string;
|
4408
|
-
}
|
4409
|
-
|
4410
|
-
/**
|
4411
|
-
* Source offset and types for a parameter or return value.
|
4412
|
-
*/
|
4413
|
-
interface TypeProfileEntry {
|
4414
|
-
/**
|
4415
|
-
* Source offset of the parameter or end of function for return values.
|
4416
|
-
*/
|
4417
|
-
offset: integer;
|
4418
|
-
/**
|
4419
|
-
* The types for this parameter or return value.
|
4420
|
-
*/
|
4421
|
-
types: TypeObject[];
|
4422
|
-
}
|
4423
|
-
|
4424
|
-
/**
|
4425
|
-
* Type profile data collected during runtime for a JavaScript script.
|
4426
|
-
*/
|
4427
|
-
interface ScriptTypeProfile {
|
4428
|
-
/**
|
4429
|
-
* JavaScript script id.
|
4430
|
-
*/
|
4431
|
-
scriptId: Runtime.ScriptId;
|
4432
|
-
/**
|
4433
|
-
* JavaScript script name or url.
|
4434
|
-
*/
|
4435
|
-
url: string;
|
4436
|
-
/**
|
4437
|
-
* Type profile entries for parameters and return values of the functions in the script.
|
4438
|
-
*/
|
4439
|
-
entries: TypeProfileEntry[];
|
4440
|
-
}
|
4441
|
-
|
4442
4522
|
interface GetBestEffortCoverageResponse {
|
4443
4523
|
/**
|
4444
4524
|
* Coverage data for the current isolate.
|
@@ -4493,13 +4573,6 @@ declare namespace Protocol {
|
|
4493
4573
|
timestamp: number;
|
4494
4574
|
}
|
4495
4575
|
|
4496
|
-
interface TakeTypeProfileResponse {
|
4497
|
-
/**
|
4498
|
-
* Type profile for all scripts since startTypeProfile() was turned on.
|
4499
|
-
*/
|
4500
|
-
result: ScriptTypeProfile[];
|
4501
|
-
}
|
4502
|
-
|
4503
4576
|
interface ConsoleProfileFinishedEvent {
|
4504
4577
|
id: string;
|
4505
4578
|
/**
|
@@ -4564,6 +4637,77 @@ declare namespace Protocol {
|
|
4564
4637
|
*/
|
4565
4638
|
type ScriptId = string;
|
4566
4639
|
|
4640
|
+
const enum SerializationOptionsSerialization {
|
4641
|
+
Deep = 'deep',
|
4642
|
+
Json = 'json',
|
4643
|
+
IdOnly = 'idOnly',
|
4644
|
+
}
|
4645
|
+
|
4646
|
+
/**
|
4647
|
+
* Represents options for serialization. Overrides `generatePreview`, `returnByValue` and
|
4648
|
+
* `generateWebDriverValue`.
|
4649
|
+
*/
|
4650
|
+
interface SerializationOptions {
|
4651
|
+
/**
|
4652
|
+
* (SerializationOptionsSerialization enum)
|
4653
|
+
*/
|
4654
|
+
serialization: ('deep' | 'json' | 'idOnly');
|
4655
|
+
/**
|
4656
|
+
* Deep serialization depth. Default is full depth. Respected only in `deep` serialization mode.
|
4657
|
+
*/
|
4658
|
+
maxDepth?: integer;
|
4659
|
+
/**
|
4660
|
+
* Embedder-specific parameters. For example if connected to V8 in Chrome these control DOM
|
4661
|
+
* serialization via `maxNodeDepth: integer` and `includeShadowTree: "none" | "open" | "all"`.
|
4662
|
+
* Values can be only of type string or integer.
|
4663
|
+
*/
|
4664
|
+
additionalParameters?: any;
|
4665
|
+
}
|
4666
|
+
|
4667
|
+
const enum DeepSerializedValueType {
|
4668
|
+
Undefined = 'undefined',
|
4669
|
+
Null = 'null',
|
4670
|
+
String = 'string',
|
4671
|
+
Number = 'number',
|
4672
|
+
Boolean = 'boolean',
|
4673
|
+
Bigint = 'bigint',
|
4674
|
+
Regexp = 'regexp',
|
4675
|
+
Date = 'date',
|
4676
|
+
Symbol = 'symbol',
|
4677
|
+
Array = 'array',
|
4678
|
+
Object = 'object',
|
4679
|
+
Function = 'function',
|
4680
|
+
Map = 'map',
|
4681
|
+
Set = 'set',
|
4682
|
+
Weakmap = 'weakmap',
|
4683
|
+
Weakset = 'weakset',
|
4684
|
+
Error = 'error',
|
4685
|
+
Proxy = 'proxy',
|
4686
|
+
Promise = 'promise',
|
4687
|
+
Typedarray = 'typedarray',
|
4688
|
+
Arraybuffer = 'arraybuffer',
|
4689
|
+
Node = 'node',
|
4690
|
+
Window = 'window',
|
4691
|
+
}
|
4692
|
+
|
4693
|
+
/**
|
4694
|
+
* Represents deep serialized value.
|
4695
|
+
*/
|
4696
|
+
interface DeepSerializedValue {
|
4697
|
+
/**
|
4698
|
+
* (DeepSerializedValueType enum)
|
4699
|
+
*/
|
4700
|
+
type: ('undefined' | 'null' | 'string' | 'number' | 'boolean' | 'bigint' | 'regexp' | 'date' | 'symbol' | 'array' | 'object' | 'function' | 'map' | 'set' | 'weakmap' | 'weakset' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'node' | 'window');
|
4701
|
+
value?: any;
|
4702
|
+
objectId?: string;
|
4703
|
+
/**
|
4704
|
+
* Set if value reference met more then once during serialization. In such
|
4705
|
+
* case, value is provided only to one of the serialized values. Unique
|
4706
|
+
* per value in the scope of one CDP call.
|
4707
|
+
*/
|
4708
|
+
weakLocalObjectReference?: integer;
|
4709
|
+
}
|
4710
|
+
|
4567
4711
|
/**
|
4568
4712
|
* Unique object identifier.
|
4569
4713
|
*/
|
@@ -4639,6 +4783,14 @@ declare namespace Protocol {
|
|
4639
4783
|
* String representation of the object.
|
4640
4784
|
*/
|
4641
4785
|
description?: string;
|
4786
|
+
/**
|
4787
|
+
* Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value.
|
4788
|
+
*/
|
4789
|
+
webDriverValue?: DeepSerializedValue;
|
4790
|
+
/**
|
4791
|
+
* Deep serialized value.
|
4792
|
+
*/
|
4793
|
+
deepSerializedValue?: DeepSerializedValue;
|
4642
4794
|
/**
|
4643
4795
|
* Unique object identifier (for non-primitive values).
|
4644
4796
|
*/
|
@@ -4931,7 +5083,7 @@ declare namespace Protocol {
|
|
4931
5083
|
*/
|
4932
5084
|
uniqueId: string;
|
4933
5085
|
/**
|
4934
|
-
* Embedder-specific auxiliary data
|
5086
|
+
* Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
|
4935
5087
|
*/
|
4936
5088
|
auxData?: any;
|
4937
5089
|
}
|
@@ -5106,6 +5258,7 @@ declare namespace Protocol {
|
|
5106
5258
|
silent?: boolean;
|
5107
5259
|
/**
|
5108
5260
|
* Whether the result is expected to be a JSON object which should be sent by value.
|
5261
|
+
* Can be overriden by `serializationOptions`.
|
5109
5262
|
*/
|
5110
5263
|
returnByValue?: boolean;
|
5111
5264
|
/**
|
@@ -5135,6 +5288,27 @@ declare namespace Protocol {
|
|
5135
5288
|
* Whether to throw an exception if side effect cannot be ruled out during evaluation.
|
5136
5289
|
*/
|
5137
5290
|
throwOnSideEffect?: boolean;
|
5291
|
+
/**
|
5292
|
+
* An alternative way to specify the execution context to call function on.
|
5293
|
+
* Compared to contextId that may be reused across processes, this is guaranteed to be
|
5294
|
+
* system-unique, so it can be used to prevent accidental function call
|
5295
|
+
* in context different than intended (e.g. as a result of navigation across process
|
5296
|
+
* boundaries).
|
5297
|
+
* This is mutually exclusive with `executionContextId`.
|
5298
|
+
*/
|
5299
|
+
uniqueContextId?: string;
|
5300
|
+
/**
|
5301
|
+
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
|
5302
|
+
* Whether the result should contain `webDriverValue`, serialized according to
|
5303
|
+
* https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
5304
|
+
* resulting `objectId` is still provided.
|
5305
|
+
*/
|
5306
|
+
generateWebDriverValue?: boolean;
|
5307
|
+
/**
|
5308
|
+
* Specifies the result serialization. If provided, overrides
|
5309
|
+
* `generatePreview`, `returnByValue` and `generateWebDriverValue`.
|
5310
|
+
*/
|
5311
|
+
serializationOptions?: SerializationOptions;
|
5138
5312
|
}
|
5139
5313
|
|
5140
5314
|
interface CallFunctionOnResponse {
|
@@ -5257,6 +5431,19 @@ declare namespace Protocol {
|
|
5257
5431
|
* This is mutually exclusive with `contextId`.
|
5258
5432
|
*/
|
5259
5433
|
uniqueContextId?: string;
|
5434
|
+
/**
|
5435
|
+
* Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.
|
5436
|
+
* Whether the result should contain `webDriverValue`, serialized
|
5437
|
+
* according to
|
5438
|
+
* https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
|
5439
|
+
* resulting `objectId` is still provided.
|
5440
|
+
*/
|
5441
|
+
generateWebDriverValue?: boolean;
|
5442
|
+
/**
|
5443
|
+
* Specifies the result serialization. If provided, overrides
|
5444
|
+
* `generatePreview`, `returnByValue` and `generateWebDriverValue`.
|
5445
|
+
*/
|
5446
|
+
serializationOptions?: SerializationOptions;
|
5260
5447
|
}
|
5261
5448
|
|
5262
5449
|
interface EvaluateResponse {
|
@@ -5466,6 +5653,17 @@ declare namespace Protocol {
|
|
5466
5653
|
name: string;
|
5467
5654
|
}
|
5468
5655
|
|
5656
|
+
interface GetExceptionDetailsRequest {
|
5657
|
+
/**
|
5658
|
+
* The error object for which to resolve the exception details.
|
5659
|
+
*/
|
5660
|
+
errorObjectId: RemoteObjectId;
|
5661
|
+
}
|
5662
|
+
|
5663
|
+
interface GetExceptionDetailsResponse {
|
5664
|
+
exceptionDetails?: ExceptionDetails;
|
5665
|
+
}
|
5666
|
+
|
5469
5667
|
/**
|
5470
5668
|
* Notification is issued every time when binding is called.
|
5471
5669
|
*/
|
@@ -5576,6 +5774,10 @@ declare namespace Protocol {
|
|
5576
5774
|
* Id of the destroyed context
|
5577
5775
|
*/
|
5578
5776
|
executionContextId: ExecutionContextId;
|
5777
|
+
/**
|
5778
|
+
* Unique Id of the destroyed context
|
5779
|
+
*/
|
5780
|
+
executionContextUniqueId: string;
|
5579
5781
|
}
|
5580
5782
|
|
5581
5783
|
/**
|
@@ -5666,7 +5868,7 @@ declare namespace Protocol {
|
|
5666
5868
|
*/
|
5667
5869
|
superseded?: boolean;
|
5668
5870
|
/**
|
5669
|
-
* The native markup source for this value, e.g. a
|
5871
|
+
* The native markup source for this value, e.g. a `<label>` element.
|
5670
5872
|
*/
|
5671
5873
|
nativeSource?: AXValueNativeSourceType;
|
5672
5874
|
/**
|
@@ -5761,6 +5963,10 @@ declare namespace Protocol {
|
|
5761
5963
|
* This `Node`'s role, whether explicit or implicit.
|
5762
5964
|
*/
|
5763
5965
|
role?: AXValue;
|
5966
|
+
/**
|
5967
|
+
* This `Node`'s Chrome raw role.
|
5968
|
+
*/
|
5969
|
+
chromeRole?: AXValue;
|
5764
5970
|
/**
|
5765
5971
|
* The accessible name for this `Node`.
|
5766
5972
|
*/
|
@@ -5809,7 +6015,7 @@ declare namespace Protocol {
|
|
5809
6015
|
*/
|
5810
6016
|
objectId?: Runtime.RemoteObjectId;
|
5811
6017
|
/**
|
5812
|
-
* Whether to fetch this
|
6018
|
+
* Whether to fetch this node's ancestors, siblings and children. Defaults to true.
|
5813
6019
|
*/
|
5814
6020
|
fetchRelatives?: boolean;
|
5815
6021
|
}
|
@@ -5828,10 +6034,6 @@ declare namespace Protocol {
|
|
5828
6034
|
* If omitted, the full tree is returned.
|
5829
6035
|
*/
|
5830
6036
|
depth?: integer;
|
5831
|
-
/**
|
5832
|
-
* Deprecated. This parameter has been renamed to `depth`. If depth is not provided, max_depth will be used.
|
5833
|
-
*/
|
5834
|
-
max_depth?: integer;
|
5835
6037
|
/**
|
5836
6038
|
* The frame for whose document the AX tree should be retrieved.
|
5837
6039
|
* If omited, the root frame is used.
|
@@ -6221,18 +6423,18 @@ declare namespace Protocol {
|
|
6221
6423
|
frameId: Page.FrameId;
|
6222
6424
|
}
|
6223
6425
|
|
6224
|
-
type
|
6426
|
+
type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeInvalidSameParty' | 'ExcludeSamePartyCrossPartyContext' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyCookieBlockedInFirstPartySet' | 'ExcludeThirdPartyPhaseout');
|
6225
6427
|
|
6226
|
-
type
|
6428
|
+
type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII' | 'WarnThirdPartyPhaseout');
|
6227
6429
|
|
6228
|
-
type
|
6430
|
+
type CookieOperation = ('SetCookie' | 'ReadCookie');
|
6229
6431
|
|
6230
6432
|
/**
|
6231
6433
|
* This information is currently necessary, as the front-end has a difficult
|
6232
6434
|
* time finding a specific cookie. With this, we can convey specific error
|
6233
6435
|
* information without the cookie.
|
6234
6436
|
*/
|
6235
|
-
interface
|
6437
|
+
interface CookieIssueDetails {
|
6236
6438
|
/**
|
6237
6439
|
* If AffectedCookie is not set then rawCookieLine contains the raw
|
6238
6440
|
* Set-Cookie header string. This hints at a problem where the
|
@@ -6241,13 +6443,13 @@ declare namespace Protocol {
|
|
6241
6443
|
*/
|
6242
6444
|
cookie?: AffectedCookie;
|
6243
6445
|
rawCookieLine?: string;
|
6244
|
-
cookieWarningReasons:
|
6245
|
-
cookieExclusionReasons:
|
6446
|
+
cookieWarningReasons: CookieWarningReason[];
|
6447
|
+
cookieExclusionReasons: CookieExclusionReason[];
|
6246
6448
|
/**
|
6247
6449
|
* Optionally identifies the site-for-cookies and the cookie url, which
|
6248
6450
|
* may be used by the front-end as additional context.
|
6249
6451
|
*/
|
6250
|
-
operation:
|
6452
|
+
operation: CookieOperation;
|
6251
6453
|
siteForCookies?: string;
|
6252
6454
|
cookieUrl?: string;
|
6253
6455
|
request?: AffectedRequest;
|
@@ -6255,7 +6457,7 @@ declare namespace Protocol {
|
|
6255
6457
|
|
6256
6458
|
type MixedContentResolutionStatus = ('MixedContentBlocked' | 'MixedContentAutomaticallyUpgraded' | 'MixedContentWarning');
|
6257
6459
|
|
6258
|
-
type MixedContentResourceType = ('Audio' | 'Beacon' | 'CSPReport' | 'Download' | 'EventSource' | 'Favicon' | 'Font' | 'Form' | 'Frame' | 'Image' | 'Import' | 'Manifest' | 'Ping' | 'PluginData' | 'PluginResource' | 'Prefetch' | 'Resource' | 'Script' | 'ServiceWorker' | 'SharedWorker' | 'Stylesheet' | 'Track' | 'Video' | 'Worker' | 'XMLHttpRequest' | 'XSLT');
|
6460
|
+
type MixedContentResourceType = ('AttributionSrc' | 'Audio' | 'Beacon' | 'CSPReport' | 'Download' | 'EventSource' | 'Favicon' | 'Font' | 'Form' | 'Frame' | 'Image' | 'Import' | 'Manifest' | 'Ping' | 'PluginData' | 'PluginResource' | 'Prefetch' | 'Resource' | 'Script' | 'ServiceWorker' | 'SharedWorker' | 'Stylesheet' | 'Track' | 'Video' | 'Worker' | 'XMLHttpRequest' | 'XSLT');
|
6259
6461
|
|
6260
6462
|
interface MixedContentIssueDetails {
|
6261
6463
|
/**
|
@@ -6362,27 +6564,6 @@ declare namespace Protocol {
|
|
6362
6564
|
type: SharedArrayBufferIssueType;
|
6363
6565
|
}
|
6364
6566
|
|
6365
|
-
type TwaQualityEnforcementViolationType = ('kHttpError' | 'kUnavailableOffline' | 'kDigitalAssetLinks');
|
6366
|
-
|
6367
|
-
interface TrustedWebActivityIssueDetails {
|
6368
|
-
/**
|
6369
|
-
* The url that triggers the violation.
|
6370
|
-
*/
|
6371
|
-
url: string;
|
6372
|
-
violationType: TwaQualityEnforcementViolationType;
|
6373
|
-
httpStatusCode?: integer;
|
6374
|
-
/**
|
6375
|
-
* The package name of the Trusted Web Activity client app. This field is
|
6376
|
-
* only used when violation type is kDigitalAssetLinks.
|
6377
|
-
*/
|
6378
|
-
packageName?: string;
|
6379
|
-
/**
|
6380
|
-
* The signature of the Trusted Web Activity client app. This field is only
|
6381
|
-
* used when violation type is kDigitalAssetLinks.
|
6382
|
-
*/
|
6383
|
-
signature?: string;
|
6384
|
-
}
|
6385
|
-
|
6386
6567
|
interface LowTextContrastIssueDetails {
|
6387
6568
|
violatingNodeId: DOM.BackendNodeId;
|
6388
6569
|
violatingNodeSelector: string;
|
@@ -6407,15 +6588,14 @@ declare namespace Protocol {
|
|
6407
6588
|
clientSecurityState?: Network.ClientSecurityState;
|
6408
6589
|
}
|
6409
6590
|
|
6410
|
-
type AttributionReportingIssueType = ('PermissionPolicyDisabled' | '
|
6591
|
+
type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation');
|
6411
6592
|
|
6412
6593
|
/**
|
6413
6594
|
* Details for issues around "Attribution Reporting API" usage.
|
6414
|
-
* Explainer: https://github.com/WICG/
|
6595
|
+
* Explainer: https://github.com/WICG/attribution-reporting-api
|
6415
6596
|
*/
|
6416
6597
|
interface AttributionReportingIssueDetails {
|
6417
6598
|
violationType: AttributionReportingIssueType;
|
6418
|
-
frame?: AffectedFrame;
|
6419
6599
|
request?: AffectedRequest;
|
6420
6600
|
violatingNodeId?: DOM.BackendNodeId;
|
6421
6601
|
invalidParameter?: string;
|
@@ -6442,14 +6622,7 @@ declare namespace Protocol {
|
|
6442
6622
|
location?: SourceCodeLocation;
|
6443
6623
|
}
|
6444
6624
|
|
6445
|
-
|
6446
|
-
wasmModuleUrl: string;
|
6447
|
-
sourceOrigin: string;
|
6448
|
-
targetOrigin: string;
|
6449
|
-
isWarning: boolean;
|
6450
|
-
}
|
6451
|
-
|
6452
|
-
type GenericIssueErrorType = ('CrossOriginPortalPostMessageError');
|
6625
|
+
type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB');
|
6453
6626
|
|
6454
6627
|
/**
|
6455
6628
|
* Depending on the concrete errorType, different properties are set.
|
@@ -6460,31 +6633,60 @@ declare namespace Protocol {
|
|
6460
6633
|
*/
|
6461
6634
|
errorType: GenericIssueErrorType;
|
6462
6635
|
frameId?: Page.FrameId;
|
6636
|
+
violatingNodeId?: DOM.BackendNodeId;
|
6637
|
+
violatingNodeAttribute?: string;
|
6638
|
+
request?: AffectedRequest;
|
6463
6639
|
}
|
6464
6640
|
|
6465
6641
|
/**
|
6466
6642
|
* This issue tracks information needed to print a deprecation message.
|
6467
|
-
*
|
6468
|
-
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
|
6469
|
-
* TODO(crbug.com/1264960): Re-work format to add i18n support per:
|
6470
|
-
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
|
6643
|
+
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
|
6471
6644
|
*/
|
6472
6645
|
interface DeprecationIssueDetails {
|
6473
6646
|
affectedFrame?: AffectedFrame;
|
6474
6647
|
sourceCodeLocation: SourceCodeLocation;
|
6475
6648
|
/**
|
6476
|
-
*
|
6477
|
-
* e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
|
6478
|
-
* around January 2022. Please use Web Storage or Indexed Database
|
6479
|
-
* instead. This standard was abandoned in January, 1970. See
|
6480
|
-
* https://www.chromestatus.com/feature/5684870116278272 for more details."
|
6649
|
+
* One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
|
6481
6650
|
*/
|
6482
|
-
|
6483
|
-
|
6651
|
+
type: string;
|
6652
|
+
}
|
6653
|
+
|
6654
|
+
/**
|
6655
|
+
* This issue warns about sites in the redirect chain of a finished navigation
|
6656
|
+
* that may be flagged as trackers and have their state cleared if they don't
|
6657
|
+
* receive a user interaction. Note that in this context 'site' means eTLD+1.
|
6658
|
+
* For example, if the URL `https://example.test:80/bounce` was in the
|
6659
|
+
* redirect chain, the site reported would be `example.test`.
|
6660
|
+
*/
|
6661
|
+
interface BounceTrackingIssueDetails {
|
6662
|
+
trackingSites: string[];
|
6484
6663
|
}
|
6485
6664
|
|
6486
6665
|
type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
|
6487
6666
|
|
6667
|
+
interface FederatedAuthRequestIssueDetails {
|
6668
|
+
federatedAuthRequestIssueReason: FederatedAuthRequestIssueReason;
|
6669
|
+
}
|
6670
|
+
|
6671
|
+
/**
|
6672
|
+
* Represents the failure reason when a federated authentication reason fails.
|
6673
|
+
* Should be updated alongside RequestIdTokenStatus in
|
6674
|
+
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
6675
|
+
* all cases except for success.
|
6676
|
+
*/
|
6677
|
+
type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked');
|
6678
|
+
|
6679
|
+
interface FederatedAuthUserInfoRequestIssueDetails {
|
6680
|
+
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
6681
|
+
}
|
6682
|
+
|
6683
|
+
/**
|
6684
|
+
* Represents the failure reason when a getUserInfo() call fails.
|
6685
|
+
* Should be updated alongside FederatedAuthUserInfoRequestResult in
|
6686
|
+
* third_party/blink/public/mojom/devtools/inspector_issue.mojom.
|
6687
|
+
*/
|
6688
|
+
type FederatedAuthUserInfoRequestIssueReason = ('NotSameOrigin' | 'NotIframe' | 'NotPotentiallyTrustworthy' | 'NoApiPermission' | 'NotSignedInWithIdp' | 'NoAccountSharingPermission' | 'InvalidConfigOrWellKnown' | 'InvalidAccountsResponse' | 'NoReturningUserFromFetchedAccounts');
|
6689
|
+
|
6488
6690
|
/**
|
6489
6691
|
* This issue tracks client hints related issues. It's used to deprecate old
|
6490
6692
|
* features, encourage the use of new ones, and provide general guidance.
|
@@ -6494,35 +6696,69 @@ declare namespace Protocol {
|
|
6494
6696
|
clientHintIssueReason: ClientHintIssueReason;
|
6495
6697
|
}
|
6496
6698
|
|
6497
|
-
|
6498
|
-
|
6499
|
-
|
6500
|
-
|
6501
|
-
|
6502
|
-
|
6699
|
+
interface FailedRequestInfo {
|
6700
|
+
/**
|
6701
|
+
* The URL that failed to load.
|
6702
|
+
*/
|
6703
|
+
url: string;
|
6704
|
+
/**
|
6705
|
+
* The failure message for the failed request.
|
6706
|
+
*/
|
6707
|
+
failureMessage: string;
|
6708
|
+
requestId?: Network.RequestId;
|
6709
|
+
}
|
6710
|
+
|
6711
|
+
type StyleSheetLoadingIssueReason = ('LateImportRule' | 'RequestFailed');
|
6503
6712
|
|
6504
6713
|
/**
|
6505
|
-
* This
|
6506
|
-
* specific to the kind of issue. When adding a new issue code, please also
|
6507
|
-
* add a new optional field to this type.
|
6714
|
+
* This issue warns when a referenced stylesheet couldn't be loaded.
|
6508
6715
|
*/
|
6509
|
-
interface
|
6510
|
-
|
6511
|
-
|
6512
|
-
|
6716
|
+
interface StylesheetLoadingIssueDetails {
|
6717
|
+
/**
|
6718
|
+
* Source code position that referenced the failing stylesheet.
|
6719
|
+
*/
|
6720
|
+
sourceCodeLocation: SourceCodeLocation;
|
6721
|
+
/**
|
6722
|
+
* Reason why the stylesheet couldn't be loaded.
|
6723
|
+
*/
|
6724
|
+
styleSheetLoadingIssueReason: StyleSheetLoadingIssueReason;
|
6725
|
+
/**
|
6726
|
+
* Contains additional info when the failure was due to a request.
|
6727
|
+
*/
|
6728
|
+
failedRequestInfo?: FailedRequestInfo;
|
6729
|
+
}
|
6730
|
+
|
6731
|
+
/**
|
6732
|
+
* A unique identifier for the type of issue. Each type may use one of the
|
6733
|
+
* optional fields in InspectorIssueDetails to convey more specific
|
6734
|
+
* information about the kind of issue.
|
6735
|
+
*/
|
6736
|
+
type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue');
|
6737
|
+
|
6738
|
+
/**
|
6739
|
+
* This struct holds a list of optional fields with additional information
|
6740
|
+
* specific to the kind of issue. When adding a new issue code, please also
|
6741
|
+
* add a new optional field to this type.
|
6742
|
+
*/
|
6743
|
+
interface InspectorIssueDetails {
|
6744
|
+
cookieIssueDetails?: CookieIssueDetails;
|
6745
|
+
mixedContentIssueDetails?: MixedContentIssueDetails;
|
6746
|
+
blockedByResponseIssueDetails?: BlockedByResponseIssueDetails;
|
6513
6747
|
heavyAdIssueDetails?: HeavyAdIssueDetails;
|
6514
6748
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
6515
6749
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
6516
|
-
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
|
6517
6750
|
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
6518
6751
|
corsIssueDetails?: CorsIssueDetails;
|
6519
6752
|
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|
6520
6753
|
quirksModeIssueDetails?: QuirksModeIssueDetails;
|
6521
6754
|
navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
|
6522
|
-
wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails;
|
6523
6755
|
genericIssueDetails?: GenericIssueDetails;
|
6524
6756
|
deprecationIssueDetails?: DeprecationIssueDetails;
|
6525
6757
|
clientHintIssueDetails?: ClientHintIssueDetails;
|
6758
|
+
federatedAuthRequestIssueDetails?: FederatedAuthRequestIssueDetails;
|
6759
|
+
bounceTrackingIssueDetails?: BounceTrackingIssueDetails;
|
6760
|
+
stylesheetLoadingIssueDetails?: StylesheetLoadingIssueDetails;
|
6761
|
+
federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
|
6526
6762
|
}
|
6527
6763
|
|
6528
6764
|
/**
|
@@ -6591,11 +6827,81 @@ declare namespace Protocol {
|
|
6591
6827
|
reportAAA?: boolean;
|
6592
6828
|
}
|
6593
6829
|
|
6830
|
+
interface CheckFormsIssuesResponse {
|
6831
|
+
formIssues: GenericIssueDetails[];
|
6832
|
+
}
|
6833
|
+
|
6594
6834
|
interface IssueAddedEvent {
|
6595
6835
|
issue: InspectorIssue;
|
6596
6836
|
}
|
6597
6837
|
}
|
6598
6838
|
|
6839
|
+
/**
|
6840
|
+
* Defines commands and events for Autofill.
|
6841
|
+
*/
|
6842
|
+
namespace Autofill {
|
6843
|
+
|
6844
|
+
interface CreditCard {
|
6845
|
+
/**
|
6846
|
+
* 16-digit credit card number.
|
6847
|
+
*/
|
6848
|
+
number: string;
|
6849
|
+
/**
|
6850
|
+
* Name of the credit card owner.
|
6851
|
+
*/
|
6852
|
+
name: string;
|
6853
|
+
/**
|
6854
|
+
* 2-digit expiry month.
|
6855
|
+
*/
|
6856
|
+
expiryMonth: string;
|
6857
|
+
/**
|
6858
|
+
* 4-digit expiry year.
|
6859
|
+
*/
|
6860
|
+
expiryYear: string;
|
6861
|
+
/**
|
6862
|
+
* 3-digit card verification code.
|
6863
|
+
*/
|
6864
|
+
cvc: string;
|
6865
|
+
}
|
6866
|
+
|
6867
|
+
interface AddressField {
|
6868
|
+
/**
|
6869
|
+
* address field name, for example GIVEN_NAME.
|
6870
|
+
*/
|
6871
|
+
name: string;
|
6872
|
+
/**
|
6873
|
+
* address field name, for example Jon Doe.
|
6874
|
+
*/
|
6875
|
+
value: string;
|
6876
|
+
}
|
6877
|
+
|
6878
|
+
interface Address {
|
6879
|
+
/**
|
6880
|
+
* fields and values defining a test address.
|
6881
|
+
*/
|
6882
|
+
fields: AddressField[];
|
6883
|
+
}
|
6884
|
+
|
6885
|
+
interface TriggerRequest {
|
6886
|
+
/**
|
6887
|
+
* Identifies a field that serves as an anchor for autofill.
|
6888
|
+
*/
|
6889
|
+
fieldId: DOM.BackendNodeId;
|
6890
|
+
/**
|
6891
|
+
* Identifies the frame that field belongs to.
|
6892
|
+
*/
|
6893
|
+
frameId?: Page.FrameId;
|
6894
|
+
/**
|
6895
|
+
* Credit card information to fill out the form. Credit card data is not saved.
|
6896
|
+
*/
|
6897
|
+
card: CreditCard;
|
6898
|
+
}
|
6899
|
+
|
6900
|
+
interface SetAddressesRequest {
|
6901
|
+
addresses: Address[];
|
6902
|
+
}
|
6903
|
+
}
|
6904
|
+
|
6599
6905
|
/**
|
6600
6906
|
* Defines events for background web platform features.
|
6601
6907
|
*/
|
@@ -6645,6 +6951,10 @@ declare namespace Protocol {
|
|
6645
6951
|
* A list of event-specific information.
|
6646
6952
|
*/
|
6647
6953
|
eventMetadata: EventMetadata[];
|
6954
|
+
/**
|
6955
|
+
* Storage key this event belongs to.
|
6956
|
+
*/
|
6957
|
+
storageKey: string;
|
6648
6958
|
}
|
6649
6959
|
|
6650
6960
|
interface StartObservingRequest {
|
@@ -6721,7 +7031,7 @@ declare namespace Protocol {
|
|
6721
7031
|
windowState?: WindowState;
|
6722
7032
|
}
|
6723
7033
|
|
6724
|
-
type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | '
|
7034
|
+
type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'topLevelStorageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
6725
7035
|
|
6726
7036
|
type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
6727
7037
|
|
@@ -6915,7 +7225,7 @@ declare namespace Protocol {
|
|
6915
7225
|
*/
|
6916
7226
|
query?: string;
|
6917
7227
|
/**
|
6918
|
-
* If true, retrieve delta since last call.
|
7228
|
+
* If true, retrieve delta since last delta call.
|
6919
7229
|
*/
|
6920
7230
|
delta?: boolean;
|
6921
7231
|
}
|
@@ -6933,7 +7243,7 @@ declare namespace Protocol {
|
|
6933
7243
|
*/
|
6934
7244
|
name: string;
|
6935
7245
|
/**
|
6936
|
-
* If true, retrieve delta since last call.
|
7246
|
+
* If true, retrieve delta since last delta call.
|
6937
7247
|
*/
|
6938
7248
|
delta?: boolean;
|
6939
7249
|
}
|
@@ -7003,6 +7313,10 @@ declare namespace Protocol {
|
|
7003
7313
|
commandId: BrowserCommandId;
|
7004
7314
|
}
|
7005
7315
|
|
7316
|
+
interface AddPrivacySandboxEnrollmentOverrideRequest {
|
7317
|
+
url: string;
|
7318
|
+
}
|
7319
|
+
|
7006
7320
|
/**
|
7007
7321
|
* Fired when page is about to start a download.
|
7008
7322
|
*/
|
@@ -7081,6 +7395,10 @@ declare namespace Protocol {
|
|
7081
7395
|
* Pseudo element type.
|
7082
7396
|
*/
|
7083
7397
|
pseudoType: DOM.PseudoType;
|
7398
|
+
/**
|
7399
|
+
* Pseudo element custom ident.
|
7400
|
+
*/
|
7401
|
+
pseudoIdentifier?: string;
|
7084
7402
|
/**
|
7085
7403
|
* Matches of CSS rules applicable to the pseudo style.
|
7086
7404
|
*/
|
@@ -7101,6 +7419,16 @@ declare namespace Protocol {
|
|
7101
7419
|
matchedCSSRules: RuleMatch[];
|
7102
7420
|
}
|
7103
7421
|
|
7422
|
+
/**
|
7423
|
+
* Inherited pseudo element matches from pseudos of an ancestor node.
|
7424
|
+
*/
|
7425
|
+
interface InheritedPseudoElementMatches {
|
7426
|
+
/**
|
7427
|
+
* Matches of pseudo styles from the pseudos of an ancestor node.
|
7428
|
+
*/
|
7429
|
+
pseudoElements: PseudoElementMatches[];
|
7430
|
+
}
|
7431
|
+
|
7104
7432
|
/**
|
7105
7433
|
* Match data for a CSS rule.
|
7106
7434
|
*/
|
@@ -7127,6 +7455,30 @@ declare namespace Protocol {
|
|
7127
7455
|
* Value range in the underlying resource (if available).
|
7128
7456
|
*/
|
7129
7457
|
range?: SourceRange;
|
7458
|
+
/**
|
7459
|
+
* Specificity of the selector.
|
7460
|
+
*/
|
7461
|
+
specificity?: Specificity;
|
7462
|
+
}
|
7463
|
+
|
7464
|
+
/**
|
7465
|
+
* Specificity:
|
7466
|
+
* https://drafts.csswg.org/selectors/#specificity-rules
|
7467
|
+
*/
|
7468
|
+
interface Specificity {
|
7469
|
+
/**
|
7470
|
+
* The a component, which represents the number of ID selectors.
|
7471
|
+
*/
|
7472
|
+
a: integer;
|
7473
|
+
/**
|
7474
|
+
* The b component, which represents the number of class selectors, attributes selectors, and
|
7475
|
+
* pseudo-classes.
|
7476
|
+
*/
|
7477
|
+
b: integer;
|
7478
|
+
/**
|
7479
|
+
* The c component, which represents the number of type selectors and pseudo-elements.
|
7480
|
+
*/
|
7481
|
+
c: integer;
|
7130
7482
|
}
|
7131
7483
|
|
7132
7484
|
/**
|
@@ -7193,7 +7545,7 @@ declare namespace Protocol {
|
|
7193
7545
|
/**
|
7194
7546
|
* Whether this stylesheet is mutable. Inline stylesheets become mutable
|
7195
7547
|
* after they have been modified via CSSOM API.
|
7196
|
-
*
|
7548
|
+
* `<link>` element's stylesheets become mutable only if DevTools modifies them.
|
7197
7549
|
* Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
|
7198
7550
|
*/
|
7199
7551
|
isMutable: boolean;
|
@@ -7222,6 +7574,10 @@ declare namespace Protocol {
|
|
7222
7574
|
* Column offset of the end of the stylesheet within the resource (zero based).
|
7223
7575
|
*/
|
7224
7576
|
endColumn: number;
|
7577
|
+
/**
|
7578
|
+
* If the style sheet was loaded from a network resource, this indicates when the resource failed to load
|
7579
|
+
*/
|
7580
|
+
loadingFailed?: boolean;
|
7225
7581
|
}
|
7226
7582
|
|
7227
7583
|
/**
|
@@ -7237,6 +7593,10 @@ declare namespace Protocol {
|
|
7237
7593
|
* Rule selector data.
|
7238
7594
|
*/
|
7239
7595
|
selectorList: SelectorList;
|
7596
|
+
/**
|
7597
|
+
* Array of selectors from ancestor style rules, sorted by distance from the current rule.
|
7598
|
+
*/
|
7599
|
+
nestingSelectors?: string[];
|
7240
7600
|
/**
|
7241
7601
|
* Parent stylesheet's origin.
|
7242
7602
|
*/
|
@@ -7255,8 +7615,33 @@ declare namespace Protocol {
|
|
7255
7615
|
* The array enumerates container queries starting with the innermost one, going outwards.
|
7256
7616
|
*/
|
7257
7617
|
containerQueries?: CSSContainerQuery[];
|
7618
|
+
/**
|
7619
|
+
* @supports CSS at-rule array.
|
7620
|
+
* The array enumerates @supports at-rules starting with the innermost one, going outwards.
|
7621
|
+
*/
|
7622
|
+
supports?: CSSSupports[];
|
7623
|
+
/**
|
7624
|
+
* Cascade layer array. Contains the layer hierarchy that this rule belongs to starting
|
7625
|
+
* with the innermost layer and going outwards.
|
7626
|
+
*/
|
7627
|
+
layers?: CSSLayer[];
|
7628
|
+
/**
|
7629
|
+
* @scope CSS at-rule array.
|
7630
|
+
* The array enumerates @scope at-rules starting with the innermost one, going outwards.
|
7631
|
+
*/
|
7632
|
+
scopes?: CSSScope[];
|
7633
|
+
/**
|
7634
|
+
* The array keeps the types of ancestor CSSRules from the innermost going outwards.
|
7635
|
+
*/
|
7636
|
+
ruleTypes?: CSSRuleType[];
|
7258
7637
|
}
|
7259
7638
|
|
7639
|
+
/**
|
7640
|
+
* Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
|
7641
|
+
* This list only contains rule types that are collected during the ancestor rule collection.
|
7642
|
+
*/
|
7643
|
+
type CSSRuleType = ('MediaRule' | 'SupportsRule' | 'ContainerRule' | 'LayerRule' | 'ScopeRule' | 'StyleRule');
|
7644
|
+
|
7260
7645
|
/**
|
7261
7646
|
* CSS coverage information.
|
7262
7647
|
*/
|
@@ -7391,6 +7776,11 @@ declare namespace Protocol {
|
|
7391
7776
|
* The entire property range in the enclosing style declaration (if available).
|
7392
7777
|
*/
|
7393
7778
|
range?: SourceRange;
|
7779
|
+
/**
|
7780
|
+
* Parsed longhand components of this property if it is a shorthand.
|
7781
|
+
* This field will be empty if the given property is not a shorthand.
|
7782
|
+
*/
|
7783
|
+
longhandProperties?: CSSProperty[];
|
7394
7784
|
}
|
7395
7785
|
|
7396
7786
|
const enum CSSMediaSource {
|
@@ -7495,6 +7885,94 @@ declare namespace Protocol {
|
|
7495
7885
|
* Optional name for the container.
|
7496
7886
|
*/
|
7497
7887
|
name?: string;
|
7888
|
+
/**
|
7889
|
+
* Optional physical axes queried for the container.
|
7890
|
+
*/
|
7891
|
+
physicalAxes?: DOM.PhysicalAxes;
|
7892
|
+
/**
|
7893
|
+
* Optional logical axes queried for the container.
|
7894
|
+
*/
|
7895
|
+
logicalAxes?: DOM.LogicalAxes;
|
7896
|
+
}
|
7897
|
+
|
7898
|
+
/**
|
7899
|
+
* CSS Supports at-rule descriptor.
|
7900
|
+
*/
|
7901
|
+
interface CSSSupports {
|
7902
|
+
/**
|
7903
|
+
* Supports rule text.
|
7904
|
+
*/
|
7905
|
+
text: string;
|
7906
|
+
/**
|
7907
|
+
* Whether the supports condition is satisfied.
|
7908
|
+
*/
|
7909
|
+
active: boolean;
|
7910
|
+
/**
|
7911
|
+
* The associated rule header range in the enclosing stylesheet (if
|
7912
|
+
* available).
|
7913
|
+
*/
|
7914
|
+
range?: SourceRange;
|
7915
|
+
/**
|
7916
|
+
* Identifier of the stylesheet containing this object (if exists).
|
7917
|
+
*/
|
7918
|
+
styleSheetId?: StyleSheetId;
|
7919
|
+
}
|
7920
|
+
|
7921
|
+
/**
|
7922
|
+
* CSS Scope at-rule descriptor.
|
7923
|
+
*/
|
7924
|
+
interface CSSScope {
|
7925
|
+
/**
|
7926
|
+
* Scope rule text.
|
7927
|
+
*/
|
7928
|
+
text: string;
|
7929
|
+
/**
|
7930
|
+
* The associated rule header range in the enclosing stylesheet (if
|
7931
|
+
* available).
|
7932
|
+
*/
|
7933
|
+
range?: SourceRange;
|
7934
|
+
/**
|
7935
|
+
* Identifier of the stylesheet containing this object (if exists).
|
7936
|
+
*/
|
7937
|
+
styleSheetId?: StyleSheetId;
|
7938
|
+
}
|
7939
|
+
|
7940
|
+
/**
|
7941
|
+
* CSS Layer at-rule descriptor.
|
7942
|
+
*/
|
7943
|
+
interface CSSLayer {
|
7944
|
+
/**
|
7945
|
+
* Layer name.
|
7946
|
+
*/
|
7947
|
+
text: string;
|
7948
|
+
/**
|
7949
|
+
* The associated rule header range in the enclosing stylesheet (if
|
7950
|
+
* available).
|
7951
|
+
*/
|
7952
|
+
range?: SourceRange;
|
7953
|
+
/**
|
7954
|
+
* Identifier of the stylesheet containing this object (if exists).
|
7955
|
+
*/
|
7956
|
+
styleSheetId?: StyleSheetId;
|
7957
|
+
}
|
7958
|
+
|
7959
|
+
/**
|
7960
|
+
* CSS Layer data.
|
7961
|
+
*/
|
7962
|
+
interface CSSLayerData {
|
7963
|
+
/**
|
7964
|
+
* Layer name.
|
7965
|
+
*/
|
7966
|
+
name: string;
|
7967
|
+
/**
|
7968
|
+
* Direct sub-layers
|
7969
|
+
*/
|
7970
|
+
subLayers?: CSSLayerData[];
|
7971
|
+
/**
|
7972
|
+
* Layer order. The order determines the order of the layer in the cascade order.
|
7973
|
+
* A higher number has higher priority in the cascade order.
|
7974
|
+
*/
|
7975
|
+
order: number;
|
7498
7976
|
}
|
7499
7977
|
|
7500
7978
|
/**
|
@@ -7566,6 +8044,10 @@ declare namespace Protocol {
|
|
7566
8044
|
* The font-stretch.
|
7567
8045
|
*/
|
7568
8046
|
fontStretch: string;
|
8047
|
+
/**
|
8048
|
+
* The font-display.
|
8049
|
+
*/
|
8050
|
+
fontDisplay: string;
|
7569
8051
|
/**
|
7570
8052
|
* The unicode-range.
|
7571
8053
|
*/
|
@@ -7584,6 +8066,36 @@ declare namespace Protocol {
|
|
7584
8066
|
fontVariationAxes?: FontVariationAxis[];
|
7585
8067
|
}
|
7586
8068
|
|
8069
|
+
/**
|
8070
|
+
* CSS try rule representation.
|
8071
|
+
*/
|
8072
|
+
interface CSSTryRule {
|
8073
|
+
/**
|
8074
|
+
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
8075
|
+
* stylesheet rules) this rule came from.
|
8076
|
+
*/
|
8077
|
+
styleSheetId?: StyleSheetId;
|
8078
|
+
/**
|
8079
|
+
* Parent stylesheet's origin.
|
8080
|
+
*/
|
8081
|
+
origin: StyleSheetOrigin;
|
8082
|
+
/**
|
8083
|
+
* Associated style declaration.
|
8084
|
+
*/
|
8085
|
+
style: CSSStyle;
|
8086
|
+
}
|
8087
|
+
|
8088
|
+
/**
|
8089
|
+
* CSS position-fallback rule representation.
|
8090
|
+
*/
|
8091
|
+
interface CSSPositionFallbackRule {
|
8092
|
+
name: Value;
|
8093
|
+
/**
|
8094
|
+
* List of keyframes.
|
8095
|
+
*/
|
8096
|
+
tryRules: CSSTryRule[];
|
8097
|
+
}
|
8098
|
+
|
7587
8099
|
/**
|
7588
8100
|
* CSS keyframes rule representation.
|
7589
8101
|
*/
|
@@ -7598,6 +8110,39 @@ declare namespace Protocol {
|
|
7598
8110
|
keyframes: CSSKeyframeRule[];
|
7599
8111
|
}
|
7600
8112
|
|
8113
|
+
/**
|
8114
|
+
* Representation of a custom property registration through CSS.registerProperty
|
8115
|
+
*/
|
8116
|
+
interface CSSPropertyRegistration {
|
8117
|
+
propertyName: string;
|
8118
|
+
initialValue?: Value;
|
8119
|
+
inherits: boolean;
|
8120
|
+
syntax: string;
|
8121
|
+
}
|
8122
|
+
|
8123
|
+
/**
|
8124
|
+
* CSS property at-rule representation.
|
8125
|
+
*/
|
8126
|
+
interface CSSPropertyRule {
|
8127
|
+
/**
|
8128
|
+
* The css style sheet identifier (absent for user agent stylesheet and user-specified
|
8129
|
+
* stylesheet rules) this rule came from.
|
8130
|
+
*/
|
8131
|
+
styleSheetId?: StyleSheetId;
|
8132
|
+
/**
|
8133
|
+
* Parent stylesheet's origin.
|
8134
|
+
*/
|
8135
|
+
origin: StyleSheetOrigin;
|
8136
|
+
/**
|
8137
|
+
* Associated property name.
|
8138
|
+
*/
|
8139
|
+
propertyName: Value;
|
8140
|
+
/**
|
8141
|
+
* Associated style declaration.
|
8142
|
+
*/
|
8143
|
+
style: CSSStyle;
|
8144
|
+
}
|
8145
|
+
|
7601
8146
|
/**
|
7602
8147
|
* CSS keyframe rule representation.
|
7603
8148
|
*/
|
@@ -7775,10 +8320,30 @@ declare namespace Protocol {
|
|
7775
8320
|
* A chain of inherited styles (from the immediate node parent up to the DOM tree root).
|
7776
8321
|
*/
|
7777
8322
|
inherited?: InheritedStyleEntry[];
|
8323
|
+
/**
|
8324
|
+
* A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root).
|
8325
|
+
*/
|
8326
|
+
inheritedPseudoElements?: InheritedPseudoElementMatches[];
|
7778
8327
|
/**
|
7779
8328
|
* A list of CSS keyframed animations matching this node.
|
7780
8329
|
*/
|
7781
8330
|
cssKeyframesRules?: CSSKeyframesRule[];
|
8331
|
+
/**
|
8332
|
+
* A list of CSS position fallbacks matching this node.
|
8333
|
+
*/
|
8334
|
+
cssPositionFallbackRules?: CSSPositionFallbackRule[];
|
8335
|
+
/**
|
8336
|
+
* A list of CSS at-property rules matching this node.
|
8337
|
+
*/
|
8338
|
+
cssPropertyRules?: CSSPropertyRule[];
|
8339
|
+
/**
|
8340
|
+
* A list of CSS property registrations matching this node.
|
8341
|
+
*/
|
8342
|
+
cssPropertyRegistrations?: CSSPropertyRegistration[];
|
8343
|
+
/**
|
8344
|
+
* Id of the first parent element that does not have display: contents.
|
8345
|
+
*/
|
8346
|
+
parentLayoutNodeId?: DOM.NodeId;
|
7782
8347
|
}
|
7783
8348
|
|
7784
8349
|
interface GetMediaQueriesResponse {
|
@@ -7807,13 +8372,21 @@ declare namespace Protocol {
|
|
7807
8372
|
text: string;
|
7808
8373
|
}
|
7809
8374
|
|
8375
|
+
interface GetLayersForNodeRequest {
|
8376
|
+
nodeId: DOM.NodeId;
|
8377
|
+
}
|
8378
|
+
|
8379
|
+
interface GetLayersForNodeResponse {
|
8380
|
+
rootLayer: CSSLayerData;
|
8381
|
+
}
|
8382
|
+
|
7810
8383
|
interface TrackComputedStyleUpdatesRequest {
|
7811
8384
|
propertiesToTrack: CSSComputedStyleProperty[];
|
7812
8385
|
}
|
7813
8386
|
|
7814
8387
|
interface TakeComputedStyleUpdatesResponse {
|
7815
8388
|
/**
|
7816
|
-
* The list of node Ids that have their tracked computed styles updated
|
8389
|
+
* The list of node Ids that have their tracked computed styles updated.
|
7817
8390
|
*/
|
7818
8391
|
nodeIds: DOM.NodeId[];
|
7819
8392
|
}
|
@@ -7866,6 +8439,32 @@ declare namespace Protocol {
|
|
7866
8439
|
containerQuery: CSSContainerQuery;
|
7867
8440
|
}
|
7868
8441
|
|
8442
|
+
interface SetSupportsTextRequest {
|
8443
|
+
styleSheetId: StyleSheetId;
|
8444
|
+
range: SourceRange;
|
8445
|
+
text: string;
|
8446
|
+
}
|
8447
|
+
|
8448
|
+
interface SetSupportsTextResponse {
|
8449
|
+
/**
|
8450
|
+
* The resulting CSS Supports rule after modification.
|
8451
|
+
*/
|
8452
|
+
supports: CSSSupports;
|
8453
|
+
}
|
8454
|
+
|
8455
|
+
interface SetScopeTextRequest {
|
8456
|
+
styleSheetId: StyleSheetId;
|
8457
|
+
range: SourceRange;
|
8458
|
+
text: string;
|
8459
|
+
}
|
8460
|
+
|
8461
|
+
interface SetScopeTextResponse {
|
8462
|
+
/**
|
8463
|
+
* The resulting CSS Scope rule after modification.
|
8464
|
+
*/
|
8465
|
+
scope: CSSScope;
|
8466
|
+
}
|
8467
|
+
|
7869
8468
|
interface SetRuleSelectorRequest {
|
7870
8469
|
styleSheetId: StyleSheetId;
|
7871
8470
|
range: SourceRange;
|
@@ -7923,7 +8522,7 @@ declare namespace Protocol {
|
|
7923
8522
|
|
7924
8523
|
/**
|
7925
8524
|
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
7926
|
-
* web font
|
8525
|
+
* web font.
|
7927
8526
|
*/
|
7928
8527
|
interface FontsUpdatedEvent {
|
7929
8528
|
/**
|
@@ -8022,6 +8621,14 @@ declare namespace Protocol {
|
|
8022
8621
|
* Security origin of the cache.
|
8023
8622
|
*/
|
8024
8623
|
securityOrigin: string;
|
8624
|
+
/**
|
8625
|
+
* Storage key of the cache.
|
8626
|
+
*/
|
8627
|
+
storageKey: string;
|
8628
|
+
/**
|
8629
|
+
* Storage bucket of the cache.
|
8630
|
+
*/
|
8631
|
+
storageBucket?: Storage.StorageBucket;
|
8025
8632
|
/**
|
8026
8633
|
* The name of the cache.
|
8027
8634
|
*/
|
@@ -8063,9 +8670,18 @@ declare namespace Protocol {
|
|
8063
8670
|
|
8064
8671
|
interface RequestCacheNamesRequest {
|
8065
8672
|
/**
|
8673
|
+
* At least and at most one of securityOrigin, storageKey, storageBucket must be specified.
|
8066
8674
|
* Security origin.
|
8067
8675
|
*/
|
8068
|
-
securityOrigin
|
8676
|
+
securityOrigin?: string;
|
8677
|
+
/**
|
8678
|
+
* Storage key.
|
8679
|
+
*/
|
8680
|
+
storageKey?: string;
|
8681
|
+
/**
|
8682
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
8683
|
+
*/
|
8684
|
+
storageBucket?: Storage.StorageBucket;
|
8069
8685
|
}
|
8070
8686
|
|
8071
8687
|
interface RequestCacheNamesResponse {
|
@@ -8188,8 +8804,8 @@ declare namespace Protocol {
|
|
8188
8804
|
* the JavaScript object wrapper, etc. It is important that client receives DOM events only for the
|
8189
8805
|
* nodes that are known to the client. Backend keeps track of the nodes that were sent to the client
|
8190
8806
|
* and never sends the same node twice. It is client's responsibility to collect information about
|
8191
|
-
* the nodes that were sent to the client
|
8192
|
-
* corresponding document elements as their child nodes
|
8807
|
+
* the nodes that were sent to the client. Note that `iframe` owner elements will return
|
8808
|
+
* corresponding document elements as their child nodes.
|
8193
8809
|
*/
|
8194
8810
|
namespace DOM {
|
8195
8811
|
|
@@ -8222,7 +8838,7 @@ declare namespace Protocol {
|
|
8222
8838
|
/**
|
8223
8839
|
* Pseudo element type.
|
8224
8840
|
*/
|
8225
|
-
type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'transition' | 'transition-
|
8841
|
+
type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new');
|
8226
8842
|
|
8227
8843
|
/**
|
8228
8844
|
* Shadow root type.
|
@@ -8234,6 +8850,16 @@ declare namespace Protocol {
|
|
8234
8850
|
*/
|
8235
8851
|
type CompatibilityMode = ('QuirksMode' | 'LimitedQuirksMode' | 'NoQuirksMode');
|
8236
8852
|
|
8853
|
+
/**
|
8854
|
+
* ContainerSelector physical axes
|
8855
|
+
*/
|
8856
|
+
type PhysicalAxes = ('Horizontal' | 'Vertical' | 'Both');
|
8857
|
+
|
8858
|
+
/**
|
8859
|
+
* ContainerSelector logical axes
|
8860
|
+
*/
|
8861
|
+
type LogicalAxes = ('Inline' | 'Block' | 'Both');
|
8862
|
+
|
8237
8863
|
/**
|
8238
8864
|
* DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
|
8239
8865
|
* DOMNode is a base node mirror type.
|
@@ -8317,6 +8943,11 @@ declare namespace Protocol {
|
|
8317
8943
|
* Pseudo element type for this node.
|
8318
8944
|
*/
|
8319
8945
|
pseudoType?: PseudoType;
|
8946
|
+
/**
|
8947
|
+
* Pseudo element identifier for this node. Only present if there is a
|
8948
|
+
* valid pseudoType.
|
8949
|
+
*/
|
8950
|
+
pseudoIdentifier?: string;
|
8320
8951
|
/**
|
8321
8952
|
* Shadow root type.
|
8322
8953
|
*/
|
@@ -8356,6 +8987,7 @@ declare namespace Protocol {
|
|
8356
8987
|
*/
|
8357
8988
|
isSVG?: boolean;
|
8358
8989
|
compatibilityMode?: CompatibilityMode;
|
8990
|
+
assignedSlot?: BackendNode;
|
8359
8991
|
}
|
8360
8992
|
|
8361
8993
|
/**
|
@@ -8566,6 +9198,18 @@ declare namespace Protocol {
|
|
8566
9198
|
searchId: string;
|
8567
9199
|
}
|
8568
9200
|
|
9201
|
+
const enum EnableRequestIncludeWhitespace {
|
9202
|
+
None = 'none',
|
9203
|
+
All = 'all',
|
9204
|
+
}
|
9205
|
+
|
9206
|
+
interface EnableRequest {
|
9207
|
+
/**
|
9208
|
+
* Whether to include whitespaces in the children array of returned Nodes. (EnableRequestIncludeWhitespace enum)
|
9209
|
+
*/
|
9210
|
+
includeWhitespace?: ('none' | 'all');
|
9211
|
+
}
|
9212
|
+
|
8569
9213
|
interface FocusRequest {
|
8570
9214
|
/**
|
8571
9215
|
* Identifier of the node.
|
@@ -8904,6 +9548,13 @@ declare namespace Protocol {
|
|
8904
9548
|
nodeIds: NodeId[];
|
8905
9549
|
}
|
8906
9550
|
|
9551
|
+
interface GetTopLayerElementsResponse {
|
9552
|
+
/**
|
9553
|
+
* NodeIds of top layer elements
|
9554
|
+
*/
|
9555
|
+
nodeIds: NodeId[];
|
9556
|
+
}
|
9557
|
+
|
8907
9558
|
interface RemoveAttributeRequest {
|
8908
9559
|
/**
|
8909
9560
|
* Id of the element to remove attribute from.
|
@@ -9126,6 +9777,8 @@ declare namespace Protocol {
|
|
9126
9777
|
interface GetContainerForNodeRequest {
|
9127
9778
|
nodeId: NodeId;
|
9128
9779
|
containerName?: string;
|
9780
|
+
physicalAxes?: PhysicalAxes;
|
9781
|
+
logicalAxes?: LogicalAxes;
|
9129
9782
|
}
|
9130
9783
|
|
9131
9784
|
interface GetContainerForNodeResponse {
|
@@ -9218,7 +9871,7 @@ declare namespace Protocol {
|
|
9218
9871
|
*/
|
9219
9872
|
parentNodeId: NodeId;
|
9220
9873
|
/**
|
9221
|
-
*
|
9874
|
+
* Id of the previous sibling.
|
9222
9875
|
*/
|
9223
9876
|
previousNodeId: NodeId;
|
9224
9877
|
/**
|
@@ -9885,6 +10538,11 @@ declare namespace Protocol {
|
|
9885
10538
|
* Type of a pseudo element node.
|
9886
10539
|
*/
|
9887
10540
|
pseudoType?: RareStringData;
|
10541
|
+
/**
|
10542
|
+
* Pseudo element identifier for this node. Only present if there is a
|
10543
|
+
* valid pseudoType.
|
10544
|
+
*/
|
10545
|
+
pseudoIdentifier?: RareStringData;
|
9888
10546
|
/**
|
9889
10547
|
* Whether this DOM node responds to mouse clicks. This includes nodes that have had click
|
9890
10548
|
* event listeners attached via JavaScript as well as anchor tags that naturally navigate when
|
@@ -10056,6 +10714,8 @@ declare namespace Protocol {
|
|
10056
10714
|
*/
|
10057
10715
|
namespace DOMStorage {
|
10058
10716
|
|
10717
|
+
type SerializedStorageKey = string;
|
10718
|
+
|
10059
10719
|
/**
|
10060
10720
|
* DOM Storage identifier.
|
10061
10721
|
*/
|
@@ -10063,7 +10723,11 @@ declare namespace Protocol {
|
|
10063
10723
|
/**
|
10064
10724
|
* Security origin for the storage.
|
10065
10725
|
*/
|
10066
|
-
securityOrigin
|
10726
|
+
securityOrigin?: string;
|
10727
|
+
/**
|
10728
|
+
* Represents a key by which DOM Storage keys its CachedStorageAreas
|
10729
|
+
*/
|
10730
|
+
storageKey?: SerializedStorageKey;
|
10067
10731
|
/**
|
10068
10732
|
* Whether the storage is local storage (not session storage).
|
10069
10733
|
*/
|
@@ -10281,7 +10945,13 @@ declare namespace Protocol {
|
|
10281
10945
|
* Missing optional values will be filled in by the target with what it would normally use.
|
10282
10946
|
*/
|
10283
10947
|
interface UserAgentMetadata {
|
10948
|
+
/**
|
10949
|
+
* Brands appearing in Sec-CH-UA.
|
10950
|
+
*/
|
10284
10951
|
brands?: UserAgentBrandVersion[];
|
10952
|
+
/**
|
10953
|
+
* Brands appearing in Sec-CH-UA-Full-Version-List.
|
10954
|
+
*/
|
10285
10955
|
fullVersionList?: UserAgentBrandVersion[];
|
10286
10956
|
fullVersion?: string;
|
10287
10957
|
platform: string;
|
@@ -10289,12 +10959,14 @@ declare namespace Protocol {
|
|
10289
10959
|
architecture: string;
|
10290
10960
|
model: string;
|
10291
10961
|
mobile: boolean;
|
10962
|
+
bitness?: string;
|
10963
|
+
wow64?: boolean;
|
10292
10964
|
}
|
10293
10965
|
|
10294
10966
|
/**
|
10295
10967
|
* Enum of image types that can be disabled.
|
10296
10968
|
*/
|
10297
|
-
type DisabledImageType = ('avif' | '
|
10969
|
+
type DisabledImageType = ('avif' | 'webp');
|
10298
10970
|
|
10299
10971
|
interface CanEmulateResponse {
|
10300
10972
|
/**
|
@@ -10434,8 +11106,9 @@ declare namespace Protocol {
|
|
10434
11106
|
|
10435
11107
|
const enum SetEmulatedVisionDeficiencyRequestType {
|
10436
11108
|
None = 'none',
|
10437
|
-
Achromatopsia = 'achromatopsia',
|
10438
11109
|
BlurredVision = 'blurredVision',
|
11110
|
+
ReducedContrast = 'reducedContrast',
|
11111
|
+
Achromatopsia = 'achromatopsia',
|
10439
11112
|
Deuteranopia = 'deuteranopia',
|
10440
11113
|
Protanopia = 'protanopia',
|
10441
11114
|
Tritanopia = 'tritanopia',
|
@@ -10443,9 +11116,10 @@ declare namespace Protocol {
|
|
10443
11116
|
|
10444
11117
|
interface SetEmulatedVisionDeficiencyRequest {
|
10445
11118
|
/**
|
10446
|
-
* Vision deficiency to emulate.
|
11119
|
+
* Vision deficiency to emulate. Order: best-effort emulations come first, followed by any
|
11120
|
+
* physiologically accurate emulations for medically recognized color vision deficiencies. (SetEmulatedVisionDeficiencyRequestType enum)
|
10447
11121
|
*/
|
10448
|
-
type: ('none' | '
|
11122
|
+
type: ('none' | 'blurredVision' | 'reducedContrast' | 'achromatopsia' | 'deuteranopia' | 'protanopia' | 'tritanopia');
|
10449
11123
|
}
|
10450
11124
|
|
10451
11125
|
interface SetGeolocationOverrideRequest {
|
@@ -10518,11 +11192,6 @@ declare namespace Protocol {
|
|
10518
11192
|
* forwards to prevent deadlock.
|
10519
11193
|
*/
|
10520
11194
|
maxVirtualTimeTaskStarvationCount?: integer;
|
10521
|
-
/**
|
10522
|
-
* If set the virtual time policy change should be deferred until any frame starts navigating.
|
10523
|
-
* Note any previous deferred policy change is superseded.
|
10524
|
-
*/
|
10525
|
-
waitForNavigation?: boolean;
|
10526
11195
|
/**
|
10527
11196
|
* If set, base::Time::Now will be overridden to initially return this value.
|
10528
11197
|
*/
|
@@ -10570,6 +11239,13 @@ declare namespace Protocol {
|
|
10570
11239
|
imageTypes: DisabledImageType[];
|
10571
11240
|
}
|
10572
11241
|
|
11242
|
+
interface SetHardwareConcurrencyOverrideRequest {
|
11243
|
+
/**
|
11244
|
+
* Hardware concurrency to report
|
11245
|
+
*/
|
11246
|
+
hardwareConcurrency: integer;
|
11247
|
+
}
|
11248
|
+
|
10573
11249
|
interface SetUserAgentOverrideRequest {
|
10574
11250
|
/**
|
10575
11251
|
* User agent to use.
|
@@ -10588,6 +11264,13 @@ declare namespace Protocol {
|
|
10588
11264
|
*/
|
10589
11265
|
userAgentMetadata?: UserAgentMetadata;
|
10590
11266
|
}
|
11267
|
+
|
11268
|
+
interface SetAutomationOverrideRequest {
|
11269
|
+
/**
|
11270
|
+
* Whether the override should be enabled.
|
11271
|
+
*/
|
11272
|
+
enabled: boolean;
|
11273
|
+
}
|
10591
11274
|
}
|
10592
11275
|
|
10593
11276
|
/**
|
@@ -10598,6 +11281,7 @@ declare namespace Protocol {
|
|
10598
11281
|
const enum ScreenshotParamsFormat {
|
10599
11282
|
Jpeg = 'jpeg',
|
10600
11283
|
Png = 'png',
|
11284
|
+
Webp = 'webp',
|
10601
11285
|
}
|
10602
11286
|
|
10603
11287
|
/**
|
@@ -10607,11 +11291,15 @@ declare namespace Protocol {
|
|
10607
11291
|
/**
|
10608
11292
|
* Image compression format (defaults to png). (ScreenshotParamsFormat enum)
|
10609
11293
|
*/
|
10610
|
-
format?: ('jpeg' | 'png');
|
11294
|
+
format?: ('jpeg' | 'png' | 'webp');
|
10611
11295
|
/**
|
10612
|
-
* Compression quality from range [0..100] (jpeg only).
|
11296
|
+
* Compression quality from range [0..100] (jpeg and webp only).
|
10613
11297
|
*/
|
10614
11298
|
quality?: integer;
|
11299
|
+
/**
|
11300
|
+
* Optimize image encoding for speed, not for resulting size (defaults to false)
|
11301
|
+
*/
|
11302
|
+
optimizeForSpeed?: boolean;
|
10615
11303
|
}
|
10616
11304
|
|
10617
11305
|
interface BeginFrameRequest {
|
@@ -10650,18 +11338,6 @@ declare namespace Protocol {
|
|
10650
11338
|
*/
|
10651
11339
|
screenshotData?: string;
|
10652
11340
|
}
|
10653
|
-
|
10654
|
-
/**
|
10655
|
-
* Issued when the target starts or stops needing BeginFrames.
|
10656
|
-
* Deprecated. Issue beginFrame unconditionally instead and use result from
|
10657
|
-
* beginFrame to detect whether the frames were suppressed.
|
10658
|
-
*/
|
10659
|
-
interface NeedsBeginFramesChangedEvent {
|
10660
|
-
/**
|
10661
|
-
* True if BeginFrames are needed, false otherwise.
|
10662
|
-
*/
|
10663
|
-
needsBeginFrames: boolean;
|
10664
|
-
}
|
10665
11341
|
}
|
10666
11342
|
|
10667
11343
|
/**
|
@@ -10670,8 +11346,8 @@ declare namespace Protocol {
|
|
10670
11346
|
namespace IO {
|
10671
11347
|
|
10672
11348
|
/**
|
10673
|
-
* This is either obtained from another method or specified as `blob
|
10674
|
-
*
|
11349
|
+
* This is either obtained from another method or specified as `blob:<uuid>` where
|
11350
|
+
* `<uuid>` is an UUID of a Blob.
|
10675
11351
|
*/
|
10676
11352
|
type StreamHandle = string;
|
10677
11353
|
|
@@ -10892,9 +11568,18 @@ declare namespace Protocol {
|
|
10892
11568
|
|
10893
11569
|
interface ClearObjectStoreRequest {
|
10894
11570
|
/**
|
11571
|
+
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
|
10895
11572
|
* Security origin.
|
10896
11573
|
*/
|
10897
|
-
securityOrigin
|
11574
|
+
securityOrigin?: string;
|
11575
|
+
/**
|
11576
|
+
* Storage key.
|
11577
|
+
*/
|
11578
|
+
storageKey?: string;
|
11579
|
+
/**
|
11580
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
11581
|
+
*/
|
11582
|
+
storageBucket?: Storage.StorageBucket;
|
10898
11583
|
/**
|
10899
11584
|
* Database name.
|
10900
11585
|
*/
|
@@ -10907,9 +11592,18 @@ declare namespace Protocol {
|
|
10907
11592
|
|
10908
11593
|
interface DeleteDatabaseRequest {
|
10909
11594
|
/**
|
11595
|
+
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
|
10910
11596
|
* Security origin.
|
10911
11597
|
*/
|
10912
|
-
securityOrigin
|
11598
|
+
securityOrigin?: string;
|
11599
|
+
/**
|
11600
|
+
* Storage key.
|
11601
|
+
*/
|
11602
|
+
storageKey?: string;
|
11603
|
+
/**
|
11604
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
11605
|
+
*/
|
11606
|
+
storageBucket?: Storage.StorageBucket;
|
10913
11607
|
/**
|
10914
11608
|
* Database name.
|
10915
11609
|
*/
|
@@ -10917,7 +11611,19 @@ declare namespace Protocol {
|
|
10917
11611
|
}
|
10918
11612
|
|
10919
11613
|
interface DeleteObjectStoreEntriesRequest {
|
10920
|
-
|
11614
|
+
/**
|
11615
|
+
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
|
11616
|
+
* Security origin.
|
11617
|
+
*/
|
11618
|
+
securityOrigin?: string;
|
11619
|
+
/**
|
11620
|
+
* Storage key.
|
11621
|
+
*/
|
11622
|
+
storageKey?: string;
|
11623
|
+
/**
|
11624
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
11625
|
+
*/
|
11626
|
+
storageBucket?: Storage.StorageBucket;
|
10921
11627
|
databaseName: string;
|
10922
11628
|
objectStoreName: string;
|
10923
11629
|
/**
|
@@ -10928,9 +11634,18 @@ declare namespace Protocol {
|
|
10928
11634
|
|
10929
11635
|
interface RequestDataRequest {
|
10930
11636
|
/**
|
11637
|
+
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
|
10931
11638
|
* Security origin.
|
10932
11639
|
*/
|
10933
|
-
securityOrigin
|
11640
|
+
securityOrigin?: string;
|
11641
|
+
/**
|
11642
|
+
* Storage key.
|
11643
|
+
*/
|
11644
|
+
storageKey?: string;
|
11645
|
+
/**
|
11646
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
11647
|
+
*/
|
11648
|
+
storageBucket?: Storage.StorageBucket;
|
10934
11649
|
/**
|
10935
11650
|
* Database name.
|
10936
11651
|
*/
|
@@ -10970,9 +11685,18 @@ declare namespace Protocol {
|
|
10970
11685
|
|
10971
11686
|
interface GetMetadataRequest {
|
10972
11687
|
/**
|
11688
|
+
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
|
10973
11689
|
* Security origin.
|
10974
11690
|
*/
|
10975
|
-
securityOrigin
|
11691
|
+
securityOrigin?: string;
|
11692
|
+
/**
|
11693
|
+
* Storage key.
|
11694
|
+
*/
|
11695
|
+
storageKey?: string;
|
11696
|
+
/**
|
11697
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
11698
|
+
*/
|
11699
|
+
storageBucket?: Storage.StorageBucket;
|
10976
11700
|
/**
|
10977
11701
|
* Database name.
|
10978
11702
|
*/
|
@@ -10998,9 +11722,18 @@ declare namespace Protocol {
|
|
10998
11722
|
|
10999
11723
|
interface RequestDatabaseRequest {
|
11000
11724
|
/**
|
11725
|
+
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
|
11001
11726
|
* Security origin.
|
11002
11727
|
*/
|
11003
|
-
securityOrigin
|
11728
|
+
securityOrigin?: string;
|
11729
|
+
/**
|
11730
|
+
* Storage key.
|
11731
|
+
*/
|
11732
|
+
storageKey?: string;
|
11733
|
+
/**
|
11734
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
11735
|
+
*/
|
11736
|
+
storageBucket?: Storage.StorageBucket;
|
11004
11737
|
/**
|
11005
11738
|
* Database name.
|
11006
11739
|
*/
|
@@ -11016,9 +11749,18 @@ declare namespace Protocol {
|
|
11016
11749
|
|
11017
11750
|
interface RequestDatabaseNamesRequest {
|
11018
11751
|
/**
|
11752
|
+
* At least and at most one of securityOrigin, storageKey, or storageBucket must be specified.
|
11019
11753
|
* Security origin.
|
11020
11754
|
*/
|
11021
|
-
securityOrigin
|
11755
|
+
securityOrigin?: string;
|
11756
|
+
/**
|
11757
|
+
* Storage key.
|
11758
|
+
*/
|
11759
|
+
storageKey?: string;
|
11760
|
+
/**
|
11761
|
+
* Storage bucket. If not specified, it uses the default bucket.
|
11762
|
+
*/
|
11763
|
+
storageBucket?: Storage.StorageBucket;
|
11022
11764
|
}
|
11023
11765
|
|
11024
11766
|
interface RequestDatabaseNamesResponse {
|
@@ -11222,7 +11964,7 @@ declare namespace Protocol {
|
|
11222
11964
|
/**
|
11223
11965
|
* Editing commands to send with the key event (e.g., 'selectAll') (default: []).
|
11224
11966
|
* These are related to but not equal the command names used in `document.execCommand` and NSStandardKeyBindingResponding.
|
11225
|
-
* See https://source.chromium.org/chromium/chromium/src/+/
|
11967
|
+
* See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
|
11226
11968
|
*/
|
11227
11969
|
commands?: string[];
|
11228
11970
|
}
|
@@ -12070,7 +12812,7 @@ declare namespace Protocol {
|
|
12070
12812
|
/**
|
12071
12813
|
* Resource type as it was perceived by the rendering engine.
|
12072
12814
|
*/
|
12073
|
-
type ResourceType = ('Document' | 'Stylesheet' | 'Image' | 'Media' | 'Font' | 'Script' | 'TextTrack' | 'XHR' | 'Fetch' | 'EventSource' | 'WebSocket' | 'Manifest' | 'SignedExchange' | 'Ping' | 'CSPViolationReport' | 'Preflight' | 'Other');
|
12815
|
+
type ResourceType = ('Document' | 'Stylesheet' | 'Image' | 'Media' | 'Font' | 'Script' | 'TextTrack' | 'XHR' | 'Fetch' | 'Prefetch' | 'EventSource' | 'WebSocket' | 'Manifest' | 'SignedExchange' | 'Ping' | 'CSPViolationReport' | 'Preflight' | 'Other');
|
12074
12816
|
|
12075
12817
|
/**
|
12076
12818
|
* Unique loader identifier.
|
@@ -12206,6 +12948,10 @@ declare namespace Protocol {
|
|
12206
12948
|
* Time the server finished pushing request.
|
12207
12949
|
*/
|
12208
12950
|
pushEnd: number;
|
12951
|
+
/**
|
12952
|
+
* Started receiving response headers.
|
12953
|
+
*/
|
12954
|
+
receiveHeadersStart: number;
|
12209
12955
|
/**
|
12210
12956
|
* Finished receiving response headers.
|
12211
12957
|
*/
|
@@ -12390,6 +13136,16 @@ declare namespace Protocol {
|
|
12390
13136
|
* Whether the request complied with Certificate Transparency policy
|
12391
13137
|
*/
|
12392
13138
|
certificateTransparencyCompliance: CertificateTransparencyCompliance;
|
13139
|
+
/**
|
13140
|
+
* The signature algorithm used by the server in the TLS server signature,
|
13141
|
+
* represented as a TLS SignatureScheme code point. Omitted if not
|
13142
|
+
* applicable or not known.
|
13143
|
+
*/
|
13144
|
+
serverSignatureAlgorithm?: integer;
|
13145
|
+
/**
|
13146
|
+
* Whether the connection used Encrypted ClientHello
|
13147
|
+
*/
|
13148
|
+
encryptedClientHello: boolean;
|
12393
13149
|
}
|
12394
13150
|
|
12395
13151
|
/**
|
@@ -12405,7 +13161,7 @@ declare namespace Protocol {
|
|
12405
13161
|
/**
|
12406
13162
|
* The reason why request was blocked.
|
12407
13163
|
*/
|
12408
|
-
type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow');
|
13164
|
+
type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow' | 'PreflightMissingPrivateNetworkAccessId' | 'PreflightMissingPrivateNetworkAccessName' | 'PrivateNetworkAccessPermissionUnavailable' | 'PrivateNetworkAccessPermissionDenied');
|
12409
13165
|
|
12410
13166
|
interface CorsErrorStatus {
|
12411
13167
|
corsError: CorsError;
|
@@ -12428,9 +13184,9 @@ declare namespace Protocol {
|
|
12428
13184
|
* are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
|
12429
13185
|
*/
|
12430
13186
|
interface TrustTokenParams {
|
12431
|
-
|
13187
|
+
operation: TrustTokenOperationType;
|
12432
13188
|
/**
|
12433
|
-
* Only set for "token-redemption"
|
13189
|
+
* Only set for "token-redemption" operation and determine whether
|
12434
13190
|
* to request a fresh SRR or use a still valid cached SRR. (TrustTokenParamsRefreshPolicy enum)
|
12435
13191
|
*/
|
12436
13192
|
refreshPolicy: ('UseCached' | 'Refresh');
|
@@ -12443,6 +13199,11 @@ declare namespace Protocol {
|
|
12443
13199
|
|
12444
13200
|
type TrustTokenOperationType = ('Issuance' | 'Redemption' | 'Signing');
|
12445
13201
|
|
13202
|
+
/**
|
13203
|
+
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
13204
|
+
*/
|
13205
|
+
type AlternateProtocolUsage = ('alternativeJobWonWithoutRace' | 'alternativeJobWonRace' | 'mainJobWonRace' | 'mappingMissing' | 'broken' | 'dnsAlpnH3JobWonWithoutRace' | 'dnsAlpnH3JobWonRace' | 'unspecifiedReason');
|
13206
|
+
|
12446
13207
|
/**
|
12447
13208
|
* HTTP response data.
|
12448
13209
|
*/
|
@@ -12531,6 +13292,10 @@ declare namespace Protocol {
|
|
12531
13292
|
* Protocol used to fetch this request.
|
12532
13293
|
*/
|
12533
13294
|
protocol?: string;
|
13295
|
+
/**
|
13296
|
+
* The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
13297
|
+
*/
|
13298
|
+
alternateProtocolUsage?: AlternateProtocolUsage;
|
12534
13299
|
/**
|
12535
13300
|
* Security state of the request resource.
|
12536
13301
|
*/
|
@@ -12740,12 +13505,12 @@ declare namespace Protocol {
|
|
12740
13505
|
/**
|
12741
13506
|
* Types of reasons why a cookie may not be stored from a response.
|
12742
13507
|
*/
|
12743
|
-
type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'SamePartyConflictsWithOtherAttributes' | 'NameValuePairExceedsMaxSize');
|
13508
|
+
type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'SamePartyConflictsWithOtherAttributes' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter');
|
12744
13509
|
|
12745
13510
|
/**
|
12746
13511
|
* Types of reasons why a cookie may not be sent with a request.
|
12747
13512
|
*/
|
12748
|
-
type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
|
13513
|
+
type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
|
12749
13514
|
|
12750
13515
|
/**
|
12751
13516
|
* A cookie which was not stored from a response with the corresponding reason.
|
@@ -12994,7 +13759,7 @@ declare namespace Protocol {
|
|
12994
13759
|
*/
|
12995
13760
|
signatures: SignedExchangeSignature[];
|
12996
13761
|
/**
|
12997
|
-
* Signed exchange header integrity hash in the form of
|
13762
|
+
* Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.
|
12998
13763
|
*/
|
12999
13764
|
headerIntegrity: string;
|
13000
13765
|
}
|
@@ -13047,7 +13812,7 @@ declare namespace Protocol {
|
|
13047
13812
|
/**
|
13048
13813
|
* List of content encodings supported by the backend.
|
13049
13814
|
*/
|
13050
|
-
type ContentEncoding = ('deflate' | 'gzip' | 'br');
|
13815
|
+
type ContentEncoding = ('deflate' | 'gzip' | 'br' | 'zstd');
|
13051
13816
|
|
13052
13817
|
type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn');
|
13053
13818
|
|
@@ -13068,7 +13833,7 @@ declare namespace Protocol {
|
|
13068
13833
|
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
|
13069
13834
|
}
|
13070
13835
|
|
13071
|
-
type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'UnsafeNone' | 'SameOriginPlusCoep');
|
13836
|
+
type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'RestrictProperties' | 'UnsafeNone' | 'SameOriginPlusCoep' | 'RestrictPropertiesPlusCoep');
|
13072
13837
|
|
13073
13838
|
interface CrossOriginOpenerPolicyStatus {
|
13074
13839
|
value: CrossOriginOpenerPolicyValue;
|
@@ -13086,9 +13851,18 @@ declare namespace Protocol {
|
|
13086
13851
|
reportOnlyReportingEndpoint?: string;
|
13087
13852
|
}
|
13088
13853
|
|
13854
|
+
type ContentSecurityPolicySource = ('HTTP' | 'Meta');
|
13855
|
+
|
13856
|
+
interface ContentSecurityPolicyStatus {
|
13857
|
+
effectiveDirectives: string;
|
13858
|
+
isEnforced: boolean;
|
13859
|
+
source: ContentSecurityPolicySource;
|
13860
|
+
}
|
13861
|
+
|
13089
13862
|
interface SecurityIsolationStatus {
|
13090
13863
|
coop?: CrossOriginOpenerPolicyStatus;
|
13091
13864
|
coep?: CrossOriginEmbedderPolicyStatus;
|
13865
|
+
csp?: ContentSecurityPolicyStatus[];
|
13092
13866
|
}
|
13093
13867
|
|
13094
13868
|
/**
|
@@ -13697,11 +14471,6 @@ declare namespace Protocol {
|
|
13697
14471
|
* Total number of bytes received for this request.
|
13698
14472
|
*/
|
13699
14473
|
encodedDataLength: number;
|
13700
|
-
/**
|
13701
|
-
* Set when 1) response was blocked by Cross-Origin Read Blocking and also
|
13702
|
-
* 2) this needs to be reported to the DevTools console.
|
13703
|
-
*/
|
13704
|
-
shouldReportCorbBlocking?: boolean;
|
13705
14474
|
}
|
13706
14475
|
|
13707
14476
|
/**
|
@@ -14102,6 +14871,10 @@ declare namespace Protocol {
|
|
14102
14871
|
* The client security state set for the request.
|
14103
14872
|
*/
|
14104
14873
|
clientSecurityState?: ClientSecurityState;
|
14874
|
+
/**
|
14875
|
+
* Whether the site has partitioned cookies stored in a partition different than the current one.
|
14876
|
+
*/
|
14877
|
+
siteHasCookieInOtherPartition?: boolean;
|
14105
14878
|
}
|
14106
14879
|
|
14107
14880
|
/**
|
@@ -14140,15 +14913,26 @@ declare namespace Protocol {
|
|
14140
14913
|
* available, such as in the case of HTTP/2 or QUIC.
|
14141
14914
|
*/
|
14142
14915
|
headersText?: string;
|
14916
|
+
/**
|
14917
|
+
* The cookie partition key that will be used to store partitioned cookies set in this response.
|
14918
|
+
* Only sent when partitioned cookies are enabled.
|
14919
|
+
*/
|
14920
|
+
cookiePartitionKey?: string;
|
14921
|
+
/**
|
14922
|
+
* True if partitioned cookies are enabled, but the partition key is not serializeable to string.
|
14923
|
+
*/
|
14924
|
+
cookiePartitionKeyOpaque?: boolean;
|
14143
14925
|
}
|
14144
14926
|
|
14145
14927
|
const enum TrustTokenOperationDoneEventStatus {
|
14146
14928
|
Ok = 'Ok',
|
14147
14929
|
InvalidArgument = 'InvalidArgument',
|
14930
|
+
MissingIssuerKeys = 'MissingIssuerKeys',
|
14148
14931
|
FailedPrecondition = 'FailedPrecondition',
|
14149
14932
|
ResourceExhausted = 'ResourceExhausted',
|
14150
14933
|
AlreadyExists = 'AlreadyExists',
|
14151
14934
|
Unavailable = 'Unavailable',
|
14935
|
+
Unauthorized = 'Unauthorized',
|
14152
14936
|
BadResponse = 'BadResponse',
|
14153
14937
|
InternalError = 'InternalError',
|
14154
14938
|
UnknownError = 'UnknownError',
|
@@ -14168,7 +14952,7 @@ declare namespace Protocol {
|
|
14168
14952
|
* of the operation already exists und thus, the operation was abort
|
14169
14953
|
* preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)
|
14170
14954
|
*/
|
14171
|
-
status: ('Ok' | 'InvalidArgument' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'Unavailable' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
|
14955
|
+
status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'Unavailable' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
|
14172
14956
|
type: TrustTokenOperationType;
|
14173
14957
|
requestId: RequestId;
|
14174
14958
|
/**
|
@@ -14558,7 +15342,7 @@ declare namespace Protocol {
|
|
14558
15342
|
containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
|
14559
15343
|
}
|
14560
15344
|
|
14561
|
-
type ColorFormat = ('rgb' | 'hsl' | 'hex');
|
15345
|
+
type ColorFormat = ('rgb' | 'hsl' | 'hwb' | 'hex');
|
14562
15346
|
|
14563
15347
|
/**
|
14564
15348
|
* Configurations for Persistent Grid Highlight
|
@@ -15015,6 +15799,22 @@ declare namespace Protocol {
|
|
15015
15799
|
explanations?: AdFrameExplanation[];
|
15016
15800
|
}
|
15017
15801
|
|
15802
|
+
/**
|
15803
|
+
* Identifies the bottom-most script which caused the frame to be labelled
|
15804
|
+
* as an ad.
|
15805
|
+
*/
|
15806
|
+
interface AdScriptId {
|
15807
|
+
/**
|
15808
|
+
* Script Id of the bottom-most script which caused the frame to be labelled
|
15809
|
+
* as an ad.
|
15810
|
+
*/
|
15811
|
+
scriptId: Runtime.ScriptId;
|
15812
|
+
/**
|
15813
|
+
* Id of adScriptId's debugger.
|
15814
|
+
*/
|
15815
|
+
debuggerId: Runtime.UniqueDebuggerId;
|
15816
|
+
}
|
15817
|
+
|
15018
15818
|
/**
|
15019
15819
|
* Indicates whether the frame is a secure context and why it is the case.
|
15020
15820
|
*/
|
@@ -15031,12 +15831,12 @@ declare namespace Protocol {
|
|
15031
15831
|
* All Permissions Policy features. This enum should match the one defined
|
15032
15832
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
15033
15833
|
*/
|
15034
|
-
type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-
|
15834
|
+
type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | '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' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
|
15035
15835
|
|
15036
15836
|
/**
|
15037
15837
|
* Reason for a permissions policy feature to be disabled.
|
15038
15838
|
*/
|
15039
|
-
type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute');
|
15839
|
+
type PermissionsPolicyBlockReason = ('Header' | 'IframeAttribute' | 'InFencedFrameTree' | 'InIsolatedApp');
|
15040
15840
|
|
15041
15841
|
interface PermissionsPolicyBlockLocator {
|
15042
15842
|
frameId: FrameId;
|
@@ -15436,13 +16236,27 @@ declare namespace Protocol {
|
|
15436
16236
|
*/
|
15437
16237
|
cursive?: string;
|
15438
16238
|
/**
|
15439
|
-
* The fantasy font-family.
|
16239
|
+
* The fantasy font-family.
|
16240
|
+
*/
|
16241
|
+
fantasy?: string;
|
16242
|
+
/**
|
16243
|
+
* The math font-family.
|
16244
|
+
*/
|
16245
|
+
math?: string;
|
16246
|
+
}
|
16247
|
+
|
16248
|
+
/**
|
16249
|
+
* Font families collection for a script.
|
16250
|
+
*/
|
16251
|
+
interface ScriptFontFamilies {
|
16252
|
+
/**
|
16253
|
+
* Name of the script which these font families are defined for.
|
15440
16254
|
*/
|
15441
|
-
|
16255
|
+
script: string;
|
15442
16256
|
/**
|
15443
|
-
*
|
16257
|
+
* Generic font families collection for the script.
|
15444
16258
|
*/
|
15445
|
-
|
16259
|
+
fontFamilies: FontFamilies;
|
15446
16260
|
}
|
15447
16261
|
|
15448
16262
|
/**
|
@@ -15508,6 +16322,11 @@ declare namespace Protocol {
|
|
15508
16322
|
eager?: boolean;
|
15509
16323
|
}
|
15510
16324
|
|
16325
|
+
/**
|
16326
|
+
* Enum of possible auto-reponse for permisison / prompt dialogs.
|
16327
|
+
*/
|
16328
|
+
type AutoResponseMode = ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
|
16329
|
+
|
15511
16330
|
/**
|
15512
16331
|
* The type of a frameNavigated event.
|
15513
16332
|
*/
|
@@ -15516,7 +16335,7 @@ declare namespace Protocol {
|
|
15516
16335
|
/**
|
15517
16336
|
* List of not restored reasons for back-forward cache.
|
15518
16337
|
*/
|
15519
|
-
type BackForwardCacheNotRestoredReason = ('
|
16338
|
+
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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
|
15520
16339
|
|
15521
16340
|
/**
|
15522
16341
|
* Types of not restored reasons for back-forward cache.
|
@@ -15532,6 +16351,12 @@ declare namespace Protocol {
|
|
15532
16351
|
* Not restored reason
|
15533
16352
|
*/
|
15534
16353
|
reason: BackForwardCacheNotRestoredReason;
|
16354
|
+
/**
|
16355
|
+
* Context associated with the reason. The meaning of this context is
|
16356
|
+
* dependent on the reason:
|
16357
|
+
* - EmbedderExtensionSentMessageToCachedFrame: the extension ID.
|
16358
|
+
*/
|
16359
|
+
context?: string;
|
15535
16360
|
}
|
15536
16361
|
|
15537
16362
|
interface BackForwardCacheNotRestoredExplanationTree {
|
@@ -15573,6 +16398,11 @@ declare namespace Protocol {
|
|
15573
16398
|
* to false.
|
15574
16399
|
*/
|
15575
16400
|
includeCommandLineAPI?: boolean;
|
16401
|
+
/**
|
16402
|
+
* If true, runs the script immediately on existing execution contexts or worlds.
|
16403
|
+
* Default: false.
|
16404
|
+
*/
|
16405
|
+
runImmediately?: boolean;
|
15576
16406
|
}
|
15577
16407
|
|
15578
16408
|
interface AddScriptToEvaluateOnNewDocumentResponse {
|
@@ -15609,6 +16439,10 @@ declare namespace Protocol {
|
|
15609
16439
|
* Capture the screenshot beyond the viewport. Defaults to false.
|
15610
16440
|
*/
|
15611
16441
|
captureBeyondViewport?: boolean;
|
16442
|
+
/**
|
16443
|
+
* Optimize image encoding for speed, not for resulting size (defaults to false)
|
16444
|
+
*/
|
16445
|
+
optimizeForSpeed?: boolean;
|
15612
16446
|
}
|
15613
16447
|
|
15614
16448
|
interface CaptureScreenshotResponse {
|
@@ -15705,6 +16539,18 @@ declare namespace Protocol {
|
|
15705
16539
|
recommendedId?: string;
|
15706
16540
|
}
|
15707
16541
|
|
16542
|
+
interface GetAdScriptIdRequest {
|
16543
|
+
frameId: FrameId;
|
16544
|
+
}
|
16545
|
+
|
16546
|
+
interface GetAdScriptIdResponse {
|
16547
|
+
/**
|
16548
|
+
* Identifies the bottom-most script which caused the frame to be labelled
|
16549
|
+
* as an ad. Only sent if frame is labelled as an ad and id is available.
|
16550
|
+
*/
|
16551
|
+
adScriptId?: AdScriptId;
|
16552
|
+
}
|
16553
|
+
|
15708
16554
|
interface GetCookiesResponse {
|
15709
16555
|
/**
|
15710
16556
|
* Array of cookie objects.
|
@@ -15721,15 +16567,15 @@ declare namespace Protocol {
|
|
15721
16567
|
|
15722
16568
|
interface GetLayoutMetricsResponse {
|
15723
16569
|
/**
|
15724
|
-
* Deprecated metrics relating to the layout viewport.
|
16570
|
+
* Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.
|
15725
16571
|
*/
|
15726
16572
|
layoutViewport: LayoutViewport;
|
15727
16573
|
/**
|
15728
|
-
* Deprecated metrics relating to the visual viewport.
|
16574
|
+
* Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.
|
15729
16575
|
*/
|
15730
16576
|
visualViewport: VisualViewport;
|
15731
16577
|
/**
|
15732
|
-
* Deprecated size of scrollable area.
|
16578
|
+
* Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
|
15733
16579
|
*/
|
15734
16580
|
contentSize: DOM.Rect;
|
15735
16581
|
/**
|
@@ -15827,7 +16673,8 @@ declare namespace Protocol {
|
|
15827
16673
|
*/
|
15828
16674
|
frameId: FrameId;
|
15829
16675
|
/**
|
15830
|
-
* Loader identifier.
|
16676
|
+
* Loader identifier. This is omitted in case of same-document navigation,
|
16677
|
+
* as the previously committed loaderId would not change.
|
15831
16678
|
*/
|
15832
16679
|
loaderId?: Network.LoaderId;
|
15833
16680
|
/**
|
@@ -15890,15 +16737,16 @@ declare namespace Protocol {
|
|
15890
16737
|
*/
|
15891
16738
|
marginRight?: number;
|
15892
16739
|
/**
|
15893
|
-
* Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
15894
|
-
*
|
16740
|
+
* Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are
|
16741
|
+
* printed in the document order, not in the order specified, and no
|
16742
|
+
* more than once.
|
16743
|
+
* Defaults to empty string, which implies the entire document is printed.
|
16744
|
+
* The page numbers are quietly capped to actual page count of the
|
16745
|
+
* document, and ranges beyond the end of the document are ignored.
|
16746
|
+
* If this results in no pages to print, an error is reported.
|
16747
|
+
* It is an error to specify a range with start greater than end.
|
15895
16748
|
*/
|
15896
16749
|
pageRanges?: string;
|
15897
|
-
/**
|
15898
|
-
* Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.
|
15899
|
-
* Defaults to false.
|
15900
|
-
*/
|
15901
|
-
ignoreInvalidPageRanges?: boolean;
|
15902
16750
|
/**
|
15903
16751
|
* HTML template for the print header. Should be valid HTML markup with following
|
15904
16752
|
* classes used to inject printing values into them:
|
@@ -15924,6 +16772,10 @@ declare namespace Protocol {
|
|
15924
16772
|
* return as stream (PrintToPDFRequestTransferMode enum)
|
15925
16773
|
*/
|
15926
16774
|
transferMode?: ('ReturnAsBase64' | 'ReturnAsStream');
|
16775
|
+
/**
|
16776
|
+
* Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
|
16777
|
+
*/
|
16778
|
+
generateTaggedPDF?: boolean;
|
15927
16779
|
}
|
15928
16780
|
|
15929
16781
|
interface PrintToPDFResponse {
|
@@ -16096,6 +16948,10 @@ declare namespace Protocol {
|
|
16096
16948
|
* Specifies font families to set. If a font family is not specified, it won't be changed.
|
16097
16949
|
*/
|
16098
16950
|
fontFamilies: FontFamilies;
|
16951
|
+
/**
|
16952
|
+
* Specifies font families to set for individual scripts.
|
16953
|
+
*/
|
16954
|
+
forScripts?: ScriptFontFamilies[];
|
16099
16955
|
}
|
16100
16956
|
|
16101
16957
|
interface SetFontSizesRequest {
|
@@ -16224,17 +17080,12 @@ declare namespace Protocol {
|
|
16224
17080
|
data: string;
|
16225
17081
|
}
|
16226
17082
|
|
16227
|
-
|
16228
|
-
|
16229
|
-
Autoaccept = 'autoaccept',
|
16230
|
-
Autoreject = 'autoreject',
|
17083
|
+
interface SetSPCTransactionModeRequest {
|
17084
|
+
mode: AutoResponseMode;
|
16231
17085
|
}
|
16232
17086
|
|
16233
|
-
interface
|
16234
|
-
|
16235
|
-
* (SetSPCTransactionModeRequestMode enum)
|
16236
|
-
*/
|
16237
|
-
mode: ('none' | 'autoaccept' | 'autoreject');
|
17087
|
+
interface SetRPHRegistrationModeRequest {
|
17088
|
+
mode: AutoResponseMode;
|
16238
17089
|
}
|
16239
17090
|
|
16240
17091
|
interface GenerateTestReportRequest {
|
@@ -16252,6 +17103,10 @@ declare namespace Protocol {
|
|
16252
17103
|
enabled: boolean;
|
16253
17104
|
}
|
16254
17105
|
|
17106
|
+
interface SetPrerenderingAllowedRequest {
|
17107
|
+
isAllowed: boolean;
|
17108
|
+
}
|
17109
|
+
|
16255
17110
|
interface DomContentEventFiredEvent {
|
16256
17111
|
timestamp: Network.MonotonicTime;
|
16257
17112
|
}
|
@@ -16269,14 +17124,14 @@ declare namespace Protocol {
|
|
16269
17124
|
* Id of the frame containing input node.
|
16270
17125
|
*/
|
16271
17126
|
frameId: FrameId;
|
16272
|
-
/**
|
16273
|
-
* Input node id.
|
16274
|
-
*/
|
16275
|
-
backendNodeId: DOM.BackendNodeId;
|
16276
17127
|
/**
|
16277
17128
|
* Input mode. (FileChooserOpenedEventMode enum)
|
16278
17129
|
*/
|
16279
17130
|
mode: ('selectSingle' | 'selectMultiple');
|
17131
|
+
/**
|
17132
|
+
* Input node id. Only present for file choosers opened via an `<input type="file">` element.
|
17133
|
+
*/
|
17134
|
+
backendNodeId?: DOM.BackendNodeId;
|
16280
17135
|
}
|
16281
17136
|
|
16282
17137
|
/**
|
@@ -17190,10 +18045,12 @@ declare namespace Protocol {
|
|
17190
18045
|
|
17191
18046
|
namespace Storage {
|
17192
18047
|
|
18048
|
+
type SerializedStorageKey = string;
|
18049
|
+
|
17193
18050
|
/**
|
17194
18051
|
* Enum of possible storage types.
|
17195
18052
|
*/
|
17196
|
-
type StorageType = ('appcache' | 'cookies' | 'file_systems' | 'indexeddb' | 'local_storage' | 'shader_cache' | 'websql' | 'service_workers' | 'cache_storage' | 'all' | 'other');
|
18053
|
+
type StorageType = ('appcache' | 'cookies' | 'file_systems' | 'indexeddb' | 'local_storage' | 'shader_cache' | 'websql' | 'service_workers' | 'cache_storage' | 'interest_groups' | 'shared_storage' | 'storage_buckets' | 'all' | 'other');
|
17197
18054
|
|
17198
18055
|
/**
|
17199
18056
|
* Usage for a storage type.
|
@@ -17218,6 +18075,210 @@ declare namespace Protocol {
|
|
17218
18075
|
count: number;
|
17219
18076
|
}
|
17220
18077
|
|
18078
|
+
/**
|
18079
|
+
* Enum of interest group access types.
|
18080
|
+
*/
|
18081
|
+
type InterestGroupAccessType = ('join' | 'leave' | 'update' | 'loaded' | 'bid' | 'win');
|
18082
|
+
|
18083
|
+
/**
|
18084
|
+
* Ad advertising element inside an interest group.
|
18085
|
+
*/
|
18086
|
+
interface InterestGroupAd {
|
18087
|
+
renderUrl: string;
|
18088
|
+
metadata?: string;
|
18089
|
+
}
|
18090
|
+
|
18091
|
+
/**
|
18092
|
+
* The full details of an interest group.
|
18093
|
+
*/
|
18094
|
+
interface InterestGroupDetails {
|
18095
|
+
ownerOrigin: string;
|
18096
|
+
name: string;
|
18097
|
+
expirationTime: Network.TimeSinceEpoch;
|
18098
|
+
joiningOrigin: string;
|
18099
|
+
biddingUrl?: string;
|
18100
|
+
biddingWasmHelperUrl?: string;
|
18101
|
+
updateUrl?: string;
|
18102
|
+
trustedBiddingSignalsUrl?: string;
|
18103
|
+
trustedBiddingSignalsKeys: string[];
|
18104
|
+
userBiddingSignals?: string;
|
18105
|
+
ads: InterestGroupAd[];
|
18106
|
+
adComponents: InterestGroupAd[];
|
18107
|
+
}
|
18108
|
+
|
18109
|
+
/**
|
18110
|
+
* Enum of shared storage access types.
|
18111
|
+
*/
|
18112
|
+
type SharedStorageAccessType = ('documentAddModule' | 'documentSelectURL' | 'documentRun' | 'documentSet' | 'documentAppend' | 'documentDelete' | 'documentClear' | 'workletSet' | 'workletAppend' | 'workletDelete' | 'workletClear' | 'workletGet' | 'workletKeys' | 'workletEntries' | 'workletLength' | 'workletRemainingBudget');
|
18113
|
+
|
18114
|
+
/**
|
18115
|
+
* Struct for a single key-value pair in an origin's shared storage.
|
18116
|
+
*/
|
18117
|
+
interface SharedStorageEntry {
|
18118
|
+
key: string;
|
18119
|
+
value: string;
|
18120
|
+
}
|
18121
|
+
|
18122
|
+
/**
|
18123
|
+
* Details for an origin's shared storage.
|
18124
|
+
*/
|
18125
|
+
interface SharedStorageMetadata {
|
18126
|
+
creationTime: Network.TimeSinceEpoch;
|
18127
|
+
length: integer;
|
18128
|
+
remainingBudget: number;
|
18129
|
+
}
|
18130
|
+
|
18131
|
+
/**
|
18132
|
+
* Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
18133
|
+
*/
|
18134
|
+
interface SharedStorageReportingMetadata {
|
18135
|
+
eventType: string;
|
18136
|
+
reportingUrl: string;
|
18137
|
+
}
|
18138
|
+
|
18139
|
+
/**
|
18140
|
+
* Bundles a candidate URL with its reporting metadata.
|
18141
|
+
*/
|
18142
|
+
interface SharedStorageUrlWithMetadata {
|
18143
|
+
/**
|
18144
|
+
* Spec of candidate URL.
|
18145
|
+
*/
|
18146
|
+
url: string;
|
18147
|
+
/**
|
18148
|
+
* Any associated reporting metadata.
|
18149
|
+
*/
|
18150
|
+
reportingMetadata: SharedStorageReportingMetadata[];
|
18151
|
+
}
|
18152
|
+
|
18153
|
+
/**
|
18154
|
+
* Bundles the parameters for shared storage access events whose
|
18155
|
+
* presence/absence can vary according to SharedStorageAccessType.
|
18156
|
+
*/
|
18157
|
+
interface SharedStorageAccessParams {
|
18158
|
+
/**
|
18159
|
+
* Spec of the module script URL.
|
18160
|
+
* Present only for SharedStorageAccessType.documentAddModule.
|
18161
|
+
*/
|
18162
|
+
scriptSourceUrl?: string;
|
18163
|
+
/**
|
18164
|
+
* Name of the registered operation to be run.
|
18165
|
+
* Present only for SharedStorageAccessType.documentRun and
|
18166
|
+
* SharedStorageAccessType.documentSelectURL.
|
18167
|
+
*/
|
18168
|
+
operationName?: string;
|
18169
|
+
/**
|
18170
|
+
* The operation's serialized data in bytes (converted to a string).
|
18171
|
+
* Present only for SharedStorageAccessType.documentRun and
|
18172
|
+
* SharedStorageAccessType.documentSelectURL.
|
18173
|
+
*/
|
18174
|
+
serializedData?: string;
|
18175
|
+
/**
|
18176
|
+
* Array of candidate URLs' specs, along with any associated metadata.
|
18177
|
+
* Present only for SharedStorageAccessType.documentSelectURL.
|
18178
|
+
*/
|
18179
|
+
urlsWithMetadata?: SharedStorageUrlWithMetadata[];
|
18180
|
+
/**
|
18181
|
+
* Key for a specific entry in an origin's shared storage.
|
18182
|
+
* Present only for SharedStorageAccessType.documentSet,
|
18183
|
+
* SharedStorageAccessType.documentAppend,
|
18184
|
+
* SharedStorageAccessType.documentDelete,
|
18185
|
+
* SharedStorageAccessType.workletSet,
|
18186
|
+
* SharedStorageAccessType.workletAppend,
|
18187
|
+
* SharedStorageAccessType.workletDelete, and
|
18188
|
+
* SharedStorageAccessType.workletGet.
|
18189
|
+
*/
|
18190
|
+
key?: string;
|
18191
|
+
/**
|
18192
|
+
* Value for a specific entry in an origin's shared storage.
|
18193
|
+
* Present only for SharedStorageAccessType.documentSet,
|
18194
|
+
* SharedStorageAccessType.documentAppend,
|
18195
|
+
* SharedStorageAccessType.workletSet, and
|
18196
|
+
* SharedStorageAccessType.workletAppend.
|
18197
|
+
*/
|
18198
|
+
value?: string;
|
18199
|
+
/**
|
18200
|
+
* Whether or not to set an entry for a key if that key is already present.
|
18201
|
+
* Present only for SharedStorageAccessType.documentSet and
|
18202
|
+
* SharedStorageAccessType.workletSet.
|
18203
|
+
*/
|
18204
|
+
ignoreIfPresent?: boolean;
|
18205
|
+
}
|
18206
|
+
|
18207
|
+
type StorageBucketsDurability = ('relaxed' | 'strict');
|
18208
|
+
|
18209
|
+
interface StorageBucket {
|
18210
|
+
storageKey: SerializedStorageKey;
|
18211
|
+
/**
|
18212
|
+
* If not specified, it is the default bucket of the storageKey.
|
18213
|
+
*/
|
18214
|
+
name?: string;
|
18215
|
+
}
|
18216
|
+
|
18217
|
+
interface StorageBucketInfo {
|
18218
|
+
bucket: StorageBucket;
|
18219
|
+
id: string;
|
18220
|
+
expiration: Network.TimeSinceEpoch;
|
18221
|
+
/**
|
18222
|
+
* Storage quota (bytes).
|
18223
|
+
*/
|
18224
|
+
quota: number;
|
18225
|
+
persistent: boolean;
|
18226
|
+
durability: StorageBucketsDurability;
|
18227
|
+
}
|
18228
|
+
|
18229
|
+
type AttributionReportingSourceType = ('navigation' | 'event');
|
18230
|
+
|
18231
|
+
type UnsignedInt64AsBase10 = string;
|
18232
|
+
|
18233
|
+
type UnsignedInt128AsBase16 = string;
|
18234
|
+
|
18235
|
+
type SignedInt64AsBase10 = string;
|
18236
|
+
|
18237
|
+
interface AttributionReportingFilterDataEntry {
|
18238
|
+
key: string;
|
18239
|
+
values: string[];
|
18240
|
+
}
|
18241
|
+
|
18242
|
+
interface AttributionReportingAggregationKeysEntry {
|
18243
|
+
key: string;
|
18244
|
+
value: UnsignedInt128AsBase16;
|
18245
|
+
}
|
18246
|
+
|
18247
|
+
interface AttributionReportingSourceRegistration {
|
18248
|
+
time: Network.TimeSinceEpoch;
|
18249
|
+
/**
|
18250
|
+
* duration in seconds
|
18251
|
+
*/
|
18252
|
+
expiry?: integer;
|
18253
|
+
/**
|
18254
|
+
* duration in seconds
|
18255
|
+
*/
|
18256
|
+
eventReportWindow?: integer;
|
18257
|
+
/**
|
18258
|
+
* duration in seconds
|
18259
|
+
*/
|
18260
|
+
aggregatableReportWindow?: integer;
|
18261
|
+
type: AttributionReportingSourceType;
|
18262
|
+
sourceOrigin: string;
|
18263
|
+
reportingOrigin: string;
|
18264
|
+
destinationSites: string[];
|
18265
|
+
eventId: UnsignedInt64AsBase10;
|
18266
|
+
priority: SignedInt64AsBase10;
|
18267
|
+
filterData: AttributionReportingFilterDataEntry[];
|
18268
|
+
aggregationKeys: AttributionReportingAggregationKeysEntry[];
|
18269
|
+
debugKey?: UnsignedInt64AsBase10;
|
18270
|
+
}
|
18271
|
+
|
18272
|
+
type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity');
|
18273
|
+
|
18274
|
+
interface GetStorageKeyForFrameRequest {
|
18275
|
+
frameId: Page.FrameId;
|
18276
|
+
}
|
18277
|
+
|
18278
|
+
interface GetStorageKeyForFrameResponse {
|
18279
|
+
storageKey: SerializedStorageKey;
|
18280
|
+
}
|
18281
|
+
|
17221
18282
|
interface ClearDataForOriginRequest {
|
17222
18283
|
/**
|
17223
18284
|
* Security origin.
|
@@ -17229,6 +18290,17 @@ declare namespace Protocol {
|
|
17229
18290
|
storageTypes: string;
|
17230
18291
|
}
|
17231
18292
|
|
18293
|
+
interface ClearDataForStorageKeyRequest {
|
18294
|
+
/**
|
18295
|
+
* Storage key.
|
18296
|
+
*/
|
18297
|
+
storageKey: string;
|
18298
|
+
/**
|
18299
|
+
* Comma separated list of StorageType to clear.
|
18300
|
+
*/
|
18301
|
+
storageTypes: string;
|
18302
|
+
}
|
18303
|
+
|
17232
18304
|
interface GetCookiesRequest {
|
17233
18305
|
/**
|
17234
18306
|
* Browser context to use when called on the browser endpoint.
|
@@ -17311,6 +18383,13 @@ declare namespace Protocol {
|
|
17311
18383
|
origin: string;
|
17312
18384
|
}
|
17313
18385
|
|
18386
|
+
interface TrackCacheStorageForStorageKeyRequest {
|
18387
|
+
/**
|
18388
|
+
* Storage key.
|
18389
|
+
*/
|
18390
|
+
storageKey: string;
|
18391
|
+
}
|
18392
|
+
|
17314
18393
|
interface TrackIndexedDBForOriginRequest {
|
17315
18394
|
/**
|
17316
18395
|
* Security origin.
|
@@ -17318,6 +18397,13 @@ declare namespace Protocol {
|
|
17318
18397
|
origin: string;
|
17319
18398
|
}
|
17320
18399
|
|
18400
|
+
interface TrackIndexedDBForStorageKeyRequest {
|
18401
|
+
/**
|
18402
|
+
* Storage key.
|
18403
|
+
*/
|
18404
|
+
storageKey: string;
|
18405
|
+
}
|
18406
|
+
|
17321
18407
|
interface UntrackCacheStorageForOriginRequest {
|
17322
18408
|
/**
|
17323
18409
|
* Security origin.
|
@@ -17325,6 +18411,13 @@ declare namespace Protocol {
|
|
17325
18411
|
origin: string;
|
17326
18412
|
}
|
17327
18413
|
|
18414
|
+
interface UntrackCacheStorageForStorageKeyRequest {
|
18415
|
+
/**
|
18416
|
+
* Storage key.
|
18417
|
+
*/
|
18418
|
+
storageKey: string;
|
18419
|
+
}
|
18420
|
+
|
17328
18421
|
interface UntrackIndexedDBForOriginRequest {
|
17329
18422
|
/**
|
17330
18423
|
* Security origin.
|
@@ -17332,6 +18425,13 @@ declare namespace Protocol {
|
|
17332
18425
|
origin: string;
|
17333
18426
|
}
|
17334
18427
|
|
18428
|
+
interface UntrackIndexedDBForStorageKeyRequest {
|
18429
|
+
/**
|
18430
|
+
* Storage key.
|
18431
|
+
*/
|
18432
|
+
storageKey: string;
|
18433
|
+
}
|
18434
|
+
|
17335
18435
|
interface GetTrustTokensResponse {
|
17336
18436
|
tokens: TrustTokens[];
|
17337
18437
|
}
|
@@ -17347,6 +18447,87 @@ declare namespace Protocol {
|
|
17347
18447
|
didDeleteTokens: boolean;
|
17348
18448
|
}
|
17349
18449
|
|
18450
|
+
interface GetInterestGroupDetailsRequest {
|
18451
|
+
ownerOrigin: string;
|
18452
|
+
name: string;
|
18453
|
+
}
|
18454
|
+
|
18455
|
+
interface GetInterestGroupDetailsResponse {
|
18456
|
+
details: InterestGroupDetails;
|
18457
|
+
}
|
18458
|
+
|
18459
|
+
interface SetInterestGroupTrackingRequest {
|
18460
|
+
enable: boolean;
|
18461
|
+
}
|
18462
|
+
|
18463
|
+
interface GetSharedStorageMetadataRequest {
|
18464
|
+
ownerOrigin: string;
|
18465
|
+
}
|
18466
|
+
|
18467
|
+
interface GetSharedStorageMetadataResponse {
|
18468
|
+
metadata: SharedStorageMetadata;
|
18469
|
+
}
|
18470
|
+
|
18471
|
+
interface GetSharedStorageEntriesRequest {
|
18472
|
+
ownerOrigin: string;
|
18473
|
+
}
|
18474
|
+
|
18475
|
+
interface GetSharedStorageEntriesResponse {
|
18476
|
+
entries: SharedStorageEntry[];
|
18477
|
+
}
|
18478
|
+
|
18479
|
+
interface SetSharedStorageEntryRequest {
|
18480
|
+
ownerOrigin: string;
|
18481
|
+
key: string;
|
18482
|
+
value: string;
|
18483
|
+
/**
|
18484
|
+
* If `ignoreIfPresent` is included and true, then only sets the entry if
|
18485
|
+
* `key` doesn't already exist.
|
18486
|
+
*/
|
18487
|
+
ignoreIfPresent?: boolean;
|
18488
|
+
}
|
18489
|
+
|
18490
|
+
interface DeleteSharedStorageEntryRequest {
|
18491
|
+
ownerOrigin: string;
|
18492
|
+
key: string;
|
18493
|
+
}
|
18494
|
+
|
18495
|
+
interface ClearSharedStorageEntriesRequest {
|
18496
|
+
ownerOrigin: string;
|
18497
|
+
}
|
18498
|
+
|
18499
|
+
interface ResetSharedStorageBudgetRequest {
|
18500
|
+
ownerOrigin: string;
|
18501
|
+
}
|
18502
|
+
|
18503
|
+
interface SetSharedStorageTrackingRequest {
|
18504
|
+
enable: boolean;
|
18505
|
+
}
|
18506
|
+
|
18507
|
+
interface SetStorageBucketTrackingRequest {
|
18508
|
+
storageKey: string;
|
18509
|
+
enable: boolean;
|
18510
|
+
}
|
18511
|
+
|
18512
|
+
interface DeleteStorageBucketRequest {
|
18513
|
+
bucket: StorageBucket;
|
18514
|
+
}
|
18515
|
+
|
18516
|
+
interface RunBounceTrackingMitigationsResponse {
|
18517
|
+
deletedSites: string[];
|
18518
|
+
}
|
18519
|
+
|
18520
|
+
interface SetAttributionReportingLocalTestingModeRequest {
|
18521
|
+
/**
|
18522
|
+
* If enabled, noise is suppressed and reports are sent immediately.
|
18523
|
+
*/
|
18524
|
+
enabled: boolean;
|
18525
|
+
}
|
18526
|
+
|
18527
|
+
interface SetAttributionReportingTrackingRequest {
|
18528
|
+
enable: boolean;
|
18529
|
+
}
|
18530
|
+
|
17350
18531
|
/**
|
17351
18532
|
* A cache's contents have been modified.
|
17352
18533
|
*/
|
@@ -17355,6 +18536,14 @@ declare namespace Protocol {
|
|
17355
18536
|
* Origin to update.
|
17356
18537
|
*/
|
17357
18538
|
origin: string;
|
18539
|
+
/**
|
18540
|
+
* Storage key to update.
|
18541
|
+
*/
|
18542
|
+
storageKey: string;
|
18543
|
+
/**
|
18544
|
+
* Storage bucket to update.
|
18545
|
+
*/
|
18546
|
+
bucketId: string;
|
17358
18547
|
/**
|
17359
18548
|
* Name of cache in origin.
|
17360
18549
|
*/
|
@@ -17369,34 +18558,113 @@ declare namespace Protocol {
|
|
17369
18558
|
* Origin to update.
|
17370
18559
|
*/
|
17371
18560
|
origin: string;
|
18561
|
+
/**
|
18562
|
+
* Storage key to update.
|
18563
|
+
*/
|
18564
|
+
storageKey: string;
|
18565
|
+
/**
|
18566
|
+
* Storage bucket to update.
|
18567
|
+
*/
|
18568
|
+
bucketId: string;
|
18569
|
+
}
|
18570
|
+
|
18571
|
+
/**
|
18572
|
+
* The origin's IndexedDB object store has been modified.
|
18573
|
+
*/
|
18574
|
+
interface IndexedDBContentUpdatedEvent {
|
18575
|
+
/**
|
18576
|
+
* Origin to update.
|
18577
|
+
*/
|
18578
|
+
origin: string;
|
18579
|
+
/**
|
18580
|
+
* Storage key to update.
|
18581
|
+
*/
|
18582
|
+
storageKey: string;
|
18583
|
+
/**
|
18584
|
+
* Storage bucket to update.
|
18585
|
+
*/
|
18586
|
+
bucketId: string;
|
18587
|
+
/**
|
18588
|
+
* Database to update.
|
18589
|
+
*/
|
18590
|
+
databaseName: string;
|
18591
|
+
/**
|
18592
|
+
* ObjectStore to update.
|
18593
|
+
*/
|
18594
|
+
objectStoreName: string;
|
18595
|
+
}
|
18596
|
+
|
18597
|
+
/**
|
18598
|
+
* The origin's IndexedDB database list has been modified.
|
18599
|
+
*/
|
18600
|
+
interface IndexedDBListUpdatedEvent {
|
18601
|
+
/**
|
18602
|
+
* Origin to update.
|
18603
|
+
*/
|
18604
|
+
origin: string;
|
18605
|
+
/**
|
18606
|
+
* Storage key to update.
|
18607
|
+
*/
|
18608
|
+
storageKey: string;
|
18609
|
+
/**
|
18610
|
+
* Storage bucket to update.
|
18611
|
+
*/
|
18612
|
+
bucketId: string;
|
18613
|
+
}
|
18614
|
+
|
18615
|
+
/**
|
18616
|
+
* One of the interest groups was accessed by the associated page.
|
18617
|
+
*/
|
18618
|
+
interface InterestGroupAccessedEvent {
|
18619
|
+
accessTime: Network.TimeSinceEpoch;
|
18620
|
+
type: InterestGroupAccessType;
|
18621
|
+
ownerOrigin: string;
|
18622
|
+
name: string;
|
17372
18623
|
}
|
17373
18624
|
|
17374
18625
|
/**
|
17375
|
-
*
|
18626
|
+
* Shared storage was accessed by the associated page.
|
18627
|
+
* The following parameters are included in all events.
|
17376
18628
|
*/
|
17377
|
-
interface
|
18629
|
+
interface SharedStorageAccessedEvent {
|
17378
18630
|
/**
|
17379
|
-
*
|
18631
|
+
* Time of the access.
|
17380
18632
|
*/
|
17381
|
-
|
18633
|
+
accessTime: Network.TimeSinceEpoch;
|
17382
18634
|
/**
|
17383
|
-
*
|
18635
|
+
* Enum value indicating the Shared Storage API method invoked.
|
17384
18636
|
*/
|
17385
|
-
|
18637
|
+
type: SharedStorageAccessType;
|
17386
18638
|
/**
|
17387
|
-
*
|
18639
|
+
* DevTools Frame Token for the primary frame tree's root.
|
17388
18640
|
*/
|
17389
|
-
|
18641
|
+
mainFrameId: Page.FrameId;
|
18642
|
+
/**
|
18643
|
+
* Serialized origin for the context that invoked the Shared Storage API.
|
18644
|
+
*/
|
18645
|
+
ownerOrigin: string;
|
18646
|
+
/**
|
18647
|
+
* The sub-parameters warapped by `params` are all optional and their
|
18648
|
+
* presence/absence depends on `type`.
|
18649
|
+
*/
|
18650
|
+
params: SharedStorageAccessParams;
|
18651
|
+
}
|
18652
|
+
|
18653
|
+
interface StorageBucketCreatedOrUpdatedEvent {
|
18654
|
+
bucketInfo: StorageBucketInfo;
|
18655
|
+
}
|
18656
|
+
|
18657
|
+
interface StorageBucketDeletedEvent {
|
18658
|
+
bucketId: string;
|
17390
18659
|
}
|
17391
18660
|
|
17392
18661
|
/**
|
17393
|
-
*
|
18662
|
+
* TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
|
18663
|
+
* trigger registration.
|
17394
18664
|
*/
|
17395
|
-
interface
|
17396
|
-
|
17397
|
-
|
17398
|
-
*/
|
17399
|
-
origin: string;
|
18665
|
+
interface AttributionReportingSourceRegisteredEvent {
|
18666
|
+
registration: AttributionReportingSourceRegistration;
|
18667
|
+
result: AttributionReportingSourceRegistrationResult;
|
17400
18668
|
}
|
17401
18669
|
}
|
17402
18670
|
|
@@ -17606,6 +18874,14 @@ declare namespace Protocol {
|
|
17606
18874
|
commandLine: string;
|
17607
18875
|
}
|
17608
18876
|
|
18877
|
+
interface GetFeatureStateRequest {
|
18878
|
+
featureState: string;
|
18879
|
+
}
|
18880
|
+
|
18881
|
+
interface GetFeatureStateResponse {
|
18882
|
+
featureEnabled: boolean;
|
18883
|
+
}
|
18884
|
+
|
17609
18885
|
interface GetProcessInfoResponse {
|
17610
18886
|
/**
|
17611
18887
|
* An array of process info blocks.
|
@@ -17648,8 +18924,37 @@ declare namespace Protocol {
|
|
17648
18924
|
*/
|
17649
18925
|
openerFrameId?: Page.FrameId;
|
17650
18926
|
browserContextId?: Browser.BrowserContextID;
|
18927
|
+
/**
|
18928
|
+
* Provides additional details for specific target types. For example, for
|
18929
|
+
* the type of "page", this may be set to "portal" or "prerender".
|
18930
|
+
*/
|
18931
|
+
subtype?: string;
|
17651
18932
|
}
|
17652
18933
|
|
18934
|
+
/**
|
18935
|
+
* A filter used by target query/discovery/auto-attach operations.
|
18936
|
+
*/
|
18937
|
+
interface FilterEntry {
|
18938
|
+
/**
|
18939
|
+
* If set, causes exclusion of mathcing targets from the list.
|
18940
|
+
*/
|
18941
|
+
exclude?: boolean;
|
18942
|
+
/**
|
18943
|
+
* If not present, matches any type.
|
18944
|
+
*/
|
18945
|
+
type?: string;
|
18946
|
+
}
|
18947
|
+
|
18948
|
+
/**
|
18949
|
+
* The entries in TargetFilter are matched sequentially against targets and
|
18950
|
+
* the first entry that matches determines if the target is included or not,
|
18951
|
+
* depending on the value of `exclude` field in the entry.
|
18952
|
+
* If filter is not specified, the one assumed is
|
18953
|
+
* [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
|
18954
|
+
* (i.e. include everything but `browser` and `tab`).
|
18955
|
+
*/
|
18956
|
+
type TargetFilter = FilterEntry[];
|
18957
|
+
|
17653
18958
|
interface RemoteLocation {
|
17654
18959
|
host: string;
|
17655
18960
|
port: integer;
|
@@ -17767,6 +19072,10 @@ declare namespace Protocol {
|
|
17767
19072
|
* false by default).
|
17768
19073
|
*/
|
17769
19074
|
background?: boolean;
|
19075
|
+
/**
|
19076
|
+
* Whether to create the target of type "tab".
|
19077
|
+
*/
|
19078
|
+
forTab?: boolean;
|
17770
19079
|
}
|
17771
19080
|
|
17772
19081
|
interface CreateTargetResponse {
|
@@ -17799,6 +19108,15 @@ declare namespace Protocol {
|
|
17799
19108
|
targetInfo: TargetInfo;
|
17800
19109
|
}
|
17801
19110
|
|
19111
|
+
interface GetTargetsRequest {
|
19112
|
+
/**
|
19113
|
+
* Only targets matching filter will be reported. If filter is not specified
|
19114
|
+
* and target discovery is currently enabled, a filter used for target discovery
|
19115
|
+
* is used for consistency.
|
19116
|
+
*/
|
19117
|
+
filter?: TargetFilter;
|
19118
|
+
}
|
19119
|
+
|
17802
19120
|
interface GetTargetsResponse {
|
17803
19121
|
/**
|
17804
19122
|
* The list of targets.
|
@@ -17834,6 +19152,10 @@ declare namespace Protocol {
|
|
17834
19152
|
* and eventually retire it. See crbug.com/991325.
|
17835
19153
|
*/
|
17836
19154
|
flatten?: boolean;
|
19155
|
+
/**
|
19156
|
+
* Only targets matching filter will be attached.
|
19157
|
+
*/
|
19158
|
+
filter?: TargetFilter;
|
17837
19159
|
}
|
17838
19160
|
|
17839
19161
|
interface AutoAttachRelatedRequest {
|
@@ -17843,6 +19165,10 @@ declare namespace Protocol {
|
|
17843
19165
|
* to run paused targets.
|
17844
19166
|
*/
|
17845
19167
|
waitForDebuggerOnStart: boolean;
|
19168
|
+
/**
|
19169
|
+
* Only targets matching filter will be attached.
|
19170
|
+
*/
|
19171
|
+
filter?: TargetFilter;
|
17846
19172
|
}
|
17847
19173
|
|
17848
19174
|
interface SetDiscoverTargetsRequest {
|
@@ -17850,6 +19176,11 @@ declare namespace Protocol {
|
|
17850
19176
|
* Whether to discover available targets.
|
17851
19177
|
*/
|
17852
19178
|
discover: boolean;
|
19179
|
+
/**
|
19180
|
+
* Only targets matching filter will be attached. If `discover` is false,
|
19181
|
+
* `filter` must be omitted or empty.
|
19182
|
+
*/
|
19183
|
+
filter?: TargetFilter;
|
17853
19184
|
}
|
17854
19185
|
|
17855
19186
|
interface SetRemoteLocationsRequest {
|
@@ -17995,6 +19326,11 @@ declare namespace Protocol {
|
|
17995
19326
|
* Controls how the trace buffer stores data. (TraceConfigRecordMode enum)
|
17996
19327
|
*/
|
17997
19328
|
recordMode?: ('recordUntilFull' | 'recordContinuously' | 'recordAsMuchAsPossible' | 'echoToConsole');
|
19329
|
+
/**
|
19330
|
+
* Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
19331
|
+
* of 200 MB would be used.
|
19332
|
+
*/
|
19333
|
+
traceBufferSizeInKb?: number;
|
17998
19334
|
/**
|
17999
19335
|
* Turns on JavaScript stack sampling.
|
18000
19336
|
*/
|
@@ -18152,8 +19488,8 @@ declare namespace Protocol {
|
|
18152
19488
|
}
|
18153
19489
|
|
18154
19490
|
/**
|
18155
|
-
* Contains
|
18156
|
-
*
|
19491
|
+
* Contains a bucket of collected trace events. When tracing is stopped collected events will be
|
19492
|
+
* sent as a sequence of dataCollected events followed by tracingComplete event.
|
18157
19493
|
*/
|
18158
19494
|
interface DataCollectedEvent {
|
18159
19495
|
value: any[];
|
@@ -18356,7 +19692,9 @@ declare namespace Protocol {
|
|
18356
19692
|
*/
|
18357
19693
|
postData?: string;
|
18358
19694
|
/**
|
18359
|
-
* If set, overrides the request headers.
|
19695
|
+
* If set, overrides the request headers. Note that the overrides do not
|
19696
|
+
* extend to subsequent redirect hops, if a redirect happens. Another override
|
19697
|
+
* may be applied to a different request produced by a redirect.
|
18360
19698
|
*/
|
18361
19699
|
headers?: HeaderEntry[];
|
18362
19700
|
/**
|
@@ -18436,6 +19774,11 @@ declare namespace Protocol {
|
|
18436
19774
|
* The stage of the request can be determined by presence of responseErrorReason
|
18437
19775
|
* and responseStatusCode -- the request is at the response stage if either
|
18438
19776
|
* of these fields is present and in the request stage otherwise.
|
19777
|
+
* Redirect responses and subsequent requests are reported similarly to regular
|
19778
|
+
* responses and requests. Redirect responses may be distinguished by the value
|
19779
|
+
* of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with
|
19780
|
+
* presence of the `location` header. Requests resulting from a redirect will
|
19781
|
+
* have `redirectedRequestId` field set.
|
18439
19782
|
*/
|
18440
19783
|
interface RequestPausedEvent {
|
18441
19784
|
/**
|
@@ -18474,7 +19817,12 @@ declare namespace Protocol {
|
|
18474
19817
|
* If the intercepted request had a corresponding Network.requestWillBeSent event fired for it,
|
18475
19818
|
* then this networkId will be the same as the requestId present in the requestWillBeSent event.
|
18476
19819
|
*/
|
18477
|
-
networkId?: RequestId;
|
19820
|
+
networkId?: Network.RequestId;
|
19821
|
+
/**
|
19822
|
+
* If the request is due to a redirect response from the server, the id of the request that
|
19823
|
+
* has caused the redirect.
|
19824
|
+
*/
|
19825
|
+
redirectedRequestId?: RequestId;
|
18478
19826
|
}
|
18479
19827
|
|
18480
19828
|
/**
|
@@ -18800,6 +20148,12 @@ declare namespace Protocol {
|
|
18800
20148
|
* Defaults to false.
|
18801
20149
|
*/
|
18802
20150
|
hasMinPinLength?: boolean;
|
20151
|
+
/**
|
20152
|
+
* If set to true, the authenticator will support the prf extension.
|
20153
|
+
* https://w3c.github.io/webauthn/#prf-extension
|
20154
|
+
* Defaults to false.
|
20155
|
+
*/
|
20156
|
+
hasPrf?: boolean;
|
18803
20157
|
/**
|
18804
20158
|
* If set to true, tests of user presence will succeed immediately.
|
18805
20159
|
* Otherwise, they will not be resolved. Defaults to true.
|
@@ -18842,6 +20196,17 @@ declare namespace Protocol {
|
|
18842
20196
|
largeBlob?: string;
|
18843
20197
|
}
|
18844
20198
|
|
20199
|
+
interface EnableRequest {
|
20200
|
+
/**
|
20201
|
+
* Whether to enable the WebAuthn user interface. Enabling the UI is
|
20202
|
+
* recommended for debugging and demo purposes, as it is closer to the real
|
20203
|
+
* experience. Disabling the UI is recommended for automated testing.
|
20204
|
+
* Supported at the embedder's discretion if UI is available.
|
20205
|
+
* Defaults to false.
|
20206
|
+
*/
|
20207
|
+
enableUI?: boolean;
|
20208
|
+
}
|
20209
|
+
|
18845
20210
|
interface AddVirtualAuthenticatorRequest {
|
18846
20211
|
options: VirtualAuthenticatorOptions;
|
18847
20212
|
}
|
@@ -18850,6 +20215,25 @@ declare namespace Protocol {
|
|
18850
20215
|
authenticatorId: AuthenticatorId;
|
18851
20216
|
}
|
18852
20217
|
|
20218
|
+
interface SetResponseOverrideBitsRequest {
|
20219
|
+
authenticatorId: AuthenticatorId;
|
20220
|
+
/**
|
20221
|
+
* If isBogusSignature is set, overrides the signature in the authenticator response to be zero.
|
20222
|
+
* Defaults to false.
|
20223
|
+
*/
|
20224
|
+
isBogusSignature?: boolean;
|
20225
|
+
/**
|
20226
|
+
* If isBadUV is set, overrides the UV bit in the flags in the authenticator response to
|
20227
|
+
* be zero. Defaults to false.
|
20228
|
+
*/
|
20229
|
+
isBadUV?: boolean;
|
20230
|
+
/**
|
20231
|
+
* If isBadUP is set, overrides the UP bit in the flags in the authenticator response to
|
20232
|
+
* be zero. Defaults to false.
|
20233
|
+
*/
|
20234
|
+
isBadUP?: boolean;
|
20235
|
+
}
|
20236
|
+
|
18853
20237
|
interface RemoveVirtualAuthenticatorRequest {
|
18854
20238
|
authenticatorId: AuthenticatorId;
|
18855
20239
|
}
|
@@ -18894,6 +20278,22 @@ declare namespace Protocol {
|
|
18894
20278
|
authenticatorId: AuthenticatorId;
|
18895
20279
|
enabled: boolean;
|
18896
20280
|
}
|
20281
|
+
|
20282
|
+
/**
|
20283
|
+
* Triggered when a credential is added to an authenticator.
|
20284
|
+
*/
|
20285
|
+
interface CredentialAddedEvent {
|
20286
|
+
authenticatorId: AuthenticatorId;
|
20287
|
+
credential: Credential;
|
20288
|
+
}
|
20289
|
+
|
20290
|
+
/**
|
20291
|
+
* Triggered when a credential is used in a webauthn assertion.
|
20292
|
+
*/
|
20293
|
+
interface CredentialAssertedEvent {
|
20294
|
+
authenticatorId: AuthenticatorId;
|
20295
|
+
credential: Credential;
|
20296
|
+
}
|
18897
20297
|
}
|
18898
20298
|
|
18899
20299
|
/**
|
@@ -18951,27 +20351,38 @@ declare namespace Protocol {
|
|
18951
20351
|
value: string;
|
18952
20352
|
}
|
18953
20353
|
|
18954
|
-
|
18955
|
-
|
18956
|
-
|
20354
|
+
/**
|
20355
|
+
* Represents logged source line numbers reported in an error.
|
20356
|
+
* NOTE: file and line are from chromium c++ implementation code, not js.
|
20357
|
+
*/
|
20358
|
+
interface PlayerErrorSourceLocation {
|
20359
|
+
file: string;
|
20360
|
+
line: integer;
|
18957
20361
|
}
|
18958
20362
|
|
18959
20363
|
/**
|
18960
20364
|
* Corresponds to kMediaError
|
18961
20365
|
*/
|
18962
20366
|
interface PlayerError {
|
20367
|
+
errorType: string;
|
20368
|
+
/**
|
20369
|
+
* Code is the numeric enum entry for a specific set of error codes, such
|
20370
|
+
* as PipelineStatusCodes in media/base/pipeline_status.h
|
20371
|
+
*/
|
20372
|
+
code: integer;
|
20373
|
+
/**
|
20374
|
+
* A trace of where this error was caused / where it passed through.
|
20375
|
+
*/
|
20376
|
+
stack: PlayerErrorSourceLocation[];
|
18963
20377
|
/**
|
18964
|
-
*
|
20378
|
+
* Errors potentially have a root cause error, ie, a DecoderError might be
|
20379
|
+
* caused by an WindowsError
|
18965
20380
|
*/
|
18966
|
-
|
20381
|
+
cause: PlayerError[];
|
18967
20382
|
/**
|
18968
|
-
*
|
18969
|
-
* we can remove "errorCode" and replace it with the fields from
|
18970
|
-
* a Status instance. This also seems like a duplicate of the error
|
18971
|
-
* level enum - there is a todo bug to have that level removed and
|
18972
|
-
* use this instead. (crbug.com/1068454)
|
20383
|
+
* Extra data attached to an error, such as an HRESULT, Video Codec, etc.
|
18973
20384
|
*/
|
18974
|
-
|
20385
|
+
data: any;
|
18975
20386
|
}
|
18976
20387
|
|
18977
20388
|
/**
|
@@ -18992,29 +20403,328 @@ declare namespace Protocol {
|
|
18992
20403
|
events: PlayerEvent[];
|
18993
20404
|
}
|
18994
20405
|
|
18995
|
-
/**
|
18996
|
-
* Send a list of any messages that need to be delivered.
|
18997
|
-
*/
|
18998
|
-
interface PlayerMessagesLoggedEvent {
|
18999
|
-
playerId: PlayerId;
|
19000
|
-
messages: PlayerMessage[];
|
20406
|
+
/**
|
20407
|
+
* Send a list of any messages that need to be delivered.
|
20408
|
+
*/
|
20409
|
+
interface PlayerMessagesLoggedEvent {
|
20410
|
+
playerId: PlayerId;
|
20411
|
+
messages: PlayerMessage[];
|
20412
|
+
}
|
20413
|
+
|
20414
|
+
/**
|
20415
|
+
* Send a list of any errors that need to be delivered.
|
20416
|
+
*/
|
20417
|
+
interface PlayerErrorsRaisedEvent {
|
20418
|
+
playerId: PlayerId;
|
20419
|
+
errors: PlayerError[];
|
20420
|
+
}
|
20421
|
+
|
20422
|
+
/**
|
20423
|
+
* Called whenever a player is created, or when a new agent joins and receives
|
20424
|
+
* a list of active players. If an agent is restored, it will receive the full
|
20425
|
+
* list of player ids and all events again.
|
20426
|
+
*/
|
20427
|
+
interface PlayersCreatedEvent {
|
20428
|
+
players: PlayerId[];
|
20429
|
+
}
|
20430
|
+
}
|
20431
|
+
|
20432
|
+
namespace DeviceAccess {
|
20433
|
+
|
20434
|
+
/**
|
20435
|
+
* Device request id.
|
20436
|
+
*/
|
20437
|
+
type RequestId = string;
|
20438
|
+
|
20439
|
+
/**
|
20440
|
+
* A device id.
|
20441
|
+
*/
|
20442
|
+
type DeviceId = string;
|
20443
|
+
|
20444
|
+
/**
|
20445
|
+
* Device information displayed in a user prompt to select a device.
|
20446
|
+
*/
|
20447
|
+
interface PromptDevice {
|
20448
|
+
id: DeviceId;
|
20449
|
+
/**
|
20450
|
+
* Display name as it appears in a device request user prompt.
|
20451
|
+
*/
|
20452
|
+
name: string;
|
20453
|
+
}
|
20454
|
+
|
20455
|
+
interface SelectPromptRequest {
|
20456
|
+
id: RequestId;
|
20457
|
+
deviceId: DeviceId;
|
20458
|
+
}
|
20459
|
+
|
20460
|
+
interface CancelPromptRequest {
|
20461
|
+
id: RequestId;
|
20462
|
+
}
|
20463
|
+
|
20464
|
+
/**
|
20465
|
+
* A device request opened a user prompt to select a device. Respond with the
|
20466
|
+
* selectPrompt or cancelPrompt command.
|
20467
|
+
*/
|
20468
|
+
interface DeviceRequestPromptedEvent {
|
20469
|
+
id: RequestId;
|
20470
|
+
devices: PromptDevice[];
|
20471
|
+
}
|
20472
|
+
}
|
20473
|
+
|
20474
|
+
namespace Preload {
|
20475
|
+
|
20476
|
+
/**
|
20477
|
+
* Unique id
|
20478
|
+
*/
|
20479
|
+
type RuleSetId = string;
|
20480
|
+
|
20481
|
+
/**
|
20482
|
+
* Corresponds to SpeculationRuleSet
|
20483
|
+
*/
|
20484
|
+
interface RuleSet {
|
20485
|
+
id: RuleSetId;
|
20486
|
+
/**
|
20487
|
+
* Identifies a document which the rule set is associated with.
|
20488
|
+
*/
|
20489
|
+
loaderId: Network.LoaderId;
|
20490
|
+
/**
|
20491
|
+
* Source text of JSON representing the rule set. If it comes from
|
20492
|
+
* `<script>` tag, it is the textContent of the node. Note that it is
|
20493
|
+
* a JSON for valid case.
|
20494
|
+
*
|
20495
|
+
* See also:
|
20496
|
+
* - https://wicg.github.io/nav-speculation/speculation-rules.html
|
20497
|
+
* - https://github.com/WICG/nav-speculation/blob/main/triggers.md
|
20498
|
+
*/
|
20499
|
+
sourceText: string;
|
20500
|
+
/**
|
20501
|
+
* A speculation rule set is either added through an inline
|
20502
|
+
* `<script>` tag or through an external resource via the
|
20503
|
+
* 'Speculation-Rules' HTTP header. For the first case, we include
|
20504
|
+
* the BackendNodeId of the relevant `<script>` tag. For the second
|
20505
|
+
* case, we include the external URL where the rule set was loaded
|
20506
|
+
* from, and also RequestId if Network domain is enabled.
|
20507
|
+
*
|
20508
|
+
* See also:
|
20509
|
+
* - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script
|
20510
|
+
* - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
|
20511
|
+
*/
|
20512
|
+
backendNodeId?: DOM.BackendNodeId;
|
20513
|
+
url?: string;
|
20514
|
+
requestId?: Network.RequestId;
|
20515
|
+
/**
|
20516
|
+
* Error information
|
20517
|
+
* `errorMessage` is null iff `errorType` is null.
|
20518
|
+
*/
|
20519
|
+
errorType?: RuleSetErrorType;
|
20520
|
+
/**
|
20521
|
+
* TODO(https://crbug.com/1425354): Replace this property with structured error.
|
20522
|
+
*/
|
20523
|
+
errorMessage?: string;
|
20524
|
+
}
|
20525
|
+
|
20526
|
+
type RuleSetErrorType = ('SourceIsNotJsonObject' | 'InvalidRulesSkipped');
|
20527
|
+
|
20528
|
+
/**
|
20529
|
+
* The type of preloading attempted. It corresponds to
|
20530
|
+
* mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
|
20531
|
+
* isn't being used by clients).
|
20532
|
+
*/
|
20533
|
+
type SpeculationAction = ('Prefetch' | 'Prerender');
|
20534
|
+
|
20535
|
+
/**
|
20536
|
+
* Corresponds to mojom::SpeculationTargetHint.
|
20537
|
+
* See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
|
20538
|
+
*/
|
20539
|
+
type SpeculationTargetHint = ('Blank' | 'Self');
|
20540
|
+
|
20541
|
+
/**
|
20542
|
+
* A key that identifies a preloading attempt.
|
20543
|
+
*
|
20544
|
+
* The url used is the url specified by the trigger (i.e. the initial URL), and
|
20545
|
+
* not the final url that is navigated to. For example, prerendering allows
|
20546
|
+
* same-origin main frame navigations during the attempt, but the attempt is
|
20547
|
+
* still keyed with the initial URL.
|
20548
|
+
*/
|
20549
|
+
interface PreloadingAttemptKey {
|
20550
|
+
loaderId: Network.LoaderId;
|
20551
|
+
action: SpeculationAction;
|
20552
|
+
url: string;
|
20553
|
+
targetHint?: SpeculationTargetHint;
|
20554
|
+
}
|
20555
|
+
|
20556
|
+
/**
|
20557
|
+
* Lists sources for a preloading attempt, specifically the ids of rule sets
|
20558
|
+
* that had a speculation rule that triggered the attempt, and the
|
20559
|
+
* BackendNodeIds of <a href> or <area href> elements that triggered the
|
20560
|
+
* attempt (in the case of attempts triggered by a document rule). It is
|
20561
|
+
* possible for mulitple rule sets and links to trigger a single attempt.
|
20562
|
+
*/
|
20563
|
+
interface PreloadingAttemptSource {
|
20564
|
+
key: PreloadingAttemptKey;
|
20565
|
+
ruleSetIds: RuleSetId[];
|
20566
|
+
nodeIds: DOM.BackendNodeId[];
|
20567
|
+
}
|
20568
|
+
|
20569
|
+
/**
|
20570
|
+
* List of FinalStatus reasons for Prerender2.
|
20571
|
+
*/
|
20572
|
+
type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | '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' | 'ResourceLoadBlockedByClient' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts');
|
20573
|
+
|
20574
|
+
/**
|
20575
|
+
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
20576
|
+
* status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
20577
|
+
*/
|
20578
|
+
type PreloadingStatus = ('Pending' | 'Running' | 'Ready' | 'Success' | 'Failure' | 'NotSupported');
|
20579
|
+
|
20580
|
+
/**
|
20581
|
+
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
20582
|
+
* filter out the ones that aren't necessary to the developers.
|
20583
|
+
*/
|
20584
|
+
type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchFailedPerPageLimitExceeded' | 'PrefetchEvicted' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
|
20585
|
+
|
20586
|
+
/**
|
20587
|
+
* Upsert. Currently, it is only emitted when a rule set added.
|
20588
|
+
*/
|
20589
|
+
interface RuleSetUpdatedEvent {
|
20590
|
+
ruleSet: RuleSet;
|
20591
|
+
}
|
20592
|
+
|
20593
|
+
interface RuleSetRemovedEvent {
|
20594
|
+
id: RuleSetId;
|
20595
|
+
}
|
20596
|
+
|
20597
|
+
/**
|
20598
|
+
* Fired when a prerender attempt is completed.
|
20599
|
+
*/
|
20600
|
+
interface PrerenderAttemptCompletedEvent {
|
20601
|
+
key: PreloadingAttemptKey;
|
20602
|
+
/**
|
20603
|
+
* The frame id of the frame initiating prerendering.
|
20604
|
+
*/
|
20605
|
+
initiatingFrameId: Page.FrameId;
|
20606
|
+
prerenderingUrl: string;
|
20607
|
+
finalStatus: PrerenderFinalStatus;
|
20608
|
+
/**
|
20609
|
+
* This is used to give users more information about the name of the API call
|
20610
|
+
* that is incompatible with prerender and has caused the cancellation of the attempt
|
20611
|
+
*/
|
20612
|
+
disallowedApiMethod?: string;
|
20613
|
+
}
|
20614
|
+
|
20615
|
+
/**
|
20616
|
+
* Fired when a preload enabled state is updated.
|
20617
|
+
*/
|
20618
|
+
interface PreloadEnabledStateUpdatedEvent {
|
20619
|
+
disabledByPreference: boolean;
|
20620
|
+
disabledByDataSaver: boolean;
|
20621
|
+
disabledByBatterySaver: boolean;
|
20622
|
+
disabledByHoldbackPrefetchSpeculationRules: boolean;
|
20623
|
+
disabledByHoldbackPrerenderSpeculationRules: boolean;
|
20624
|
+
}
|
20625
|
+
|
20626
|
+
/**
|
20627
|
+
* Fired when a prefetch attempt is updated.
|
20628
|
+
*/
|
20629
|
+
interface PrefetchStatusUpdatedEvent {
|
20630
|
+
key: PreloadingAttemptKey;
|
20631
|
+
/**
|
20632
|
+
* The frame id of the frame initiating prefetch.
|
20633
|
+
*/
|
20634
|
+
initiatingFrameId: Page.FrameId;
|
20635
|
+
prefetchUrl: string;
|
20636
|
+
status: PreloadingStatus;
|
20637
|
+
prefetchStatus: PrefetchStatus;
|
20638
|
+
requestId: Network.RequestId;
|
20639
|
+
}
|
20640
|
+
|
20641
|
+
/**
|
20642
|
+
* Fired when a prerender attempt is updated.
|
20643
|
+
*/
|
20644
|
+
interface PrerenderStatusUpdatedEvent {
|
20645
|
+
key: PreloadingAttemptKey;
|
20646
|
+
status: PreloadingStatus;
|
20647
|
+
prerenderStatus?: PrerenderFinalStatus;
|
20648
|
+
/**
|
20649
|
+
* This is used to give users more information about the name of Mojo interface
|
20650
|
+
* that is incompatible with prerender and has caused the cancellation of the attempt.
|
20651
|
+
*/
|
20652
|
+
disallowedMojoInterface?: string;
|
20653
|
+
}
|
20654
|
+
|
20655
|
+
/**
|
20656
|
+
* Send a list of sources for all preloading attempts in a document.
|
20657
|
+
*/
|
20658
|
+
interface PreloadingAttemptSourcesUpdatedEvent {
|
20659
|
+
loaderId: Network.LoaderId;
|
20660
|
+
preloadingAttemptSources: PreloadingAttemptSource[];
|
20661
|
+
}
|
20662
|
+
}
|
20663
|
+
|
20664
|
+
/**
|
20665
|
+
* This domain allows interacting with the FedCM dialog.
|
20666
|
+
*/
|
20667
|
+
namespace FedCm {
|
20668
|
+
|
20669
|
+
/**
|
20670
|
+
* Whether this is a sign-up or sign-in action for this account, i.e.
|
20671
|
+
* whether this account has ever been used to sign in to this RP before.
|
20672
|
+
*/
|
20673
|
+
type LoginState = ('SignIn' | 'SignUp');
|
20674
|
+
|
20675
|
+
/**
|
20676
|
+
* Whether the dialog shown is an account chooser or an auto re-authentication dialog.
|
20677
|
+
*/
|
20678
|
+
type DialogType = ('AccountChooser' | 'AutoReauthn' | 'ConfirmIdpSignin');
|
20679
|
+
|
20680
|
+
/**
|
20681
|
+
* Corresponds to IdentityRequestAccount
|
20682
|
+
*/
|
20683
|
+
interface Account {
|
20684
|
+
accountId: string;
|
20685
|
+
email: string;
|
20686
|
+
name: string;
|
20687
|
+
givenName: string;
|
20688
|
+
pictureUrl: string;
|
20689
|
+
idpConfigUrl: string;
|
20690
|
+
idpSigninUrl: string;
|
20691
|
+
loginState: LoginState;
|
20692
|
+
/**
|
20693
|
+
* These two are only set if the loginState is signUp
|
20694
|
+
*/
|
20695
|
+
termsOfServiceUrl?: string;
|
20696
|
+
privacyPolicyUrl?: string;
|
20697
|
+
}
|
20698
|
+
|
20699
|
+
interface EnableRequest {
|
20700
|
+
/**
|
20701
|
+
* Allows callers to disable the promise rejection delay that would
|
20702
|
+
* normally happen, if this is unimportant to what's being tested.
|
20703
|
+
* (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
|
20704
|
+
*/
|
20705
|
+
disableRejectionDelay?: boolean;
|
20706
|
+
}
|
20707
|
+
|
20708
|
+
interface SelectAccountRequest {
|
20709
|
+
dialogId: string;
|
20710
|
+
accountIndex: integer;
|
19001
20711
|
}
|
19002
20712
|
|
19003
|
-
|
19004
|
-
|
19005
|
-
|
19006
|
-
interface PlayerErrorsRaisedEvent {
|
19007
|
-
playerId: PlayerId;
|
19008
|
-
errors: PlayerError[];
|
20713
|
+
interface DismissDialogRequest {
|
20714
|
+
dialogId: string;
|
20715
|
+
triggerCooldown?: boolean;
|
19009
20716
|
}
|
19010
20717
|
|
19011
|
-
|
19012
|
-
|
19013
|
-
|
19014
|
-
|
19015
|
-
|
19016
|
-
|
19017
|
-
|
20718
|
+
interface DialogShownEvent {
|
20719
|
+
dialogId: string;
|
20720
|
+
dialogType: DialogType;
|
20721
|
+
accounts: Account[];
|
20722
|
+
/**
|
20723
|
+
* These exist primarily so that the caller can verify the
|
20724
|
+
* RP context was used appropriately.
|
20725
|
+
*/
|
20726
|
+
title: string;
|
20727
|
+
subtitle?: string;
|
19018
20728
|
}
|
19019
20729
|
}
|
19020
20730
|
}
|
@@ -19148,7 +20858,7 @@ declare namespace ProtocolMapping {
|
|
19148
20858
|
'Browser.downloadProgress': [Protocol.Browser.DownloadProgressEvent];
|
19149
20859
|
/**
|
19150
20860
|
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
19151
|
-
* web font
|
20861
|
+
* web font.
|
19152
20862
|
*/
|
19153
20863
|
'CSS.fontsUpdated': [Protocol.CSS.FontsUpdatedEvent];
|
19154
20864
|
/**
|
@@ -19218,6 +20928,10 @@ declare namespace ProtocolMapping {
|
|
19218
20928
|
* Called when a pseudo element is added to an element.
|
19219
20929
|
*/
|
19220
20930
|
'DOM.pseudoElementAdded': [Protocol.DOM.PseudoElementAddedEvent];
|
20931
|
+
/**
|
20932
|
+
* Called when top layer elements are changed.
|
20933
|
+
*/
|
20934
|
+
'DOM.topLayerElementsUpdated': [];
|
19221
20935
|
/**
|
19222
20936
|
* Called when a pseudo element is removed from an element.
|
19223
20937
|
*/
|
@@ -19244,12 +20958,6 @@ declare namespace ProtocolMapping {
|
|
19244
20958
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
19245
20959
|
*/
|
19246
20960
|
'Emulation.virtualTimeBudgetExpired': [];
|
19247
|
-
/**
|
19248
|
-
* Issued when the target starts or stops needing BeginFrames.
|
19249
|
-
* Deprecated. Issue beginFrame unconditionally instead and use result from
|
19250
|
-
* beginFrame to detect whether the frames were suppressed.
|
19251
|
-
*/
|
19252
|
-
'HeadlessExperimental.needsBeginFramesChanged': [Protocol.HeadlessExperimental.NeedsBeginFramesChangedEvent];
|
19253
20961
|
/**
|
19254
20962
|
* Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
|
19255
20963
|
* restore normal drag and drop behavior.
|
@@ -19564,6 +21272,22 @@ declare namespace ProtocolMapping {
|
|
19564
21272
|
* The origin's IndexedDB database list has been modified.
|
19565
21273
|
*/
|
19566
21274
|
'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
|
21275
|
+
/**
|
21276
|
+
* One of the interest groups was accessed by the associated page.
|
21277
|
+
*/
|
21278
|
+
'Storage.interestGroupAccessed': [Protocol.Storage.InterestGroupAccessedEvent];
|
21279
|
+
/**
|
21280
|
+
* Shared storage was accessed by the associated page.
|
21281
|
+
* The following parameters are included in all events.
|
21282
|
+
*/
|
21283
|
+
'Storage.sharedStorageAccessed': [Protocol.Storage.SharedStorageAccessedEvent];
|
21284
|
+
'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
|
21285
|
+
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
21286
|
+
/**
|
21287
|
+
* TODO(crbug.com/1458532): Add other Attribution Reporting events, e.g.
|
21288
|
+
* trigger registration.
|
21289
|
+
*/
|
21290
|
+
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
19567
21291
|
/**
|
19568
21292
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
19569
21293
|
*/
|
@@ -19601,8 +21325,8 @@ declare namespace ProtocolMapping {
|
|
19601
21325
|
'Tethering.accepted': [Protocol.Tethering.AcceptedEvent];
|
19602
21326
|
'Tracing.bufferUsage': [Protocol.Tracing.BufferUsageEvent];
|
19603
21327
|
/**
|
19604
|
-
* Contains
|
19605
|
-
*
|
21328
|
+
* Contains a bucket of collected trace events. When tracing is stopped collected events will be
|
21329
|
+
* sent as a sequence of dataCollected events followed by tracingComplete event.
|
19606
21330
|
*/
|
19607
21331
|
'Tracing.dataCollected': [Protocol.Tracing.DataCollectedEvent];
|
19608
21332
|
/**
|
@@ -19617,6 +21341,11 @@ declare namespace ProtocolMapping {
|
|
19617
21341
|
* The stage of the request can be determined by presence of responseErrorReason
|
19618
21342
|
* and responseStatusCode -- the request is at the response stage if either
|
19619
21343
|
* of these fields is present and in the request stage otherwise.
|
21344
|
+
* Redirect responses and subsequent requests are reported similarly to regular
|
21345
|
+
* responses and requests. Redirect responses may be distinguished by the value
|
21346
|
+
* of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with
|
21347
|
+
* presence of the `location` header. Requests resulting from a redirect will
|
21348
|
+
* have `redirectedRequestId` field set.
|
19620
21349
|
*/
|
19621
21350
|
'Fetch.requestPaused': [Protocol.Fetch.RequestPausedEvent];
|
19622
21351
|
/**
|
@@ -19676,6 +21405,14 @@ declare namespace ProtocolMapping {
|
|
19676
21405
|
* Notifies that an AudioNode is disconnected to an AudioParam.
|
19677
21406
|
*/
|
19678
21407
|
'WebAudio.nodeParamDisconnected': [Protocol.WebAudio.NodeParamDisconnectedEvent];
|
21408
|
+
/**
|
21409
|
+
* Triggered when a credential is added to an authenticator.
|
21410
|
+
*/
|
21411
|
+
'WebAuthn.credentialAdded': [Protocol.WebAuthn.CredentialAddedEvent];
|
21412
|
+
/**
|
21413
|
+
* Triggered when a credential is used in a webauthn assertion.
|
21414
|
+
*/
|
21415
|
+
'WebAuthn.credentialAsserted': [Protocol.WebAuthn.CredentialAssertedEvent];
|
19679
21416
|
/**
|
19680
21417
|
* This can be called multiple times, and can be used to set / override /
|
19681
21418
|
* remove player properties. A null propValue indicates removal.
|
@@ -19700,6 +21437,37 @@ declare namespace ProtocolMapping {
|
|
19700
21437
|
* list of player ids and all events again.
|
19701
21438
|
*/
|
19702
21439
|
'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
|
21440
|
+
/**
|
21441
|
+
* A device request opened a user prompt to select a device. Respond with the
|
21442
|
+
* selectPrompt or cancelPrompt command.
|
21443
|
+
*/
|
21444
|
+
'DeviceAccess.deviceRequestPrompted': [Protocol.DeviceAccess.DeviceRequestPromptedEvent];
|
21445
|
+
/**
|
21446
|
+
* Upsert. Currently, it is only emitted when a rule set added.
|
21447
|
+
*/
|
21448
|
+
'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
|
21449
|
+
'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
|
21450
|
+
/**
|
21451
|
+
* Fired when a prerender attempt is completed.
|
21452
|
+
*/
|
21453
|
+
'Preload.prerenderAttemptCompleted': [Protocol.Preload.PrerenderAttemptCompletedEvent];
|
21454
|
+
/**
|
21455
|
+
* Fired when a preload enabled state is updated.
|
21456
|
+
*/
|
21457
|
+
'Preload.preloadEnabledStateUpdated': [Protocol.Preload.PreloadEnabledStateUpdatedEvent];
|
21458
|
+
/**
|
21459
|
+
* Fired when a prefetch attempt is updated.
|
21460
|
+
*/
|
21461
|
+
'Preload.prefetchStatusUpdated': [Protocol.Preload.PrefetchStatusUpdatedEvent];
|
21462
|
+
/**
|
21463
|
+
* Fired when a prerender attempt is updated.
|
21464
|
+
*/
|
21465
|
+
'Preload.prerenderStatusUpdated': [Protocol.Preload.PrerenderStatusUpdatedEvent];
|
21466
|
+
/**
|
21467
|
+
* Send a list of sources for all preloading attempts in a document.
|
21468
|
+
*/
|
21469
|
+
'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
|
21470
|
+
'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
|
19703
21471
|
}
|
19704
21472
|
|
19705
21473
|
interface Commands {
|
@@ -19769,6 +21537,20 @@ declare namespace ProtocolMapping {
|
|
19769
21537
|
paramsType: [Protocol.Debugger.GetScriptSourceRequest];
|
19770
21538
|
returnType: Protocol.Debugger.GetScriptSourceResponse;
|
19771
21539
|
};
|
21540
|
+
'Debugger.disassembleWasmModule': {
|
21541
|
+
paramsType: [Protocol.Debugger.DisassembleWasmModuleRequest];
|
21542
|
+
returnType: Protocol.Debugger.DisassembleWasmModuleResponse;
|
21543
|
+
};
|
21544
|
+
/**
|
21545
|
+
* Disassemble the next chunk of lines for the module corresponding to the
|
21546
|
+
* stream. If disassembly is complete, this API will invalidate the streamId
|
21547
|
+
* and return an empty chunk. Any subsequent calls for the now invalid stream
|
21548
|
+
* will return errors.
|
21549
|
+
*/
|
21550
|
+
'Debugger.nextWasmDisassemblyChunk': {
|
21551
|
+
paramsType: [Protocol.Debugger.NextWasmDisassemblyChunkRequest];
|
21552
|
+
returnType: Protocol.Debugger.NextWasmDisassemblyChunkResponse;
|
21553
|
+
};
|
19772
21554
|
/**
|
19773
21555
|
* This command is deprecated. Use getScriptSource instead.
|
19774
21556
|
*/
|
@@ -19802,7 +21584,19 @@ declare namespace ProtocolMapping {
|
|
19802
21584
|
returnType: void;
|
19803
21585
|
};
|
19804
21586
|
/**
|
19805
|
-
* Restarts particular call frame from the beginning.
|
21587
|
+
* Restarts particular call frame from the beginning. The old, deprecated
|
21588
|
+
* behavior of `restartFrame` is to stay paused and allow further CDP commands
|
21589
|
+
* after a restart was scheduled. This can cause problems with restarting, so
|
21590
|
+
* we now continue execution immediatly after it has been scheduled until we
|
21591
|
+
* reach the beginning of the restarted frame.
|
21592
|
+
*
|
21593
|
+
* To stay back-wards compatible, `restartFrame` now expects a `mode`
|
21594
|
+
* parameter to be present. If the `mode` parameter is missing, `restartFrame`
|
21595
|
+
* errors out.
|
21596
|
+
*
|
21597
|
+
* The various return values are deprecated and `callFrames` is always empty.
|
21598
|
+
* Use the call frames from the `Debugger#paused` events instead, that fires
|
21599
|
+
* once V8 pauses at the beginning of the restarted function.
|
19806
21600
|
*/
|
19807
21601
|
'Debugger.restartFrame': {
|
19808
21602
|
paramsType: [Protocol.Debugger.RestartFrameRequest];
|
@@ -19889,8 +21683,8 @@ declare namespace ProtocolMapping {
|
|
19889
21683
|
returnType: void;
|
19890
21684
|
};
|
19891
21685
|
/**
|
19892
|
-
* Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions
|
19893
|
-
* no exceptions. Initial pause on exceptions state is `none`.
|
21686
|
+
* Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions,
|
21687
|
+
* or caught exceptions, no exceptions. Initial pause on exceptions state is `none`.
|
19894
21688
|
*/
|
19895
21689
|
'Debugger.setPauseOnExceptions': {
|
19896
21690
|
paramsType: [Protocol.Debugger.SetPauseOnExceptionsRequest];
|
@@ -19905,6 +21699,12 @@ declare namespace ProtocolMapping {
|
|
19905
21699
|
};
|
19906
21700
|
/**
|
19907
21701
|
* Edits JavaScript source live.
|
21702
|
+
*
|
21703
|
+
* In general, functions that are currently on the stack can not be edited with
|
21704
|
+
* a single exception: If the edited function is the top-most stack frame and
|
21705
|
+
* that is the only activation of that function on the stack. In this case
|
21706
|
+
* the live edit will be successful and a `Debugger.restartFrame` for the
|
21707
|
+
* top-most function is automatically triggered.
|
19908
21708
|
*/
|
19909
21709
|
'Debugger.setScriptSource': {
|
19910
21710
|
paramsType: [Protocol.Debugger.SetScriptSourceRequest];
|
@@ -20034,13 +21834,6 @@ declare namespace ProtocolMapping {
|
|
20034
21834
|
paramsType: [Protocol.Profiler.StartPreciseCoverageRequest?];
|
20035
21835
|
returnType: Protocol.Profiler.StartPreciseCoverageResponse;
|
20036
21836
|
};
|
20037
|
-
/**
|
20038
|
-
* Enable type profile.
|
20039
|
-
*/
|
20040
|
-
'Profiler.startTypeProfile': {
|
20041
|
-
paramsType: [];
|
20042
|
-
returnType: void;
|
20043
|
-
};
|
20044
21837
|
'Profiler.stop': {
|
20045
21838
|
paramsType: [];
|
20046
21839
|
returnType: Protocol.Profiler.StopResponse;
|
@@ -20053,13 +21846,6 @@ declare namespace ProtocolMapping {
|
|
20053
21846
|
paramsType: [];
|
20054
21847
|
returnType: void;
|
20055
21848
|
};
|
20056
|
-
/**
|
20057
|
-
* Disable type profile. Disabling releases type profile data collected so far.
|
20058
|
-
*/
|
20059
|
-
'Profiler.stopTypeProfile': {
|
20060
|
-
paramsType: [];
|
20061
|
-
returnType: void;
|
20062
|
-
};
|
20063
21849
|
/**
|
20064
21850
|
* Collect coverage data for the current isolate, and resets execution counters. Precise code
|
20065
21851
|
* coverage needs to have started.
|
@@ -20068,13 +21854,6 @@ declare namespace ProtocolMapping {
|
|
20068
21854
|
paramsType: [];
|
20069
21855
|
returnType: Protocol.Profiler.TakePreciseCoverageResponse;
|
20070
21856
|
};
|
20071
|
-
/**
|
20072
|
-
* Collect type profile.
|
20073
|
-
*/
|
20074
|
-
'Profiler.takeTypeProfile': {
|
20075
|
-
paramsType: [];
|
20076
|
-
returnType: Protocol.Profiler.TakeTypeProfileResponse;
|
20077
|
-
};
|
20078
21857
|
/**
|
20079
21858
|
* Add handler to promise with given promise object id.
|
20080
21859
|
*/
|
@@ -20232,6 +22011,17 @@ declare namespace ProtocolMapping {
|
|
20232
22011
|
paramsType: [Protocol.Runtime.RemoveBindingRequest];
|
20233
22012
|
returnType: void;
|
20234
22013
|
};
|
22014
|
+
/**
|
22015
|
+
* This method tries to lookup and populate exception details for a
|
22016
|
+
* JavaScript Error object.
|
22017
|
+
* Note that the stackTrace portion of the resulting exceptionDetails will
|
22018
|
+
* only be populated if the Runtime domain was enabled at the time when the
|
22019
|
+
* Error was thrown.
|
22020
|
+
*/
|
22021
|
+
'Runtime.getExceptionDetails': {
|
22022
|
+
paramsType: [Protocol.Runtime.GetExceptionDetailsRequest];
|
22023
|
+
returnType: Protocol.Runtime.GetExceptionDetailsResponse;
|
22024
|
+
};
|
20235
22025
|
/**
|
20236
22026
|
* Returns supported domains.
|
20237
22027
|
*/
|
@@ -20404,6 +22194,29 @@ declare namespace ProtocolMapping {
|
|
20404
22194
|
paramsType: [Protocol.Audits.CheckContrastRequest?];
|
20405
22195
|
returnType: void;
|
20406
22196
|
};
|
22197
|
+
/**
|
22198
|
+
* Runs the form issues check for the target page. Found issues are reported
|
22199
|
+
* using Audits.issueAdded event.
|
22200
|
+
*/
|
22201
|
+
'Audits.checkFormsIssues': {
|
22202
|
+
paramsType: [];
|
22203
|
+
returnType: Protocol.Audits.CheckFormsIssuesResponse;
|
22204
|
+
};
|
22205
|
+
/**
|
22206
|
+
* Trigger autofill on a form identified by the fieldId.
|
22207
|
+
* If the field and related form cannot be autofilled, returns an error.
|
22208
|
+
*/
|
22209
|
+
'Autofill.trigger': {
|
22210
|
+
paramsType: [Protocol.Autofill.TriggerRequest];
|
22211
|
+
returnType: void;
|
22212
|
+
};
|
22213
|
+
/**
|
22214
|
+
* Set addresses so that developers can verify their forms implementation.
|
22215
|
+
*/
|
22216
|
+
'Autofill.setAddresses': {
|
22217
|
+
paramsType: [Protocol.Autofill.SetAddressesRequest];
|
22218
|
+
returnType: void;
|
22219
|
+
};
|
20407
22220
|
/**
|
20408
22221
|
* Enables event updates for the service.
|
20409
22222
|
*/
|
@@ -20552,6 +22365,14 @@ declare namespace ProtocolMapping {
|
|
20552
22365
|
paramsType: [Protocol.Browser.ExecuteBrowserCommandRequest];
|
20553
22366
|
returnType: void;
|
20554
22367
|
};
|
22368
|
+
/**
|
22369
|
+
* Allows a site to use privacy sandbox features that require enrollment
|
22370
|
+
* without the site actually being enrolled. Only supported on page targets.
|
22371
|
+
*/
|
22372
|
+
'Browser.addPrivacySandboxEnrollmentOverride': {
|
22373
|
+
paramsType: [Protocol.Browser.AddPrivacySandboxEnrollmentOverrideRequest];
|
22374
|
+
returnType: void;
|
22375
|
+
};
|
20555
22376
|
/**
|
20556
22377
|
* Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
|
20557
22378
|
* position specified by `location`.
|
@@ -20645,6 +22466,16 @@ declare namespace ProtocolMapping {
|
|
20645
22466
|
paramsType: [Protocol.CSS.GetStyleSheetTextRequest];
|
20646
22467
|
returnType: Protocol.CSS.GetStyleSheetTextResponse;
|
20647
22468
|
};
|
22469
|
+
/**
|
22470
|
+
* Returns all layers parsed by the rendering engine for the tree scope of a node.
|
22471
|
+
* Given a DOM element identified by nodeId, getLayersForNode returns the root
|
22472
|
+
* layer for the nearest ancestor document or shadow root. The layer root contains
|
22473
|
+
* the full layer tree for the tree scope and their ordering.
|
22474
|
+
*/
|
22475
|
+
'CSS.getLayersForNode': {
|
22476
|
+
paramsType: [Protocol.CSS.GetLayersForNodeRequest];
|
22477
|
+
returnType: Protocol.CSS.GetLayersForNodeResponse;
|
22478
|
+
};
|
20648
22479
|
/**
|
20649
22480
|
* Starts tracking the given computed styles for updates. The specified array of properties
|
20650
22481
|
* replaces the one previously specified. Pass empty array to disable tracking.
|
@@ -20693,6 +22524,20 @@ declare namespace ProtocolMapping {
|
|
20693
22524
|
paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
|
20694
22525
|
returnType: Protocol.CSS.SetContainerQueryTextResponse;
|
20695
22526
|
};
|
22527
|
+
/**
|
22528
|
+
* Modifies the expression of a supports at-rule.
|
22529
|
+
*/
|
22530
|
+
'CSS.setSupportsText': {
|
22531
|
+
paramsType: [Protocol.CSS.SetSupportsTextRequest];
|
22532
|
+
returnType: Protocol.CSS.SetSupportsTextResponse;
|
22533
|
+
};
|
22534
|
+
/**
|
22535
|
+
* Modifies the expression of a scope at-rule.
|
22536
|
+
*/
|
22537
|
+
'CSS.setScopeText': {
|
22538
|
+
paramsType: [Protocol.CSS.SetScopeTextRequest];
|
22539
|
+
returnType: Protocol.CSS.SetScopeTextResponse;
|
22540
|
+
};
|
20696
22541
|
/**
|
20697
22542
|
* Modifies the rule selector.
|
20698
22543
|
*/
|
@@ -20723,7 +22568,7 @@ declare namespace ProtocolMapping {
|
|
20723
22568
|
};
|
20724
22569
|
/**
|
20725
22570
|
* Stop tracking rule usage and return the list of rules that were used since last call to
|
20726
|
-
* `takeCoverageDelta` (or since start of coverage instrumentation)
|
22571
|
+
* `takeCoverageDelta` (or since start of coverage instrumentation).
|
20727
22572
|
*/
|
20728
22573
|
'CSS.stopRuleUsageTracking': {
|
20729
22574
|
paramsType: [];
|
@@ -20731,7 +22576,7 @@ declare namespace ProtocolMapping {
|
|
20731
22576
|
};
|
20732
22577
|
/**
|
20733
22578
|
* Obtain list of rules that became used since last call to this method (or since start of coverage
|
20734
|
-
* instrumentation)
|
22579
|
+
* instrumentation).
|
20735
22580
|
*/
|
20736
22581
|
'CSS.takeCoverageDelta': {
|
20737
22582
|
paramsType: [];
|
@@ -20762,7 +22607,7 @@ declare namespace ProtocolMapping {
|
|
20762
22607
|
* Requests cache names.
|
20763
22608
|
*/
|
20764
22609
|
'CacheStorage.requestCacheNames': {
|
20765
|
-
paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest];
|
22610
|
+
paramsType: [Protocol.CacheStorage.RequestCacheNamesRequest?];
|
20766
22611
|
returnType: Protocol.CacheStorage.RequestCacheNamesResponse;
|
20767
22612
|
};
|
20768
22613
|
/**
|
@@ -20877,7 +22722,7 @@ declare namespace ProtocolMapping {
|
|
20877
22722
|
* Enables DOM agent for the given page.
|
20878
22723
|
*/
|
20879
22724
|
'DOM.enable': {
|
20880
|
-
paramsType: [];
|
22725
|
+
paramsType: [Protocol.DOM.EnableRequest?];
|
20881
22726
|
returnType: void;
|
20882
22727
|
};
|
20883
22728
|
/**
|
@@ -20911,6 +22756,7 @@ declare namespace ProtocolMapping {
|
|
20911
22756
|
};
|
20912
22757
|
/**
|
20913
22758
|
* Returns the root DOM node (and optionally the subtree) to the caller.
|
22759
|
+
* Implicitly enables the DOM domain events for the current target.
|
20914
22760
|
*/
|
20915
22761
|
'DOM.getDocument': {
|
20916
22762
|
paramsType: [Protocol.DOM.GetDocumentRequest?];
|
@@ -21033,6 +22879,15 @@ declare namespace ProtocolMapping {
|
|
21033
22879
|
paramsType: [Protocol.DOM.QuerySelectorAllRequest];
|
21034
22880
|
returnType: Protocol.DOM.QuerySelectorAllResponse;
|
21035
22881
|
};
|
22882
|
+
/**
|
22883
|
+
* Returns NodeIds of current top layer elements.
|
22884
|
+
* Top layer is rendered closest to the user within a viewport, therefore its elements always
|
22885
|
+
* appear on top of all other content.
|
22886
|
+
*/
|
22887
|
+
'DOM.getTopLayerElements': {
|
22888
|
+
paramsType: [];
|
22889
|
+
returnType: Protocol.DOM.GetTopLayerElementsResponse;
|
22890
|
+
};
|
21036
22891
|
/**
|
21037
22892
|
* Re-does the last undone action.
|
21038
22893
|
*/
|
@@ -21167,9 +23022,10 @@ declare namespace ProtocolMapping {
|
|
21167
23022
|
returnType: Protocol.DOM.GetFrameOwnerResponse;
|
21168
23023
|
};
|
21169
23024
|
/**
|
21170
|
-
* Returns the container of the given node based on container query
|
21171
|
-
*
|
21172
|
-
*
|
23025
|
+
* Returns the query container of the given node based on container query
|
23026
|
+
* conditions: containerName, physical, and logical axes. If no axes are
|
23027
|
+
* provided, the style container is returned, which is the direct parent or the
|
23028
|
+
* closest element with a matching container-name.
|
21173
23029
|
*/
|
21174
23030
|
'DOM.getContainerForNode': {
|
21175
23031
|
paramsType: [Protocol.DOM.GetContainerForNodeRequest];
|
@@ -21544,6 +23400,10 @@ declare namespace ProtocolMapping {
|
|
21544
23400
|
paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
|
21545
23401
|
returnType: void;
|
21546
23402
|
};
|
23403
|
+
'Emulation.setHardwareConcurrencyOverride': {
|
23404
|
+
paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
|
23405
|
+
returnType: void;
|
23406
|
+
};
|
21547
23407
|
/**
|
21548
23408
|
* Allows overriding user agent with the given string.
|
21549
23409
|
*/
|
@@ -21551,11 +23411,18 @@ declare namespace ProtocolMapping {
|
|
21551
23411
|
paramsType: [Protocol.Emulation.SetUserAgentOverrideRequest];
|
21552
23412
|
returnType: void;
|
21553
23413
|
};
|
23414
|
+
/**
|
23415
|
+
* Allows overriding the automation flag.
|
23416
|
+
*/
|
23417
|
+
'Emulation.setAutomationOverride': {
|
23418
|
+
paramsType: [Protocol.Emulation.SetAutomationOverrideRequest];
|
23419
|
+
returnType: void;
|
23420
|
+
};
|
21554
23421
|
/**
|
21555
23422
|
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
21556
23423
|
* screenshot from the resulting frame. Requires that the target was created with enabled
|
21557
23424
|
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
21558
|
-
* https://goo.
|
23425
|
+
* https://goo.gle/chrome-headless-rendering for more background.
|
21559
23426
|
*/
|
21560
23427
|
'HeadlessExperimental.beginFrame': {
|
21561
23428
|
paramsType: [Protocol.HeadlessExperimental.BeginFrameRequest?];
|
@@ -21639,7 +23506,7 @@ declare namespace ProtocolMapping {
|
|
21639
23506
|
returnType: Protocol.IndexedDB.RequestDataResponse;
|
21640
23507
|
};
|
21641
23508
|
/**
|
21642
|
-
* Gets metadata of an object store
|
23509
|
+
* Gets metadata of an object store.
|
21643
23510
|
*/
|
21644
23511
|
'IndexedDB.getMetadata': {
|
21645
23512
|
paramsType: [Protocol.IndexedDB.GetMetadataRequest];
|
@@ -21656,7 +23523,7 @@ declare namespace ProtocolMapping {
|
|
21656
23523
|
* Requests database names for given security origin.
|
21657
23524
|
*/
|
21658
23525
|
'IndexedDB.requestDatabaseNames': {
|
21659
|
-
paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest];
|
23526
|
+
paramsType: [Protocol.IndexedDB.RequestDatabaseNamesRequest?];
|
21660
23527
|
returnType: Protocol.IndexedDB.RequestDatabaseNamesResponse;
|
21661
23528
|
};
|
21662
23529
|
/**
|
@@ -21704,6 +23571,13 @@ declare namespace ProtocolMapping {
|
|
21704
23571
|
paramsType: [Protocol.Input.DispatchTouchEventRequest];
|
21705
23572
|
returnType: void;
|
21706
23573
|
};
|
23574
|
+
/**
|
23575
|
+
* Cancels any active dragging in the page.
|
23576
|
+
*/
|
23577
|
+
'Input.cancelDragging': {
|
23578
|
+
paramsType: [];
|
23579
|
+
returnType: void;
|
23580
|
+
};
|
21707
23581
|
/**
|
21708
23582
|
* Emulates touch event from the mouse event parameters.
|
21709
23583
|
*/
|
@@ -22015,6 +23889,7 @@ declare namespace ProtocolMapping {
|
|
22015
23889
|
/**
|
22016
23890
|
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
22017
23891
|
* information in the `cookies` field.
|
23892
|
+
* Deprecated. Use Storage.getCookies instead.
|
22018
23893
|
*/
|
22019
23894
|
'Network.getAllCookies': {
|
22020
23895
|
paramsType: [];
|
@@ -22324,7 +24199,7 @@ declare namespace ProtocolMapping {
|
|
22324
24199
|
returnType: void;
|
22325
24200
|
};
|
22326
24201
|
/**
|
22327
|
-
*
|
24202
|
+
* Deprecated, no longer has any effect.
|
22328
24203
|
*/
|
22329
24204
|
'Overlay.setShowHitTestBorders': {
|
22330
24205
|
paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest];
|
@@ -22451,6 +24326,9 @@ declare namespace ProtocolMapping {
|
|
22451
24326
|
paramsType: [];
|
22452
24327
|
returnType: Protocol.Page.GetInstallabilityErrorsResponse;
|
22453
24328
|
};
|
24329
|
+
/**
|
24330
|
+
* Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
|
24331
|
+
*/
|
22454
24332
|
'Page.getManifestIcons': {
|
22455
24333
|
paramsType: [];
|
22456
24334
|
returnType: Protocol.Page.GetManifestIconsResponse;
|
@@ -22463,9 +24341,14 @@ declare namespace ProtocolMapping {
|
|
22463
24341
|
paramsType: [];
|
22464
24342
|
returnType: Protocol.Page.GetAppIdResponse;
|
22465
24343
|
};
|
24344
|
+
'Page.getAdScriptId': {
|
24345
|
+
paramsType: [Protocol.Page.GetAdScriptIdRequest];
|
24346
|
+
returnType: Protocol.Page.GetAdScriptIdResponse;
|
24347
|
+
};
|
22466
24348
|
/**
|
22467
|
-
* Returns all browser cookies
|
22468
|
-
* information in the
|
24349
|
+
* Returns all browser cookies for the page and all of its subframes. Depending
|
24350
|
+
* on the backend support, will return detailed cookie information in the
|
24351
|
+
* `cookies` field.
|
22469
24352
|
*/
|
22470
24353
|
'Page.getCookies': {
|
22471
24354
|
paramsType: [];
|
@@ -22749,6 +24632,14 @@ declare namespace ProtocolMapping {
|
|
22749
24632
|
paramsType: [Protocol.Page.SetSPCTransactionModeRequest];
|
22750
24633
|
returnType: void;
|
22751
24634
|
};
|
24635
|
+
/**
|
24636
|
+
* Extensions for Custom Handlers API:
|
24637
|
+
* https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
|
24638
|
+
*/
|
24639
|
+
'Page.setRPHRegistrationMode': {
|
24640
|
+
paramsType: [Protocol.Page.SetRPHRegistrationModeRequest];
|
24641
|
+
returnType: void;
|
24642
|
+
};
|
22752
24643
|
/**
|
22753
24644
|
* Generates a report for testing.
|
22754
24645
|
*/
|
@@ -22772,6 +24663,19 @@ declare namespace ProtocolMapping {
|
|
22772
24663
|
paramsType: [Protocol.Page.SetInterceptFileChooserDialogRequest];
|
22773
24664
|
returnType: void;
|
22774
24665
|
};
|
24666
|
+
/**
|
24667
|
+
* Enable/disable prerendering manually.
|
24668
|
+
*
|
24669
|
+
* This command is a short-term solution for https://crbug.com/1440085.
|
24670
|
+
* See https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA
|
24671
|
+
* for more details.
|
24672
|
+
*
|
24673
|
+
* TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets.
|
24674
|
+
*/
|
24675
|
+
'Page.setPrerenderingAllowed': {
|
24676
|
+
paramsType: [Protocol.Page.SetPrerenderingAllowedRequest];
|
24677
|
+
returnType: void;
|
24678
|
+
};
|
22775
24679
|
/**
|
22776
24680
|
* Disable collecting and reporting metrics.
|
22777
24681
|
*/
|
@@ -22898,6 +24802,13 @@ declare namespace ProtocolMapping {
|
|
22898
24802
|
paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
|
22899
24803
|
returnType: void;
|
22900
24804
|
};
|
24805
|
+
/**
|
24806
|
+
* Returns a storage key given a frame id.
|
24807
|
+
*/
|
24808
|
+
'Storage.getStorageKeyForFrame': {
|
24809
|
+
paramsType: [Protocol.Storage.GetStorageKeyForFrameRequest];
|
24810
|
+
returnType: Protocol.Storage.GetStorageKeyForFrameResponse;
|
24811
|
+
};
|
22901
24812
|
/**
|
22902
24813
|
* Clears storage for origin.
|
22903
24814
|
*/
|
@@ -22905,6 +24816,13 @@ declare namespace ProtocolMapping {
|
|
22905
24816
|
paramsType: [Protocol.Storage.ClearDataForOriginRequest];
|
22906
24817
|
returnType: void;
|
22907
24818
|
};
|
24819
|
+
/**
|
24820
|
+
* Clears storage for storage key.
|
24821
|
+
*/
|
24822
|
+
'Storage.clearDataForStorageKey': {
|
24823
|
+
paramsType: [Protocol.Storage.ClearDataForStorageKeyRequest];
|
24824
|
+
returnType: void;
|
24825
|
+
};
|
22908
24826
|
/**
|
22909
24827
|
* Returns all browser cookies.
|
22910
24828
|
*/
|
@@ -22947,6 +24865,13 @@ declare namespace ProtocolMapping {
|
|
22947
24865
|
paramsType: [Protocol.Storage.TrackCacheStorageForOriginRequest];
|
22948
24866
|
returnType: void;
|
22949
24867
|
};
|
24868
|
+
/**
|
24869
|
+
* Registers storage key to be notified when an update occurs to its cache storage list.
|
24870
|
+
*/
|
24871
|
+
'Storage.trackCacheStorageForStorageKey': {
|
24872
|
+
paramsType: [Protocol.Storage.TrackCacheStorageForStorageKeyRequest];
|
24873
|
+
returnType: void;
|
24874
|
+
};
|
22950
24875
|
/**
|
22951
24876
|
* Registers origin to be notified when an update occurs to its IndexedDB.
|
22952
24877
|
*/
|
@@ -22954,6 +24879,13 @@ declare namespace ProtocolMapping {
|
|
22954
24879
|
paramsType: [Protocol.Storage.TrackIndexedDBForOriginRequest];
|
22955
24880
|
returnType: void;
|
22956
24881
|
};
|
24882
|
+
/**
|
24883
|
+
* Registers storage key to be notified when an update occurs to its IndexedDB.
|
24884
|
+
*/
|
24885
|
+
'Storage.trackIndexedDBForStorageKey': {
|
24886
|
+
paramsType: [Protocol.Storage.TrackIndexedDBForStorageKeyRequest];
|
24887
|
+
returnType: void;
|
24888
|
+
};
|
22957
24889
|
/**
|
22958
24890
|
* Unregisters origin from receiving notifications for cache storage.
|
22959
24891
|
*/
|
@@ -22961,6 +24893,13 @@ declare namespace ProtocolMapping {
|
|
22961
24893
|
paramsType: [Protocol.Storage.UntrackCacheStorageForOriginRequest];
|
22962
24894
|
returnType: void;
|
22963
24895
|
};
|
24896
|
+
/**
|
24897
|
+
* Unregisters storage key from receiving notifications for cache storage.
|
24898
|
+
*/
|
24899
|
+
'Storage.untrackCacheStorageForStorageKey': {
|
24900
|
+
paramsType: [Protocol.Storage.UntrackCacheStorageForStorageKeyRequest];
|
24901
|
+
returnType: void;
|
24902
|
+
};
|
22964
24903
|
/**
|
22965
24904
|
* Unregisters origin from receiving notifications for IndexedDB.
|
22966
24905
|
*/
|
@@ -22968,6 +24907,13 @@ declare namespace ProtocolMapping {
|
|
22968
24907
|
paramsType: [Protocol.Storage.UntrackIndexedDBForOriginRequest];
|
22969
24908
|
returnType: void;
|
22970
24909
|
};
|
24910
|
+
/**
|
24911
|
+
* Unregisters storage key from receiving notifications for IndexedDB.
|
24912
|
+
*/
|
24913
|
+
'Storage.untrackIndexedDBForStorageKey': {
|
24914
|
+
paramsType: [Protocol.Storage.UntrackIndexedDBForStorageKeyRequest];
|
24915
|
+
returnType: void;
|
24916
|
+
};
|
22971
24917
|
/**
|
22972
24918
|
* Returns the number of stored Trust Tokens per issuer for the
|
22973
24919
|
* current browsing context.
|
@@ -22984,6 +24930,104 @@ declare namespace ProtocolMapping {
|
|
22984
24930
|
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
22985
24931
|
returnType: Protocol.Storage.ClearTrustTokensResponse;
|
22986
24932
|
};
|
24933
|
+
/**
|
24934
|
+
* Gets details for a named interest group.
|
24935
|
+
*/
|
24936
|
+
'Storage.getInterestGroupDetails': {
|
24937
|
+
paramsType: [Protocol.Storage.GetInterestGroupDetailsRequest];
|
24938
|
+
returnType: Protocol.Storage.GetInterestGroupDetailsResponse;
|
24939
|
+
};
|
24940
|
+
/**
|
24941
|
+
* Enables/Disables issuing of interestGroupAccessed events.
|
24942
|
+
*/
|
24943
|
+
'Storage.setInterestGroupTracking': {
|
24944
|
+
paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest];
|
24945
|
+
returnType: void;
|
24946
|
+
};
|
24947
|
+
/**
|
24948
|
+
* Gets metadata for an origin's shared storage.
|
24949
|
+
*/
|
24950
|
+
'Storage.getSharedStorageMetadata': {
|
24951
|
+
paramsType: [Protocol.Storage.GetSharedStorageMetadataRequest];
|
24952
|
+
returnType: Protocol.Storage.GetSharedStorageMetadataResponse;
|
24953
|
+
};
|
24954
|
+
/**
|
24955
|
+
* Gets the entries in an given origin's shared storage.
|
24956
|
+
*/
|
24957
|
+
'Storage.getSharedStorageEntries': {
|
24958
|
+
paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
|
24959
|
+
returnType: Protocol.Storage.GetSharedStorageEntriesResponse;
|
24960
|
+
};
|
24961
|
+
/**
|
24962
|
+
* Sets entry with `key` and `value` for a given origin's shared storage.
|
24963
|
+
*/
|
24964
|
+
'Storage.setSharedStorageEntry': {
|
24965
|
+
paramsType: [Protocol.Storage.SetSharedStorageEntryRequest];
|
24966
|
+
returnType: void;
|
24967
|
+
};
|
24968
|
+
/**
|
24969
|
+
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
24970
|
+
*/
|
24971
|
+
'Storage.deleteSharedStorageEntry': {
|
24972
|
+
paramsType: [Protocol.Storage.DeleteSharedStorageEntryRequest];
|
24973
|
+
returnType: void;
|
24974
|
+
};
|
24975
|
+
/**
|
24976
|
+
* Clears all entries for a given origin's shared storage.
|
24977
|
+
*/
|
24978
|
+
'Storage.clearSharedStorageEntries': {
|
24979
|
+
paramsType: [Protocol.Storage.ClearSharedStorageEntriesRequest];
|
24980
|
+
returnType: void;
|
24981
|
+
};
|
24982
|
+
/**
|
24983
|
+
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
24984
|
+
*/
|
24985
|
+
'Storage.resetSharedStorageBudget': {
|
24986
|
+
paramsType: [Protocol.Storage.ResetSharedStorageBudgetRequest];
|
24987
|
+
returnType: void;
|
24988
|
+
};
|
24989
|
+
/**
|
24990
|
+
* Enables/disables issuing of sharedStorageAccessed events.
|
24991
|
+
*/
|
24992
|
+
'Storage.setSharedStorageTracking': {
|
24993
|
+
paramsType: [Protocol.Storage.SetSharedStorageTrackingRequest];
|
24994
|
+
returnType: void;
|
24995
|
+
};
|
24996
|
+
/**
|
24997
|
+
* Set tracking for a storage key's buckets.
|
24998
|
+
*/
|
24999
|
+
'Storage.setStorageBucketTracking': {
|
25000
|
+
paramsType: [Protocol.Storage.SetStorageBucketTrackingRequest];
|
25001
|
+
returnType: void;
|
25002
|
+
};
|
25003
|
+
/**
|
25004
|
+
* Deletes the Storage Bucket with the given storage key and bucket name.
|
25005
|
+
*/
|
25006
|
+
'Storage.deleteStorageBucket': {
|
25007
|
+
paramsType: [Protocol.Storage.DeleteStorageBucketRequest];
|
25008
|
+
returnType: void;
|
25009
|
+
};
|
25010
|
+
/**
|
25011
|
+
* Deletes state for sites identified as potential bounce trackers, immediately.
|
25012
|
+
*/
|
25013
|
+
'Storage.runBounceTrackingMitigations': {
|
25014
|
+
paramsType: [];
|
25015
|
+
returnType: Protocol.Storage.RunBounceTrackingMitigationsResponse;
|
25016
|
+
};
|
25017
|
+
/**
|
25018
|
+
* https://wicg.github.io/attribution-reporting-api/
|
25019
|
+
*/
|
25020
|
+
'Storage.setAttributionReportingLocalTestingMode': {
|
25021
|
+
paramsType: [Protocol.Storage.SetAttributionReportingLocalTestingModeRequest];
|
25022
|
+
returnType: void;
|
25023
|
+
};
|
25024
|
+
/**
|
25025
|
+
* Enables/disables issuing of Attribution Reporting events.
|
25026
|
+
*/
|
25027
|
+
'Storage.setAttributionReportingTracking': {
|
25028
|
+
paramsType: [Protocol.Storage.SetAttributionReportingTrackingRequest];
|
25029
|
+
returnType: void;
|
25030
|
+
};
|
22987
25031
|
/**
|
22988
25032
|
* Returns information about the system.
|
22989
25033
|
*/
|
@@ -22991,6 +25035,13 @@ declare namespace ProtocolMapping {
|
|
22991
25035
|
paramsType: [];
|
22992
25036
|
returnType: Protocol.SystemInfo.GetInfoResponse;
|
22993
25037
|
};
|
25038
|
+
/**
|
25039
|
+
* Returns information about the feature state.
|
25040
|
+
*/
|
25041
|
+
'SystemInfo.getFeatureState': {
|
25042
|
+
paramsType: [Protocol.SystemInfo.GetFeatureStateRequest];
|
25043
|
+
returnType: Protocol.SystemInfo.GetFeatureStateResponse;
|
25044
|
+
};
|
22994
25045
|
/**
|
22995
25046
|
* Returns information about all running processes.
|
22996
25047
|
*/
|
@@ -23088,7 +25139,7 @@ declare namespace ProtocolMapping {
|
|
23088
25139
|
* Retrieves a list of available targets.
|
23089
25140
|
*/
|
23090
25141
|
'Target.getTargets': {
|
23091
|
-
paramsType: [];
|
25142
|
+
paramsType: [Protocol.Target.GetTargetsRequest?];
|
23092
25143
|
returnType: Protocol.Target.GetTargetsResponse;
|
23093
25144
|
};
|
23094
25145
|
/**
|
@@ -23246,6 +25297,10 @@ declare namespace ProtocolMapping {
|
|
23246
25297
|
* takeResponseBodyForInterceptionAsStream. Calling other methods that
|
23247
25298
|
* affect the request or disabling fetch domain before body is received
|
23248
25299
|
* results in an undefined behavior.
|
25300
|
+
* Note that the response body is not available for redirects. Requests
|
25301
|
+
* paused in the _redirect received_ state may be differentiated by
|
25302
|
+
* `responseCode` and presence of `location` response header, see
|
25303
|
+
* comments to `requestPaused` for details.
|
23249
25304
|
*/
|
23250
25305
|
'Fetch.getResponseBody': {
|
23251
25306
|
paramsType: [Protocol.Fetch.GetResponseBodyRequest];
|
@@ -23293,7 +25348,7 @@ declare namespace ProtocolMapping {
|
|
23293
25348
|
* retrieval with a virtual authenticator.
|
23294
25349
|
*/
|
23295
25350
|
'WebAuthn.enable': {
|
23296
|
-
paramsType: [];
|
25351
|
+
paramsType: [Protocol.WebAuthn.EnableRequest?];
|
23297
25352
|
returnType: void;
|
23298
25353
|
};
|
23299
25354
|
/**
|
@@ -23310,6 +25365,13 @@ declare namespace ProtocolMapping {
|
|
23310
25365
|
paramsType: [Protocol.WebAuthn.AddVirtualAuthenticatorRequest];
|
23311
25366
|
returnType: Protocol.WebAuthn.AddVirtualAuthenticatorResponse;
|
23312
25367
|
};
|
25368
|
+
/**
|
25369
|
+
* Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present.
|
25370
|
+
*/
|
25371
|
+
'WebAuthn.setResponseOverrideBits': {
|
25372
|
+
paramsType: [Protocol.WebAuthn.SetResponseOverrideBitsRequest];
|
25373
|
+
returnType: void;
|
25374
|
+
};
|
23313
25375
|
/**
|
23314
25376
|
* Removes the given authenticator.
|
23315
25377
|
*/
|
@@ -23383,6 +25445,66 @@ declare namespace ProtocolMapping {
|
|
23383
25445
|
paramsType: [];
|
23384
25446
|
returnType: void;
|
23385
25447
|
};
|
25448
|
+
/**
|
25449
|
+
* Enable events in this domain.
|
25450
|
+
*/
|
25451
|
+
'DeviceAccess.enable': {
|
25452
|
+
paramsType: [];
|
25453
|
+
returnType: void;
|
25454
|
+
};
|
25455
|
+
/**
|
25456
|
+
* Disable events in this domain.
|
25457
|
+
*/
|
25458
|
+
'DeviceAccess.disable': {
|
25459
|
+
paramsType: [];
|
25460
|
+
returnType: void;
|
25461
|
+
};
|
25462
|
+
/**
|
25463
|
+
* Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
25464
|
+
*/
|
25465
|
+
'DeviceAccess.selectPrompt': {
|
25466
|
+
paramsType: [Protocol.DeviceAccess.SelectPromptRequest];
|
25467
|
+
returnType: void;
|
25468
|
+
};
|
25469
|
+
/**
|
25470
|
+
* Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
25471
|
+
*/
|
25472
|
+
'DeviceAccess.cancelPrompt': {
|
25473
|
+
paramsType: [Protocol.DeviceAccess.CancelPromptRequest];
|
25474
|
+
returnType: void;
|
25475
|
+
};
|
25476
|
+
'Preload.enable': {
|
25477
|
+
paramsType: [];
|
25478
|
+
returnType: void;
|
25479
|
+
};
|
25480
|
+
'Preload.disable': {
|
25481
|
+
paramsType: [];
|
25482
|
+
returnType: void;
|
25483
|
+
};
|
25484
|
+
'FedCm.enable': {
|
25485
|
+
paramsType: [Protocol.FedCm.EnableRequest?];
|
25486
|
+
returnType: void;
|
25487
|
+
};
|
25488
|
+
'FedCm.disable': {
|
25489
|
+
paramsType: [];
|
25490
|
+
returnType: void;
|
25491
|
+
};
|
25492
|
+
'FedCm.selectAccount': {
|
25493
|
+
paramsType: [Protocol.FedCm.SelectAccountRequest];
|
25494
|
+
returnType: void;
|
25495
|
+
};
|
25496
|
+
'FedCm.dismissDialog': {
|
25497
|
+
paramsType: [Protocol.FedCm.DismissDialogRequest];
|
25498
|
+
returnType: void;
|
25499
|
+
};
|
25500
|
+
/**
|
25501
|
+
* Resets the cooldown time, if any, to allow the next FedCM call to show
|
25502
|
+
* a dialog even if one was recently dismissed by the user.
|
25503
|
+
*/
|
25504
|
+
'FedCm.resetCooldown': {
|
25505
|
+
paramsType: [];
|
25506
|
+
returnType: void;
|
25507
|
+
};
|
23386
25508
|
}
|
23387
25509
|
}
|
23388
25510
|
|
@@ -23532,7 +25654,7 @@ declare class Request implements BodyMixin {
|
|
23532
25654
|
|
23533
25655
|
readonly arrayBuffer: () => Promise<ArrayBuffer>
|
23534
25656
|
readonly blob: () => Promise<Blob_2>
|
23535
|
-
readonly formData: () => Promise<
|
25657
|
+
readonly formData: () => Promise<FormData_2>
|
23536
25658
|
readonly json: () => Promise<unknown>
|
23537
25659
|
readonly text: () => Promise<string>
|
23538
25660
|
|
@@ -23616,7 +25738,7 @@ declare class Response implements BodyMixin {
|
|
23616
25738
|
|
23617
25739
|
readonly arrayBuffer: () => Promise<ArrayBuffer>
|
23618
25740
|
readonly blob: () => Promise<Blob_2>
|
23619
|
-
readonly formData: () => Promise<
|
25741
|
+
readonly formData: () => Promise<FormData_2>
|
23620
25742
|
readonly json: () => Promise<unknown>
|
23621
25743
|
readonly text: () => Promise<string>
|
23622
25744
|
|
@@ -24021,7 +26143,7 @@ declare namespace Undici {
|
|
24021
26143
|
var Headers: Headers;
|
24022
26144
|
var Response: Response;
|
24023
26145
|
var Request: Request;
|
24024
|
-
var FormData:
|
26146
|
+
var FormData: FormData_2;
|
24025
26147
|
var File: File;
|
24026
26148
|
var FileReader: FileReader;
|
24027
26149
|
var caches: caches;
|
@@ -24089,7 +26211,7 @@ declare namespace undici {
|
|
24089
26211
|
ProgressEventInit,
|
24090
26212
|
ProgressEvent,
|
24091
26213
|
FormDataEntryValue,
|
24092
|
-
FormData,
|
26214
|
+
FormData_2 as FormData,
|
24093
26215
|
DiagnosticsChannel,
|
24094
26216
|
BinaryType,
|
24095
26217
|
WebSocketEventMap,
|
@@ -24115,9 +26237,6 @@ declare namespace undici {
|
|
24115
26237
|
*/
|
24116
26238
|
export declare function unstable_dev(script: string, options?: UnstableDevOptions, apiOptions?: unknown): Promise<UnstableDevWorker>;
|
24117
26239
|
|
24118
|
-
/**
|
24119
|
-
* @internal
|
24120
|
-
*/
|
24121
26240
|
export declare class unstable_DevEnv extends EventEmitter_2 {
|
24122
26241
|
config: ConfigController;
|
24123
26242
|
bundler: BundlerController;
|