devtools-protocol 0.0.1683682 → 0.0.1686980
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +120 -444
- package/package.json +1 -1
- package/pdl/domains/Browser.pdl +10 -0
- package/pdl/domains/Page.pdl +1 -0
- package/pdl/domains/ServiceWorker.pdl +50 -0
- package/pdl/domains/Storage.pdl +0 -228
- package/pdl/domains/WebMCP.pdl +2 -0
- package/types/protocol-mapping.d.ts +10 -66
- package/types/protocol-proxy-api.d.ts +8 -54
- package/types/protocol-tests-proxy-api.d.ts +8 -58
- package/types/protocol.d.ts +70 -310
|
@@ -4036,6 +4036,18 @@
|
|
|
4036
4036
|
}
|
|
4037
4037
|
]
|
|
4038
4038
|
},
|
|
4039
|
+
{
|
|
4040
|
+
"name": "addMockCamera",
|
|
4041
|
+
"description": "Adds or updates a mock camera in the shared video capture device list for\ntest automation. The mock camera is not scoped to a particular page or\nframe and is removed when the DevTools session that created it disconnects.",
|
|
4042
|
+
"experimental": true,
|
|
4043
|
+
"parameters": [
|
|
4044
|
+
{
|
|
4045
|
+
"name": "deviceId",
|
|
4046
|
+
"description": "Required non-empty identifier for the mock camera. This is mapped to an\ninternal virtual-device identifier and is not the MediaDeviceInfo.deviceId\nexposed to the page.",
|
|
4047
|
+
"type": "string"
|
|
4048
|
+
}
|
|
4049
|
+
]
|
|
4050
|
+
},
|
|
4039
4051
|
{
|
|
4040
4052
|
"name": "getHistograms",
|
|
4041
4053
|
"description": "Get Chrome histograms.",
|
|
@@ -21846,6 +21858,7 @@
|
|
|
21846
21858
|
"gamepad",
|
|
21847
21859
|
"geolocation",
|
|
21848
21860
|
"gyroscope",
|
|
21861
|
+
"haptics",
|
|
21849
21862
|
"hid",
|
|
21850
21863
|
"identity-credentials-get",
|
|
21851
21864
|
"idle-detection",
|
|
@@ -26444,6 +26457,98 @@
|
|
|
26444
26457
|
"redundant"
|
|
26445
26458
|
]
|
|
26446
26459
|
},
|
|
26460
|
+
{
|
|
26461
|
+
"id": "ServiceWorkerRouterCondition",
|
|
26462
|
+
"description": "Mostly corresponds to `RouterCondition` in ServiceWorker spec\n(https://www.w3.org/TR/service-workers/#dictdef-routercondition) while this\ncurrently lacks support for the nested conditions (\"or\" and \"not\").\nTODO(crbug.com/540469610): Support recursive conditions.",
|
|
26463
|
+
"type": "object",
|
|
26464
|
+
"properties": [
|
|
26465
|
+
{
|
|
26466
|
+
"name": "urlPattern",
|
|
26467
|
+
"description": "Plain text, or JSON serialization of URLPatternInit or URLPattern",
|
|
26468
|
+
"optional": true,
|
|
26469
|
+
"type": "string"
|
|
26470
|
+
},
|
|
26471
|
+
{
|
|
26472
|
+
"name": "requestMethod",
|
|
26473
|
+
"optional": true,
|
|
26474
|
+
"type": "string"
|
|
26475
|
+
},
|
|
26476
|
+
{
|
|
26477
|
+
"name": "requestMode",
|
|
26478
|
+
"optional": true,
|
|
26479
|
+
"type": "string"
|
|
26480
|
+
},
|
|
26481
|
+
{
|
|
26482
|
+
"name": "requestDestination",
|
|
26483
|
+
"optional": true,
|
|
26484
|
+
"type": "string"
|
|
26485
|
+
},
|
|
26486
|
+
{
|
|
26487
|
+
"name": "runningStatus",
|
|
26488
|
+
"optional": true,
|
|
26489
|
+
"$ref": "ServiceWorkerVersionRunningStatus"
|
|
26490
|
+
}
|
|
26491
|
+
]
|
|
26492
|
+
},
|
|
26493
|
+
{
|
|
26494
|
+
"id": "ServiceWorkerRouterSourceType",
|
|
26495
|
+
"type": "string",
|
|
26496
|
+
"enum": [
|
|
26497
|
+
"cache",
|
|
26498
|
+
"fetchEvent",
|
|
26499
|
+
"network",
|
|
26500
|
+
"raceNetworkAndFetchHandler",
|
|
26501
|
+
"raceNetworkAndCache",
|
|
26502
|
+
"sourceDict"
|
|
26503
|
+
]
|
|
26504
|
+
},
|
|
26505
|
+
{
|
|
26506
|
+
"id": "ServiceWorkerRouterSourceDict",
|
|
26507
|
+
"description": "https://www.w3.org/TR/service-workers/#dictdef-routersourcedict",
|
|
26508
|
+
"type": "object",
|
|
26509
|
+
"properties": [
|
|
26510
|
+
{
|
|
26511
|
+
"name": "cacheName",
|
|
26512
|
+
"type": "string"
|
|
26513
|
+
}
|
|
26514
|
+
]
|
|
26515
|
+
},
|
|
26516
|
+
{
|
|
26517
|
+
"id": "ServiceWorkerRouterSource",
|
|
26518
|
+
"description": "Corresponds to `RouterSource` in the spec while the representation is different as follows.\n(https://www.w3.org/TR/service-workers/#typedefdef-routersource)\n- `RouterSourceEnum`: `type` equals `cache`, `sourceDict` is null.\n- `RouterSourceDict`: `type` equals `sourceDict`, `sourceDict` has valid value.",
|
|
26519
|
+
"type": "object",
|
|
26520
|
+
"properties": [
|
|
26521
|
+
{
|
|
26522
|
+
"name": "type",
|
|
26523
|
+
"$ref": "ServiceWorkerRouterSourceType"
|
|
26524
|
+
},
|
|
26525
|
+
{
|
|
26526
|
+
"name": "sourceDict",
|
|
26527
|
+
"description": "Non-empty iff `type` equals \"sourceDict\".",
|
|
26528
|
+
"optional": true,
|
|
26529
|
+
"$ref": "ServiceWorkerRouterSourceDict"
|
|
26530
|
+
}
|
|
26531
|
+
]
|
|
26532
|
+
},
|
|
26533
|
+
{
|
|
26534
|
+
"id": "ServiceWorkerRouterRule",
|
|
26535
|
+
"type": "object",
|
|
26536
|
+
"properties": [
|
|
26537
|
+
{
|
|
26538
|
+
"name": "condition",
|
|
26539
|
+
"$ref": "ServiceWorkerRouterCondition"
|
|
26540
|
+
},
|
|
26541
|
+
{
|
|
26542
|
+
"name": "source",
|
|
26543
|
+
"$ref": "ServiceWorkerRouterSource"
|
|
26544
|
+
},
|
|
26545
|
+
{
|
|
26546
|
+
"name": "id",
|
|
26547
|
+
"description": "Rule ID assigned by the browser. Unique within each ServiceWorkerVersion.",
|
|
26548
|
+
"type": "integer"
|
|
26549
|
+
}
|
|
26550
|
+
]
|
|
26551
|
+
},
|
|
26447
26552
|
{
|
|
26448
26553
|
"id": "ServiceWorkerVersion",
|
|
26449
26554
|
"description": "ServiceWorker version.",
|
|
@@ -26496,8 +26601,17 @@
|
|
|
26496
26601
|
},
|
|
26497
26602
|
{
|
|
26498
26603
|
"name": "routerRules",
|
|
26604
|
+
"description": "Migration to `typedRouterRules` is in progress. The browser sends either\n`routerRules` or `typedRouterRules`.\nTODO(crbug.com/540469610): Remove `routerRules` after the migration.",
|
|
26499
26605
|
"optional": true,
|
|
26500
26606
|
"type": "string"
|
|
26607
|
+
},
|
|
26608
|
+
{
|
|
26609
|
+
"name": "typedRouterRules",
|
|
26610
|
+
"optional": true,
|
|
26611
|
+
"type": "array",
|
|
26612
|
+
"items": {
|
|
26613
|
+
"$ref": "ServiceWorkerRouterRule"
|
|
26614
|
+
}
|
|
26501
26615
|
}
|
|
26502
26616
|
]
|
|
26503
26617
|
},
|
|
@@ -27349,7 +27463,6 @@
|
|
|
27349
27463
|
"websql",
|
|
27350
27464
|
"service_workers",
|
|
27351
27465
|
"cache_storage",
|
|
27352
|
-
"shared_storage",
|
|
27353
27466
|
"storage_buckets",
|
|
27354
27467
|
"all",
|
|
27355
27468
|
"other"
|
|
@@ -27388,257 +27501,6 @@
|
|
|
27388
27501
|
}
|
|
27389
27502
|
]
|
|
27390
27503
|
},
|
|
27391
|
-
{
|
|
27392
|
-
"id": "SharedStorageAccessScope",
|
|
27393
|
-
"description": "Enum of shared storage access scopes.",
|
|
27394
|
-
"type": "string",
|
|
27395
|
-
"enum": [
|
|
27396
|
-
"window",
|
|
27397
|
-
"sharedStorageWorklet",
|
|
27398
|
-
"header"
|
|
27399
|
-
]
|
|
27400
|
-
},
|
|
27401
|
-
{
|
|
27402
|
-
"id": "SharedStorageAccessMethod",
|
|
27403
|
-
"description": "Enum of shared storage access methods.",
|
|
27404
|
-
"type": "string",
|
|
27405
|
-
"enum": [
|
|
27406
|
-
"addModule",
|
|
27407
|
-
"createWorklet",
|
|
27408
|
-
"selectURL",
|
|
27409
|
-
"run",
|
|
27410
|
-
"batchUpdate",
|
|
27411
|
-
"set",
|
|
27412
|
-
"append",
|
|
27413
|
-
"delete",
|
|
27414
|
-
"clear",
|
|
27415
|
-
"get",
|
|
27416
|
-
"keys",
|
|
27417
|
-
"values",
|
|
27418
|
-
"entries",
|
|
27419
|
-
"length",
|
|
27420
|
-
"remainingBudget"
|
|
27421
|
-
]
|
|
27422
|
-
},
|
|
27423
|
-
{
|
|
27424
|
-
"id": "SharedStorageEntry",
|
|
27425
|
-
"description": "Struct for a single key-value pair in an origin's shared storage.",
|
|
27426
|
-
"type": "object",
|
|
27427
|
-
"properties": [
|
|
27428
|
-
{
|
|
27429
|
-
"name": "key",
|
|
27430
|
-
"type": "string"
|
|
27431
|
-
},
|
|
27432
|
-
{
|
|
27433
|
-
"name": "value",
|
|
27434
|
-
"type": "string"
|
|
27435
|
-
}
|
|
27436
|
-
]
|
|
27437
|
-
},
|
|
27438
|
-
{
|
|
27439
|
-
"id": "SharedStorageMetadata",
|
|
27440
|
-
"description": "Details for an origin's shared storage.",
|
|
27441
|
-
"type": "object",
|
|
27442
|
-
"properties": [
|
|
27443
|
-
{
|
|
27444
|
-
"name": "creationTime",
|
|
27445
|
-
"description": "Time when the origin's shared storage was last created.",
|
|
27446
|
-
"$ref": "Network.TimeSinceEpoch"
|
|
27447
|
-
},
|
|
27448
|
-
{
|
|
27449
|
-
"name": "length",
|
|
27450
|
-
"description": "Number of key-value pairs stored in origin's shared storage.",
|
|
27451
|
-
"type": "integer"
|
|
27452
|
-
},
|
|
27453
|
-
{
|
|
27454
|
-
"name": "remainingBudget",
|
|
27455
|
-
"description": "Current amount of bits of entropy remaining in the navigation budget.",
|
|
27456
|
-
"type": "number"
|
|
27457
|
-
},
|
|
27458
|
-
{
|
|
27459
|
-
"name": "bytesUsed",
|
|
27460
|
-
"description": "Total number of bytes stored as key-value pairs in origin's shared\nstorage.",
|
|
27461
|
-
"type": "integer"
|
|
27462
|
-
}
|
|
27463
|
-
]
|
|
27464
|
-
},
|
|
27465
|
-
{
|
|
27466
|
-
"id": "SharedStoragePrivateAggregationConfig",
|
|
27467
|
-
"description": "Represents a dictionary object passed in as privateAggregationConfig to\nrun or selectURL.",
|
|
27468
|
-
"type": "object",
|
|
27469
|
-
"properties": [
|
|
27470
|
-
{
|
|
27471
|
-
"name": "aggregationCoordinatorOrigin",
|
|
27472
|
-
"description": "The chosen aggregation service deployment.",
|
|
27473
|
-
"optional": true,
|
|
27474
|
-
"type": "string"
|
|
27475
|
-
},
|
|
27476
|
-
{
|
|
27477
|
-
"name": "contextId",
|
|
27478
|
-
"description": "The context ID provided.",
|
|
27479
|
-
"optional": true,
|
|
27480
|
-
"type": "string"
|
|
27481
|
-
},
|
|
27482
|
-
{
|
|
27483
|
-
"name": "filteringIdMaxBytes",
|
|
27484
|
-
"description": "Configures the maximum size allowed for filtering IDs.",
|
|
27485
|
-
"type": "integer"
|
|
27486
|
-
},
|
|
27487
|
-
{
|
|
27488
|
-
"name": "maxContributions",
|
|
27489
|
-
"description": "The limit on the number of contributions in the final report.",
|
|
27490
|
-
"optional": true,
|
|
27491
|
-
"type": "integer"
|
|
27492
|
-
}
|
|
27493
|
-
]
|
|
27494
|
-
},
|
|
27495
|
-
{
|
|
27496
|
-
"id": "SharedStorageReportingMetadata",
|
|
27497
|
-
"description": "Pair of reporting metadata details for a candidate URL for `selectURL()`.",
|
|
27498
|
-
"type": "object",
|
|
27499
|
-
"properties": [
|
|
27500
|
-
{
|
|
27501
|
-
"name": "eventType",
|
|
27502
|
-
"type": "string"
|
|
27503
|
-
},
|
|
27504
|
-
{
|
|
27505
|
-
"name": "reportingUrl",
|
|
27506
|
-
"type": "string"
|
|
27507
|
-
}
|
|
27508
|
-
]
|
|
27509
|
-
},
|
|
27510
|
-
{
|
|
27511
|
-
"id": "SharedStorageUrlWithMetadata",
|
|
27512
|
-
"description": "Bundles a candidate URL with its reporting metadata.",
|
|
27513
|
-
"type": "object",
|
|
27514
|
-
"properties": [
|
|
27515
|
-
{
|
|
27516
|
-
"name": "url",
|
|
27517
|
-
"description": "Spec of candidate URL.",
|
|
27518
|
-
"type": "string"
|
|
27519
|
-
},
|
|
27520
|
-
{
|
|
27521
|
-
"name": "reportingMetadata",
|
|
27522
|
-
"description": "Any associated reporting metadata.",
|
|
27523
|
-
"type": "array",
|
|
27524
|
-
"items": {
|
|
27525
|
-
"$ref": "SharedStorageReportingMetadata"
|
|
27526
|
-
}
|
|
27527
|
-
}
|
|
27528
|
-
]
|
|
27529
|
-
},
|
|
27530
|
-
{
|
|
27531
|
-
"id": "SharedStorageAccessParams",
|
|
27532
|
-
"description": "Bundles the parameters for shared storage access events whose\npresence/absence can vary according to SharedStorageAccessType.",
|
|
27533
|
-
"type": "object",
|
|
27534
|
-
"properties": [
|
|
27535
|
-
{
|
|
27536
|
-
"name": "scriptSourceUrl",
|
|
27537
|
-
"description": "Spec of the module script URL.\nPresent only for SharedStorageAccessMethods: addModule and\ncreateWorklet.",
|
|
27538
|
-
"optional": true,
|
|
27539
|
-
"type": "string"
|
|
27540
|
-
},
|
|
27541
|
-
{
|
|
27542
|
-
"name": "dataOrigin",
|
|
27543
|
-
"description": "String denoting \"context-origin\", \"script-origin\", or a custom\norigin to be used as the worklet's data origin.\nPresent only for SharedStorageAccessMethod: createWorklet.",
|
|
27544
|
-
"optional": true,
|
|
27545
|
-
"type": "string"
|
|
27546
|
-
},
|
|
27547
|
-
{
|
|
27548
|
-
"name": "operationName",
|
|
27549
|
-
"description": "Name of the registered operation to be run.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
|
|
27550
|
-
"optional": true,
|
|
27551
|
-
"type": "string"
|
|
27552
|
-
},
|
|
27553
|
-
{
|
|
27554
|
-
"name": "operationId",
|
|
27555
|
-
"description": "ID of the operation call.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
|
|
27556
|
-
"optional": true,
|
|
27557
|
-
"type": "string"
|
|
27558
|
-
},
|
|
27559
|
-
{
|
|
27560
|
-
"name": "keepAlive",
|
|
27561
|
-
"description": "Whether or not to keep the worket alive for future run or selectURL\ncalls.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
|
|
27562
|
-
"optional": true,
|
|
27563
|
-
"type": "boolean"
|
|
27564
|
-
},
|
|
27565
|
-
{
|
|
27566
|
-
"name": "privateAggregationConfig",
|
|
27567
|
-
"description": "Configures the private aggregation options.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
|
|
27568
|
-
"optional": true,
|
|
27569
|
-
"$ref": "SharedStoragePrivateAggregationConfig"
|
|
27570
|
-
},
|
|
27571
|
-
{
|
|
27572
|
-
"name": "serializedData",
|
|
27573
|
-
"description": "The operation's serialized data in bytes (converted to a string).\nPresent only for SharedStorageAccessMethods: run and selectURL.\nTODO(crbug.com/401011862): Consider updating this parameter to binary.",
|
|
27574
|
-
"optional": true,
|
|
27575
|
-
"type": "string"
|
|
27576
|
-
},
|
|
27577
|
-
{
|
|
27578
|
-
"name": "urlsWithMetadata",
|
|
27579
|
-
"description": "Array of candidate URLs' specs, along with any associated metadata.\nPresent only for SharedStorageAccessMethod: selectURL.",
|
|
27580
|
-
"optional": true,
|
|
27581
|
-
"type": "array",
|
|
27582
|
-
"items": {
|
|
27583
|
-
"$ref": "SharedStorageUrlWithMetadata"
|
|
27584
|
-
}
|
|
27585
|
-
},
|
|
27586
|
-
{
|
|
27587
|
-
"name": "urnUuid",
|
|
27588
|
-
"description": "Spec of the URN:UUID generated for a selectURL call.\nPresent only for SharedStorageAccessMethod: selectURL.",
|
|
27589
|
-
"optional": true,
|
|
27590
|
-
"type": "string"
|
|
27591
|
-
},
|
|
27592
|
-
{
|
|
27593
|
-
"name": "key",
|
|
27594
|
-
"description": "Key for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessMethods: set, append, delete, and\nget.",
|
|
27595
|
-
"optional": true,
|
|
27596
|
-
"type": "string"
|
|
27597
|
-
},
|
|
27598
|
-
{
|
|
27599
|
-
"name": "value",
|
|
27600
|
-
"description": "Value for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessMethods: set and append.",
|
|
27601
|
-
"optional": true,
|
|
27602
|
-
"type": "string"
|
|
27603
|
-
},
|
|
27604
|
-
{
|
|
27605
|
-
"name": "ignoreIfPresent",
|
|
27606
|
-
"description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for SharedStorageAccessMethod: set.",
|
|
27607
|
-
"optional": true,
|
|
27608
|
-
"type": "boolean"
|
|
27609
|
-
},
|
|
27610
|
-
{
|
|
27611
|
-
"name": "workletOrdinal",
|
|
27612
|
-
"description": "A number denoting the (0-based) order of the worklet's\ncreation relative to all other shared storage worklets created by\ndocuments using the current storage partition.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet.",
|
|
27613
|
-
"optional": true,
|
|
27614
|
-
"type": "integer"
|
|
27615
|
-
},
|
|
27616
|
-
{
|
|
27617
|
-
"name": "workletTargetId",
|
|
27618
|
-
"description": "Hex representation of the DevTools token used as the TargetID for the\nassociated shared storage worklet.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet,\nrun, selectURL, and any other SharedStorageAccessMethod when the\nSharedStorageAccessScope is sharedStorageWorklet.",
|
|
27619
|
-
"optional": true,
|
|
27620
|
-
"$ref": "Target.TargetID"
|
|
27621
|
-
},
|
|
27622
|
-
{
|
|
27623
|
-
"name": "withLock",
|
|
27624
|
-
"description": "Name of the lock to be acquired, if present.\nOptionally present only for SharedStorageAccessMethods: batchUpdate,\nset, append, delete, and clear.",
|
|
27625
|
-
"optional": true,
|
|
27626
|
-
"type": "string"
|
|
27627
|
-
},
|
|
27628
|
-
{
|
|
27629
|
-
"name": "batchUpdateId",
|
|
27630
|
-
"description": "If the method has been called as part of a batchUpdate, then this\nnumber identifies the batch to which it belongs.\nOptionally present only for SharedStorageAccessMethods:\nbatchUpdate (required), set, append, delete, and clear.",
|
|
27631
|
-
"optional": true,
|
|
27632
|
-
"type": "string"
|
|
27633
|
-
},
|
|
27634
|
-
{
|
|
27635
|
-
"name": "batchSize",
|
|
27636
|
-
"description": "Number of modifier methods sent in batch.\nPresent only for SharedStorageAccessMethod: batchUpdate.",
|
|
27637
|
-
"optional": true,
|
|
27638
|
-
"type": "integer"
|
|
27639
|
-
}
|
|
27640
|
-
]
|
|
27641
|
-
},
|
|
27642
27504
|
{
|
|
27643
27505
|
"id": "StorageBucketsDurability",
|
|
27644
27506
|
"type": "string",
|
|
@@ -28023,116 +27885,6 @@
|
|
|
28023
27885
|
}
|
|
28024
27886
|
]
|
|
28025
27887
|
},
|
|
28026
|
-
{
|
|
28027
|
-
"name": "getSharedStorageMetadata",
|
|
28028
|
-
"description": "Gets metadata for an origin's shared storage.",
|
|
28029
|
-
"experimental": true,
|
|
28030
|
-
"parameters": [
|
|
28031
|
-
{
|
|
28032
|
-
"name": "ownerOrigin",
|
|
28033
|
-
"type": "string"
|
|
28034
|
-
}
|
|
28035
|
-
],
|
|
28036
|
-
"returns": [
|
|
28037
|
-
{
|
|
28038
|
-
"name": "metadata",
|
|
28039
|
-
"$ref": "SharedStorageMetadata"
|
|
28040
|
-
}
|
|
28041
|
-
]
|
|
28042
|
-
},
|
|
28043
|
-
{
|
|
28044
|
-
"name": "getSharedStorageEntries",
|
|
28045
|
-
"description": "Gets the entries in an given origin's shared storage.",
|
|
28046
|
-
"experimental": true,
|
|
28047
|
-
"parameters": [
|
|
28048
|
-
{
|
|
28049
|
-
"name": "ownerOrigin",
|
|
28050
|
-
"type": "string"
|
|
28051
|
-
}
|
|
28052
|
-
],
|
|
28053
|
-
"returns": [
|
|
28054
|
-
{
|
|
28055
|
-
"name": "entries",
|
|
28056
|
-
"type": "array",
|
|
28057
|
-
"items": {
|
|
28058
|
-
"$ref": "SharedStorageEntry"
|
|
28059
|
-
}
|
|
28060
|
-
}
|
|
28061
|
-
]
|
|
28062
|
-
},
|
|
28063
|
-
{
|
|
28064
|
-
"name": "setSharedStorageEntry",
|
|
28065
|
-
"description": "Sets entry with `key` and `value` for a given origin's shared storage.",
|
|
28066
|
-
"experimental": true,
|
|
28067
|
-
"parameters": [
|
|
28068
|
-
{
|
|
28069
|
-
"name": "ownerOrigin",
|
|
28070
|
-
"type": "string"
|
|
28071
|
-
},
|
|
28072
|
-
{
|
|
28073
|
-
"name": "key",
|
|
28074
|
-
"type": "string"
|
|
28075
|
-
},
|
|
28076
|
-
{
|
|
28077
|
-
"name": "value",
|
|
28078
|
-
"type": "string"
|
|
28079
|
-
},
|
|
28080
|
-
{
|
|
28081
|
-
"name": "ignoreIfPresent",
|
|
28082
|
-
"description": "If `ignoreIfPresent` is included and true, then only sets the entry if\n`key` doesn't already exist.",
|
|
28083
|
-
"optional": true,
|
|
28084
|
-
"type": "boolean"
|
|
28085
|
-
}
|
|
28086
|
-
]
|
|
28087
|
-
},
|
|
28088
|
-
{
|
|
28089
|
-
"name": "deleteSharedStorageEntry",
|
|
28090
|
-
"description": "Deletes entry for `key` (if it exists) for a given origin's shared storage.",
|
|
28091
|
-
"experimental": true,
|
|
28092
|
-
"parameters": [
|
|
28093
|
-
{
|
|
28094
|
-
"name": "ownerOrigin",
|
|
28095
|
-
"type": "string"
|
|
28096
|
-
},
|
|
28097
|
-
{
|
|
28098
|
-
"name": "key",
|
|
28099
|
-
"type": "string"
|
|
28100
|
-
}
|
|
28101
|
-
]
|
|
28102
|
-
},
|
|
28103
|
-
{
|
|
28104
|
-
"name": "clearSharedStorageEntries",
|
|
28105
|
-
"description": "Clears all entries for a given origin's shared storage.",
|
|
28106
|
-
"experimental": true,
|
|
28107
|
-
"parameters": [
|
|
28108
|
-
{
|
|
28109
|
-
"name": "ownerOrigin",
|
|
28110
|
-
"type": "string"
|
|
28111
|
-
}
|
|
28112
|
-
]
|
|
28113
|
-
},
|
|
28114
|
-
{
|
|
28115
|
-
"name": "resetSharedStorageBudget",
|
|
28116
|
-
"description": "Resets the budget for `ownerOrigin` by clearing all budget withdrawals.",
|
|
28117
|
-
"experimental": true,
|
|
28118
|
-
"parameters": [
|
|
28119
|
-
{
|
|
28120
|
-
"name": "ownerOrigin",
|
|
28121
|
-
"type": "string"
|
|
28122
|
-
}
|
|
28123
|
-
]
|
|
28124
|
-
},
|
|
28125
|
-
{
|
|
28126
|
-
"name": "setSharedStorageTracking",
|
|
28127
|
-
"description": "Enables/disables issuing of sharedStorageAccessed events.",
|
|
28128
|
-
"experimental": true,
|
|
28129
|
-
"parameters": [
|
|
28130
|
-
{
|
|
28131
|
-
"name": "enable",
|
|
28132
|
-
"type": "boolean"
|
|
28133
|
-
}
|
|
28134
|
-
]
|
|
28135
|
-
},
|
|
28136
27888
|
{
|
|
28137
27889
|
"name": "setStorageBucketTracking",
|
|
28138
27890
|
"description": "Set tracking for a storage key's buckets.",
|
|
@@ -28288,88 +28040,6 @@
|
|
|
28288
28040
|
}
|
|
28289
28041
|
]
|
|
28290
28042
|
},
|
|
28291
|
-
{
|
|
28292
|
-
"name": "sharedStorageAccessed",
|
|
28293
|
-
"description": "Shared storage was accessed by the associated page.\nThe following parameters are included in all events.",
|
|
28294
|
-
"parameters": [
|
|
28295
|
-
{
|
|
28296
|
-
"name": "accessTime",
|
|
28297
|
-
"description": "Time of the access.",
|
|
28298
|
-
"$ref": "Network.TimeSinceEpoch"
|
|
28299
|
-
},
|
|
28300
|
-
{
|
|
28301
|
-
"name": "scope",
|
|
28302
|
-
"description": "Enum value indicating the access scope.",
|
|
28303
|
-
"$ref": "SharedStorageAccessScope"
|
|
28304
|
-
},
|
|
28305
|
-
{
|
|
28306
|
-
"name": "method",
|
|
28307
|
-
"description": "Enum value indicating the Shared Storage API method invoked.",
|
|
28308
|
-
"$ref": "SharedStorageAccessMethod"
|
|
28309
|
-
},
|
|
28310
|
-
{
|
|
28311
|
-
"name": "mainFrameId",
|
|
28312
|
-
"description": "DevTools Frame Token for the primary frame tree's root.",
|
|
28313
|
-
"$ref": "Page.FrameId"
|
|
28314
|
-
},
|
|
28315
|
-
{
|
|
28316
|
-
"name": "ownerOrigin",
|
|
28317
|
-
"description": "Serialization of the origin owning the Shared Storage data.",
|
|
28318
|
-
"type": "string"
|
|
28319
|
-
},
|
|
28320
|
-
{
|
|
28321
|
-
"name": "ownerSite",
|
|
28322
|
-
"description": "Serialization of the site owning the Shared Storage data.",
|
|
28323
|
-
"type": "string"
|
|
28324
|
-
},
|
|
28325
|
-
{
|
|
28326
|
-
"name": "params",
|
|
28327
|
-
"description": "The sub-parameters wrapped by `params` are all optional and their\npresence/absence depends on `type`.",
|
|
28328
|
-
"$ref": "SharedStorageAccessParams"
|
|
28329
|
-
}
|
|
28330
|
-
]
|
|
28331
|
-
},
|
|
28332
|
-
{
|
|
28333
|
-
"name": "sharedStorageWorkletOperationExecutionFinished",
|
|
28334
|
-
"description": "A shared storage run or selectURL operation finished its execution.\nThe following parameters are included in all events.",
|
|
28335
|
-
"parameters": [
|
|
28336
|
-
{
|
|
28337
|
-
"name": "finishedTime",
|
|
28338
|
-
"description": "Time that the operation finished.",
|
|
28339
|
-
"$ref": "Network.TimeSinceEpoch"
|
|
28340
|
-
},
|
|
28341
|
-
{
|
|
28342
|
-
"name": "executionTime",
|
|
28343
|
-
"description": "Time, in microseconds, from start of shared storage JS API call until\nend of operation execution in the worklet.",
|
|
28344
|
-
"type": "integer"
|
|
28345
|
-
},
|
|
28346
|
-
{
|
|
28347
|
-
"name": "method",
|
|
28348
|
-
"description": "Enum value indicating the Shared Storage API method invoked.",
|
|
28349
|
-
"$ref": "SharedStorageAccessMethod"
|
|
28350
|
-
},
|
|
28351
|
-
{
|
|
28352
|
-
"name": "operationId",
|
|
28353
|
-
"description": "ID of the operation call.",
|
|
28354
|
-
"type": "string"
|
|
28355
|
-
},
|
|
28356
|
-
{
|
|
28357
|
-
"name": "workletTargetId",
|
|
28358
|
-
"description": "Hex representation of the DevTools token used as the TargetID for the\nassociated shared storage worklet.",
|
|
28359
|
-
"$ref": "Target.TargetID"
|
|
28360
|
-
},
|
|
28361
|
-
{
|
|
28362
|
-
"name": "mainFrameId",
|
|
28363
|
-
"description": "DevTools Frame Token for the primary frame tree's root.",
|
|
28364
|
-
"$ref": "Page.FrameId"
|
|
28365
|
-
},
|
|
28366
|
-
{
|
|
28367
|
-
"name": "ownerOrigin",
|
|
28368
|
-
"description": "Serialization of the origin owning the Shared Storage data.",
|
|
28369
|
-
"type": "string"
|
|
28370
|
-
}
|
|
28371
|
-
]
|
|
28372
|
-
},
|
|
28373
28043
|
{
|
|
28374
28044
|
"name": "storageBucketCreatedOrUpdated",
|
|
28375
28045
|
"parameters": [
|
|
@@ -30813,6 +30483,12 @@
|
|
|
30813
30483
|
"optional": true,
|
|
30814
30484
|
"type": "boolean"
|
|
30815
30485
|
},
|
|
30486
|
+
{
|
|
30487
|
+
"name": "consequential",
|
|
30488
|
+
"description": "A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.",
|
|
30489
|
+
"optional": true,
|
|
30490
|
+
"type": "boolean"
|
|
30491
|
+
},
|
|
30816
30492
|
{
|
|
30817
30493
|
"name": "autosubmit",
|
|
30818
30494
|
"description": "If the declarative tool was declared with the autosubmit attribute.",
|
package/package.json
CHANGED
package/pdl/domains/Browser.pdl
CHANGED
|
@@ -225,6 +225,16 @@ domain Browser
|
|
|
225
225
|
# Commandline parameters
|
|
226
226
|
array of string arguments
|
|
227
227
|
|
|
228
|
+
# Adds or updates a mock camera in the shared video capture device list for
|
|
229
|
+
# test automation. The mock camera is not scoped to a particular page or
|
|
230
|
+
# frame and is removed when the DevTools session that created it disconnects.
|
|
231
|
+
experimental command addMockCamera
|
|
232
|
+
parameters
|
|
233
|
+
# Required non-empty identifier for the mock camera. This is mapped to an
|
|
234
|
+
# internal virtual-device identifier and is not the MediaDeviceInfo.deviceId
|
|
235
|
+
# exposed to the page.
|
|
236
|
+
string deviceId
|
|
237
|
+
|
|
228
238
|
# Chrome histogram bucket.
|
|
229
239
|
experimental type Bucket extends object
|
|
230
240
|
properties
|