devtools-protocol 0.0.1696802 → 0.0.1704951
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/README.md +20 -0
- package/json/browser_protocol.json +353 -51
- package/package.json +1 -1
- package/pdl/domains/Animation.pdl +6 -2
- package/pdl/domains/Audits.pdl +0 -1
- package/pdl/domains/DOM.pdl +31 -0
- package/pdl/domains/Emulation.pdl +8 -0
- package/pdl/domains/Network.pdl +0 -6
- package/pdl/domains/Overlay.pdl +24 -0
- package/pdl/domains/Page.pdl +28 -1
- package/pdl/domains/Preload.pdl +4 -0
- package/pdl/domains/Storage.pdl +56 -15
- package/pdl/domains/WebMCP.pdl +2 -0
- package/types/protocol-mapping.d.ts +88 -13
- package/types/protocol-proxy-api.d.ts +71 -11
- package/types/protocol-tests-proxy-api.d.ts +73 -11
- package/types/protocol.d.ts +225 -30
package/README.md
CHANGED
|
@@ -9,3 +9,23 @@ Use the [protocol viewer](https://chromedevtools.github.io/devtools-protocol/) f
|
|
|
9
9
|
TypeScript definitions for the protocol's types are available in ['types/protocol.d.ts'](https://github.com/ChromeDevTools/devtools-protocol/tree/master/types). Mappings from Commands and events to these types are available in either generated `DomainApi` style in [`types/protocol-proxy-api.d.ts`](https://github.com/ChromeDevTools/devtools-protocol/blob/master/types/protocol-proxy-api.d.ts) or in simple name-to-type-interface style in [`types/protocol-mapping.d.ts`](https://github.com/ChromeDevTools/devtools-protocol/blob/master/types/protocol-mapping.d.ts).
|
|
10
10
|
|
|
11
11
|
Also, this repo is published as the [`devtools-protocol`](https://www.npmjs.com/package/devtools-protocol) npm module.
|
|
12
|
+
|
|
13
|
+
## Development
|
|
14
|
+
|
|
15
|
+
The `.pdl` files, the `json/` files and the TypeScript definitions in `types/`
|
|
16
|
+
are all generated by [`scripts/update-to-latest.sh`](scripts/update-to-latest.sh),
|
|
17
|
+
which runs daily. Do not edit them by hand.
|
|
18
|
+
|
|
19
|
+
The TypeScript generator itself lives in Chromium, at
|
|
20
|
+
[`//third_party/blink/public/devtools_protocol/scripts/protocol_dts_generator.ts`](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/scripts/protocol_dts_generator.ts),
|
|
21
|
+
so that Chromium and this repo share a single source of truth. It is fetched
|
|
22
|
+
into `tmp/chromium/` by the sparse checkout in `update-to-latest.sh`. Changes to
|
|
23
|
+
the generator should be made in Chromium.
|
|
24
|
+
|
|
25
|
+
To regenerate `types/` against an existing local Chromium checkout:
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
cd scripts
|
|
29
|
+
CHROMIUM_PROTOCOL_SCRIPTS_DIR=/path/to/src/third_party/blink/public/devtools_protocol/scripts \
|
|
30
|
+
npm run build-protocol-dts
|
|
31
|
+
```
|
|
@@ -1030,8 +1030,18 @@
|
|
|
1030
1030
|
},
|
|
1031
1031
|
{
|
|
1032
1032
|
"name": "currentTime",
|
|
1033
|
-
"description": "Set
|
|
1033
|
+
"description": "Set each animation to the same time.",
|
|
1034
|
+
"optional": true,
|
|
1034
1035
|
"type": "number"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "currentTimes",
|
|
1039
|
+
"description": "Set each animation to a different time. If set, should have the same\nlength as animations. Exactly one of currentTime or currentTimes should\nbe set.",
|
|
1040
|
+
"optional": true,
|
|
1041
|
+
"type": "array",
|
|
1042
|
+
"items": {
|
|
1043
|
+
"type": "number"
|
|
1044
|
+
}
|
|
1035
1045
|
}
|
|
1036
1046
|
]
|
|
1037
1047
|
},
|
|
@@ -1200,7 +1210,6 @@
|
|
|
1200
1210
|
"ExcludeSameSiteLax",
|
|
1201
1211
|
"ExcludeSameSiteStrict",
|
|
1202
1212
|
"ExcludeDomainNonASCII",
|
|
1203
|
-
"ExcludeThirdPartyCookieBlockedInFirstPartySet",
|
|
1204
1213
|
"ExcludeThirdPartyPhaseout",
|
|
1205
1214
|
"ExcludePortMismatch",
|
|
1206
1215
|
"ExcludeSchemeMismatch"
|
|
@@ -9044,6 +9053,55 @@
|
|
|
9044
9053
|
"type": "boolean"
|
|
9045
9054
|
}
|
|
9046
9055
|
]
|
|
9056
|
+
},
|
|
9057
|
+
{
|
|
9058
|
+
"name": "setTextMarker",
|
|
9059
|
+
"description": "Sets a spelling or grammar error marker on the given range of text.\nSee https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md\nNote: exactly one between nodeId, backendNodeId and objectId should be passed\nto identify the node.",
|
|
9060
|
+
"experimental": true,
|
|
9061
|
+
"parameters": [
|
|
9062
|
+
{
|
|
9063
|
+
"name": "nodeId",
|
|
9064
|
+
"description": "Identifier of the node.",
|
|
9065
|
+
"optional": true,
|
|
9066
|
+
"$ref": "NodeId"
|
|
9067
|
+
},
|
|
9068
|
+
{
|
|
9069
|
+
"name": "backendNodeId",
|
|
9070
|
+
"description": "Identifier of the backend node.",
|
|
9071
|
+
"optional": true,
|
|
9072
|
+
"$ref": "BackendNodeId"
|
|
9073
|
+
},
|
|
9074
|
+
{
|
|
9075
|
+
"name": "objectId",
|
|
9076
|
+
"description": "JavaScript object id of the node wrapper.",
|
|
9077
|
+
"optional": true,
|
|
9078
|
+
"$ref": "Runtime.RemoteObjectId"
|
|
9079
|
+
},
|
|
9080
|
+
{
|
|
9081
|
+
"name": "type",
|
|
9082
|
+
"description": "The type of marker to set on the given range of text.",
|
|
9083
|
+
"type": "string",
|
|
9084
|
+
"enum": [
|
|
9085
|
+
"spelling",
|
|
9086
|
+
"grammar"
|
|
9087
|
+
]
|
|
9088
|
+
},
|
|
9089
|
+
{
|
|
9090
|
+
"name": "start",
|
|
9091
|
+
"description": "Start offset into the element's rendered text in UTF-16 code units.\nFor a text control, an offset into the control's value.\nOffsets count text in DOM order and do not enter shadow trees.\nTo mark text inside a shadow tree, pass the element inside the shadow tree.",
|
|
9092
|
+
"type": "integer"
|
|
9093
|
+
},
|
|
9094
|
+
{
|
|
9095
|
+
"name": "end",
|
|
9096
|
+
"description": "End offset (exclusive) in the same units and space as start.",
|
|
9097
|
+
"type": "integer"
|
|
9098
|
+
}
|
|
9099
|
+
]
|
|
9100
|
+
},
|
|
9101
|
+
{
|
|
9102
|
+
"name": "clearTextMarkers",
|
|
9103
|
+
"description": "Clears the spelling and grammar error text markers overlapping the ranges\nset by setTextMarker in this session. These markers are also removed when\nthe DOM domain is disabled or the session ends.",
|
|
9104
|
+
"experimental": true
|
|
9047
9105
|
}
|
|
9048
9106
|
],
|
|
9049
9107
|
"events": [
|
|
@@ -11545,6 +11603,17 @@
|
|
|
11545
11603
|
"enable",
|
|
11546
11604
|
"default"
|
|
11547
11605
|
]
|
|
11606
|
+
},
|
|
11607
|
+
{
|
|
11608
|
+
"name": "textLayoutMode",
|
|
11609
|
+
"description": "Text layout mode. Default: `default`. Note: if `mobile` is `true`,\nmobile text layout mode (text autosizing) is always enabled.",
|
|
11610
|
+
"experimental": true,
|
|
11611
|
+
"optional": true,
|
|
11612
|
+
"type": "string",
|
|
11613
|
+
"enum": [
|
|
11614
|
+
"mobile",
|
|
11615
|
+
"default"
|
|
11616
|
+
]
|
|
11548
11617
|
}
|
|
11549
11618
|
]
|
|
11550
11619
|
},
|
|
@@ -16970,7 +17039,6 @@
|
|
|
16970
17039
|
"SameSiteNoneInsecure",
|
|
16971
17040
|
"UserPreferences",
|
|
16972
17041
|
"ThirdPartyPhaseout",
|
|
16973
|
-
"ThirdPartyBlockedInFirstPartySet",
|
|
16974
17042
|
"SyntaxError",
|
|
16975
17043
|
"SchemeNotSupported",
|
|
16976
17044
|
"OverwriteSecure",
|
|
@@ -17000,7 +17068,6 @@
|
|
|
17000
17068
|
"SameSiteNoneInsecure",
|
|
17001
17069
|
"UserPreferences",
|
|
17002
17070
|
"ThirdPartyPhaseout",
|
|
17003
|
-
"ThirdPartyBlockedInFirstPartySet",
|
|
17004
17071
|
"UnknownError",
|
|
17005
17072
|
"SchemefulSameSiteStrict",
|
|
17006
17073
|
"SchemefulSameSiteLax",
|
|
@@ -20610,6 +20677,67 @@
|
|
|
20610
20677
|
"apca"
|
|
20611
20678
|
]
|
|
20612
20679
|
},
|
|
20680
|
+
{
|
|
20681
|
+
"id": "ImcbHighlightConfig",
|
|
20682
|
+
"description": "Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.",
|
|
20683
|
+
"type": "object",
|
|
20684
|
+
"properties": [
|
|
20685
|
+
{
|
|
20686
|
+
"name": "imcbBorderColor",
|
|
20687
|
+
"description": "Border color for the Inset-Modified Containing Block (default: transparent).",
|
|
20688
|
+
"optional": true,
|
|
20689
|
+
"$ref": "DOM.RGBA"
|
|
20690
|
+
},
|
|
20691
|
+
{
|
|
20692
|
+
"name": "imcbBackgroundColor",
|
|
20693
|
+
"description": "Background fill color for the Inset-Modified Containing Block (default: transparent).",
|
|
20694
|
+
"optional": true,
|
|
20695
|
+
"$ref": "DOM.RGBA"
|
|
20696
|
+
},
|
|
20697
|
+
{
|
|
20698
|
+
"name": "insetsBackgroundColor",
|
|
20699
|
+
"description": "Fill color for the inset modifiers area (difference between CB and IMCB).",
|
|
20700
|
+
"optional": true,
|
|
20701
|
+
"$ref": "DOM.RGBA"
|
|
20702
|
+
},
|
|
20703
|
+
{
|
|
20704
|
+
"name": "insetsHatchColor",
|
|
20705
|
+
"description": "Hatch color for the inset modifiers area.",
|
|
20706
|
+
"optional": true,
|
|
20707
|
+
"$ref": "DOM.RGBA"
|
|
20708
|
+
},
|
|
20709
|
+
{
|
|
20710
|
+
"name": "anchorBorderColor",
|
|
20711
|
+
"description": "Border color for the referenced target anchor element(s) (when element is anchor-positioned).",
|
|
20712
|
+
"optional": true,
|
|
20713
|
+
"$ref": "DOM.RGBA"
|
|
20714
|
+
},
|
|
20715
|
+
{
|
|
20716
|
+
"name": "anchorBackgroundColor",
|
|
20717
|
+
"description": "Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).",
|
|
20718
|
+
"optional": true,
|
|
20719
|
+
"$ref": "DOM.RGBA"
|
|
20720
|
+
},
|
|
20721
|
+
{
|
|
20722
|
+
"name": "showPositionAreaGrid",
|
|
20723
|
+
"description": "Whether to render the 3x3 position-area grid lines when position-area is used.",
|
|
20724
|
+
"optional": true,
|
|
20725
|
+
"type": "boolean"
|
|
20726
|
+
},
|
|
20727
|
+
{
|
|
20728
|
+
"name": "positionAreaGridLineColor",
|
|
20729
|
+
"description": "Line color for the 3x3 position-area grid lines.",
|
|
20730
|
+
"optional": true,
|
|
20731
|
+
"$ref": "DOM.RGBA"
|
|
20732
|
+
},
|
|
20733
|
+
{
|
|
20734
|
+
"name": "positionAreaActiveRegionColor",
|
|
20735
|
+
"description": "Fill color for the active region within the position-area grid.",
|
|
20736
|
+
"optional": true,
|
|
20737
|
+
"$ref": "DOM.RGBA"
|
|
20738
|
+
}
|
|
20739
|
+
]
|
|
20740
|
+
},
|
|
20613
20741
|
{
|
|
20614
20742
|
"id": "HighlightConfig",
|
|
20615
20743
|
"description": "Configuration data for the highlighting of page elements.",
|
|
@@ -20728,6 +20856,12 @@
|
|
|
20728
20856
|
"description": "The container query container highlight configuration (default: all transparent).",
|
|
20729
20857
|
"optional": true,
|
|
20730
20858
|
"$ref": "ContainerQueryContainerHighlightConfig"
|
|
20859
|
+
},
|
|
20860
|
+
{
|
|
20861
|
+
"name": "imcbHighlightConfig",
|
|
20862
|
+
"description": "The IMCB highlight configuration (default: all transparent).",
|
|
20863
|
+
"optional": true,
|
|
20864
|
+
"$ref": "ImcbHighlightConfig"
|
|
20731
20865
|
}
|
|
20732
20866
|
]
|
|
20733
20867
|
},
|
|
@@ -22448,6 +22582,12 @@
|
|
|
22448
22582
|
"description": "Frame swap timestamp.",
|
|
22449
22583
|
"optional": true,
|
|
22450
22584
|
"$ref": "Network.TimeSinceEpoch"
|
|
22585
|
+
},
|
|
22586
|
+
{
|
|
22587
|
+
"name": "monotonicTimestamp",
|
|
22588
|
+
"description": "Frame swap timestamp as monotonic time.",
|
|
22589
|
+
"optional": true,
|
|
22590
|
+
"$ref": "Network.MonotonicTime"
|
|
22451
22591
|
}
|
|
22452
22592
|
]
|
|
22453
22593
|
},
|
|
@@ -23159,6 +23299,32 @@
|
|
|
23159
23299
|
}
|
|
23160
23300
|
]
|
|
23161
23301
|
},
|
|
23302
|
+
{
|
|
23303
|
+
"id": "SubApp",
|
|
23304
|
+
"type": "object",
|
|
23305
|
+
"properties": [
|
|
23306
|
+
{
|
|
23307
|
+
"name": "name",
|
|
23308
|
+
"description": "Display name of the sub-app.",
|
|
23309
|
+
"type": "string"
|
|
23310
|
+
},
|
|
23311
|
+
{
|
|
23312
|
+
"name": "scope",
|
|
23313
|
+
"description": "Scope of the sub-app.",
|
|
23314
|
+
"type": "string"
|
|
23315
|
+
},
|
|
23316
|
+
{
|
|
23317
|
+
"name": "manifestId",
|
|
23318
|
+
"description": "Manifest id of the sub-app.",
|
|
23319
|
+
"type": "string"
|
|
23320
|
+
},
|
|
23321
|
+
{
|
|
23322
|
+
"name": "startUrl",
|
|
23323
|
+
"description": "Start URL of the sub-app.",
|
|
23324
|
+
"type": "string"
|
|
23325
|
+
}
|
|
23326
|
+
]
|
|
23327
|
+
},
|
|
23162
23328
|
{
|
|
23163
23329
|
"id": "NavigationType",
|
|
23164
23330
|
"description": "The type of a frameNavigated event.",
|
|
@@ -23732,7 +23898,7 @@
|
|
|
23732
23898
|
},
|
|
23733
23899
|
{
|
|
23734
23900
|
"name": "getAppId",
|
|
23735
|
-
"description": "Returns the unique (PWA) app id.\nOnly returns values if the feature flag 'WebAppEnableManifestId' is enabled",
|
|
23901
|
+
"description": "Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.\nOnly returns values if the feature flag 'WebAppEnableManifestId' is enabled",
|
|
23736
23902
|
"experimental": true,
|
|
23737
23903
|
"returns": [
|
|
23738
23904
|
{
|
|
@@ -23746,6 +23912,46 @@
|
|
|
23746
23912
|
"description": "Recommendation for manifest's id attribute to match current id computed from start_url",
|
|
23747
23913
|
"optional": true,
|
|
23748
23914
|
"type": "string"
|
|
23915
|
+
},
|
|
23916
|
+
{
|
|
23917
|
+
"name": "bundleId",
|
|
23918
|
+
"description": "The bundle ID for an Isolated Web App (IWA)",
|
|
23919
|
+
"optional": true,
|
|
23920
|
+
"type": "string"
|
|
23921
|
+
},
|
|
23922
|
+
{
|
|
23923
|
+
"name": "parentAppName",
|
|
23924
|
+
"description": "The name of the parent app if this app is a Sub-App",
|
|
23925
|
+
"optional": true,
|
|
23926
|
+
"type": "string"
|
|
23927
|
+
}
|
|
23928
|
+
]
|
|
23929
|
+
},
|
|
23930
|
+
{
|
|
23931
|
+
"name": "getSubApps",
|
|
23932
|
+
"description": "Returns the list of installed child Sub-Apps for the inspected parent app.",
|
|
23933
|
+
"experimental": true,
|
|
23934
|
+
"returns": [
|
|
23935
|
+
{
|
|
23936
|
+
"name": "subApps",
|
|
23937
|
+
"type": "array",
|
|
23938
|
+
"items": {
|
|
23939
|
+
"$ref": "SubApp"
|
|
23940
|
+
}
|
|
23941
|
+
}
|
|
23942
|
+
]
|
|
23943
|
+
},
|
|
23944
|
+
{
|
|
23945
|
+
"name": "getSiblingSubApps",
|
|
23946
|
+
"description": "Returns the list of sibling Sub-Apps sharing the same parent app if the inspected context is a Sub-App.",
|
|
23947
|
+
"experimental": true,
|
|
23948
|
+
"returns": [
|
|
23949
|
+
{
|
|
23950
|
+
"name": "subApps",
|
|
23951
|
+
"type": "array",
|
|
23952
|
+
"items": {
|
|
23953
|
+
"$ref": "SubApp"
|
|
23954
|
+
}
|
|
23749
23955
|
}
|
|
23750
23956
|
]
|
|
23751
23957
|
},
|
|
@@ -26010,6 +26216,12 @@
|
|
|
26010
26216
|
"name": "status",
|
|
26011
26217
|
"$ref": "PreloadingStatus"
|
|
26012
26218
|
},
|
|
26219
|
+
{
|
|
26220
|
+
"name": "effectiveAction",
|
|
26221
|
+
"description": "The action currently performed by this attempt. This differs from\n`key.action` after a prerender-until-script attempt is upgraded in place\nto a full prerender.",
|
|
26222
|
+
"optional": true,
|
|
26223
|
+
"$ref": "SpeculationAction"
|
|
26224
|
+
},
|
|
26013
26225
|
{
|
|
26014
26226
|
"name": "prerenderStatus",
|
|
26015
26227
|
"optional": true,
|
|
@@ -27583,6 +27795,70 @@
|
|
|
27583
27795
|
}
|
|
27584
27796
|
]
|
|
27585
27797
|
},
|
|
27798
|
+
{
|
|
27799
|
+
"id": "PrivateVerificationToken",
|
|
27800
|
+
"description": "Details of a stored Private Verification Token.",
|
|
27801
|
+
"experimental": true,
|
|
27802
|
+
"type": "object",
|
|
27803
|
+
"properties": [
|
|
27804
|
+
{
|
|
27805
|
+
"name": "id",
|
|
27806
|
+
"description": "Unique identifier of the token in the database.",
|
|
27807
|
+
"type": "string"
|
|
27808
|
+
},
|
|
27809
|
+
{
|
|
27810
|
+
"name": "issuerOrigin",
|
|
27811
|
+
"description": "Origin of the token issuer.",
|
|
27812
|
+
"type": "string"
|
|
27813
|
+
},
|
|
27814
|
+
{
|
|
27815
|
+
"name": "keyId",
|
|
27816
|
+
"description": "Public key ID used to issue the token.",
|
|
27817
|
+
"type": "integer"
|
|
27818
|
+
},
|
|
27819
|
+
{
|
|
27820
|
+
"name": "expiration",
|
|
27821
|
+
"description": "Expiration timestamp in seconds since the epoch.",
|
|
27822
|
+
"$ref": "Network.TimeSinceEpoch"
|
|
27823
|
+
},
|
|
27824
|
+
{
|
|
27825
|
+
"name": "creationTime",
|
|
27826
|
+
"description": "Token creation timestamp in seconds since the epoch.",
|
|
27827
|
+
"$ref": "Network.TimeSinceEpoch"
|
|
27828
|
+
},
|
|
27829
|
+
{
|
|
27830
|
+
"name": "version",
|
|
27831
|
+
"description": "Token protocol version.",
|
|
27832
|
+
"type": "integer"
|
|
27833
|
+
},
|
|
27834
|
+
{
|
|
27835
|
+
"name": "token",
|
|
27836
|
+
"description": "Base64-encoded serialized token.",
|
|
27837
|
+
"type": "string"
|
|
27838
|
+
}
|
|
27839
|
+
]
|
|
27840
|
+
},
|
|
27841
|
+
{
|
|
27842
|
+
"id": "PrivateVerificationTokensIssuerConfig",
|
|
27843
|
+
"description": "Configuration for a Private Verification Tokens issuer.",
|
|
27844
|
+
"experimental": true,
|
|
27845
|
+
"type": "object",
|
|
27846
|
+
"properties": [
|
|
27847
|
+
{
|
|
27848
|
+
"name": "issuerOrigin",
|
|
27849
|
+
"description": "Origin of the token issuer.",
|
|
27850
|
+
"type": "string"
|
|
27851
|
+
},
|
|
27852
|
+
{
|
|
27853
|
+
"name": "redeemerOrigins",
|
|
27854
|
+
"description": "Origins authorized to redeem tokens from this issuer.",
|
|
27855
|
+
"type": "array",
|
|
27856
|
+
"items": {
|
|
27857
|
+
"type": "string"
|
|
27858
|
+
}
|
|
27859
|
+
}
|
|
27860
|
+
]
|
|
27861
|
+
},
|
|
27586
27862
|
{
|
|
27587
27863
|
"id": "StorageBucketsDurability",
|
|
27588
27864
|
"type": "string",
|
|
@@ -27637,38 +27913,6 @@
|
|
|
27637
27913
|
"$ref": "StorageBucketsDurability"
|
|
27638
27914
|
}
|
|
27639
27915
|
]
|
|
27640
|
-
},
|
|
27641
|
-
{
|
|
27642
|
-
"id": "RelatedWebsiteSet",
|
|
27643
|
-
"description": "A single Related Website Set object.",
|
|
27644
|
-
"experimental": true,
|
|
27645
|
-
"type": "object",
|
|
27646
|
-
"properties": [
|
|
27647
|
-
{
|
|
27648
|
-
"name": "primarySites",
|
|
27649
|
-
"description": "The primary site of this set, along with the ccTLDs if there is any.",
|
|
27650
|
-
"type": "array",
|
|
27651
|
-
"items": {
|
|
27652
|
-
"type": "string"
|
|
27653
|
-
}
|
|
27654
|
-
},
|
|
27655
|
-
{
|
|
27656
|
-
"name": "associatedSites",
|
|
27657
|
-
"description": "The associated sites of this set, along with the ccTLDs if there is any.",
|
|
27658
|
-
"type": "array",
|
|
27659
|
-
"items": {
|
|
27660
|
-
"type": "string"
|
|
27661
|
-
}
|
|
27662
|
-
},
|
|
27663
|
-
{
|
|
27664
|
-
"name": "serviceSites",
|
|
27665
|
-
"description": "The service sites of this set, along with the ccTLDs if there is any.",
|
|
27666
|
-
"type": "array",
|
|
27667
|
-
"items": {
|
|
27668
|
-
"type": "string"
|
|
27669
|
-
}
|
|
27670
|
-
}
|
|
27671
|
-
]
|
|
27672
27916
|
}
|
|
27673
27917
|
],
|
|
27674
27918
|
"commands": [
|
|
@@ -27967,6 +28211,67 @@
|
|
|
27967
28211
|
}
|
|
27968
28212
|
]
|
|
27969
28213
|
},
|
|
28214
|
+
{
|
|
28215
|
+
"name": "getPrivateVerificationTokens",
|
|
28216
|
+
"description": "Returns all stored Private Verification Tokens for the current browsing\ncontext.",
|
|
28217
|
+
"experimental": true,
|
|
28218
|
+
"returns": [
|
|
28219
|
+
{
|
|
28220
|
+
"name": "tokens",
|
|
28221
|
+
"type": "array",
|
|
28222
|
+
"items": {
|
|
28223
|
+
"$ref": "PrivateVerificationToken"
|
|
28224
|
+
}
|
|
28225
|
+
}
|
|
28226
|
+
]
|
|
28227
|
+
},
|
|
28228
|
+
{
|
|
28229
|
+
"name": "getPrivateVerificationTokensIssuerConfigs",
|
|
28230
|
+
"description": "Returns the configured Private Verification Tokens issuers and their redeemer\norigins.",
|
|
28231
|
+
"experimental": true,
|
|
28232
|
+
"returns": [
|
|
28233
|
+
{
|
|
28234
|
+
"name": "configs",
|
|
28235
|
+
"type": "array",
|
|
28236
|
+
"items": {
|
|
28237
|
+
"$ref": "PrivateVerificationTokensIssuerConfig"
|
|
28238
|
+
}
|
|
28239
|
+
}
|
|
28240
|
+
]
|
|
28241
|
+
},
|
|
28242
|
+
{
|
|
28243
|
+
"name": "clearPrivateVerificationTokens",
|
|
28244
|
+
"description": "Removes all Private Verification Tokens issued by the provided issuerOrigin.",
|
|
28245
|
+
"experimental": true,
|
|
28246
|
+
"parameters": [
|
|
28247
|
+
{
|
|
28248
|
+
"name": "issuerOrigin",
|
|
28249
|
+
"type": "string"
|
|
28250
|
+
}
|
|
28251
|
+
]
|
|
28252
|
+
},
|
|
28253
|
+
{
|
|
28254
|
+
"name": "deletePrivateVerificationToken",
|
|
28255
|
+
"description": "Removes a specific Private Verification Token by its ID.",
|
|
28256
|
+
"experimental": true,
|
|
28257
|
+
"parameters": [
|
|
28258
|
+
{
|
|
28259
|
+
"name": "tokenId",
|
|
28260
|
+
"type": "string"
|
|
28261
|
+
}
|
|
28262
|
+
]
|
|
28263
|
+
},
|
|
28264
|
+
{
|
|
28265
|
+
"name": "setPrivateVerificationTokensTracking",
|
|
28266
|
+
"description": "Set tracking for Private Verification Tokens.",
|
|
28267
|
+
"experimental": true,
|
|
28268
|
+
"parameters": [
|
|
28269
|
+
{
|
|
28270
|
+
"name": "enable",
|
|
28271
|
+
"type": "boolean"
|
|
28272
|
+
}
|
|
28273
|
+
]
|
|
28274
|
+
},
|
|
27970
28275
|
{
|
|
27971
28276
|
"name": "setStorageBucketTracking",
|
|
27972
28277
|
"description": "Set tracking for a storage key's buckets.",
|
|
@@ -28006,20 +28311,6 @@
|
|
|
28006
28311
|
}
|
|
28007
28312
|
}
|
|
28008
28313
|
]
|
|
28009
|
-
},
|
|
28010
|
-
{
|
|
28011
|
-
"name": "getRelatedWebsiteSets",
|
|
28012
|
-
"description": "Returns the effective Related Website Sets in use by this profile for the browser\nsession. The effective Related Website Sets will not change during a browser session.",
|
|
28013
|
-
"experimental": true,
|
|
28014
|
-
"returns": [
|
|
28015
|
-
{
|
|
28016
|
-
"name": "sets",
|
|
28017
|
-
"type": "array",
|
|
28018
|
-
"items": {
|
|
28019
|
-
"$ref": "RelatedWebsiteSet"
|
|
28020
|
-
}
|
|
28021
|
-
}
|
|
28022
|
-
]
|
|
28023
28314
|
}
|
|
28024
28315
|
],
|
|
28025
28316
|
"events": [
|
|
@@ -28139,6 +28430,11 @@
|
|
|
28139
28430
|
"type": "string"
|
|
28140
28431
|
}
|
|
28141
28432
|
]
|
|
28433
|
+
},
|
|
28434
|
+
{
|
|
28435
|
+
"name": "privateVerificationTokensUpdated",
|
|
28436
|
+
"description": "Private Verification Tokens have been stored or deleted.",
|
|
28437
|
+
"experimental": true
|
|
28142
28438
|
}
|
|
28143
28439
|
]
|
|
28144
28440
|
},
|
|
@@ -30571,6 +30867,12 @@
|
|
|
30571
30867
|
"optional": true,
|
|
30572
30868
|
"type": "boolean"
|
|
30573
30869
|
},
|
|
30870
|
+
{
|
|
30871
|
+
"name": "debugging",
|
|
30872
|
+
"description": "If true, indicates that the tool is intended for debugging and developer tooling rather than end-user interactions.",
|
|
30873
|
+
"optional": true,
|
|
30874
|
+
"type": "boolean"
|
|
30875
|
+
},
|
|
30574
30876
|
{
|
|
30575
30877
|
"name": "autosubmit",
|
|
30576
30878
|
"description": "If the declarative tool was declared with the autosubmit attribute.",
|
package/package.json
CHANGED
|
@@ -143,8 +143,12 @@ experimental domain Animation
|
|
|
143
143
|
parameters
|
|
144
144
|
# List of animation ids to seek.
|
|
145
145
|
array of string animations
|
|
146
|
-
# Set
|
|
147
|
-
number currentTime
|
|
146
|
+
# Set each animation to the same time.
|
|
147
|
+
optional number currentTime
|
|
148
|
+
# Set each animation to a different time. If set, should have the same
|
|
149
|
+
# length as animations. Exactly one of currentTime or currentTimes should
|
|
150
|
+
# be set.
|
|
151
|
+
optional array of number currentTimes
|
|
148
152
|
|
|
149
153
|
# Sets the paused state of a set of animations.
|
|
150
154
|
command setPaused
|
package/pdl/domains/Audits.pdl
CHANGED
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -845,6 +845,37 @@ domain DOM
|
|
|
845
845
|
# If true, opens and holds interest. If false, releases forced interest.
|
|
846
846
|
boolean enable
|
|
847
847
|
|
|
848
|
+
# Sets a spelling or grammar error marker on the given range of text.
|
|
849
|
+
# See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
850
|
+
# Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
851
|
+
# to identify the node.
|
|
852
|
+
experimental command setTextMarker
|
|
853
|
+
parameters
|
|
854
|
+
# Identifier of the node.
|
|
855
|
+
optional NodeId nodeId
|
|
856
|
+
# Identifier of the backend node.
|
|
857
|
+
optional BackendNodeId backendNodeId
|
|
858
|
+
# JavaScript object id of the node wrapper.
|
|
859
|
+
optional Runtime.RemoteObjectId objectId
|
|
860
|
+
# The type of marker to set on the given range of text.
|
|
861
|
+
enum type
|
|
862
|
+
# A spelling error marker, rendered as ::spelling-error
|
|
863
|
+
spelling
|
|
864
|
+
# A grammar error marker, rendered as ::grammar-error
|
|
865
|
+
grammar
|
|
866
|
+
# Start offset into the element's rendered text in UTF-16 code units.
|
|
867
|
+
# For a text control, an offset into the control's value.
|
|
868
|
+
# Offsets count text in DOM order and do not enter shadow trees.
|
|
869
|
+
# To mark text inside a shadow tree, pass the element inside the shadow tree.
|
|
870
|
+
integer start
|
|
871
|
+
# End offset (exclusive) in the same units and space as start.
|
|
872
|
+
integer end
|
|
873
|
+
|
|
874
|
+
# Clears the spelling and grammar error text markers overlapping the ranges
|
|
875
|
+
# set by setTextMarker in this session. These markers are also removed when
|
|
876
|
+
# the DOM domain is disabled or the session ends.
|
|
877
|
+
experimental command clearTextMarkers
|
|
878
|
+
|
|
848
879
|
# Fired when `Element`'s attribute is modified.
|
|
849
880
|
event attributeModified
|
|
850
881
|
parameters
|
|
@@ -330,6 +330,14 @@ domain Emulation
|
|
|
330
330
|
# Restores the default viewport meta behavior (disabled on desktop,
|
|
331
331
|
# enabled on mobile).
|
|
332
332
|
default
|
|
333
|
+
# Text layout mode. Default: `default`. Note: if `mobile` is `true`,
|
|
334
|
+
# mobile text layout mode (text autosizing) is always enabled.
|
|
335
|
+
experimental optional enum textLayoutMode
|
|
336
|
+
# Enables mobile text layout mode (text autosizing / CSS text-size-adjust).
|
|
337
|
+
mobile
|
|
338
|
+
# Restores the default text layout mode behavior (disabled on desktop,
|
|
339
|
+
# enabled on mobile).
|
|
340
|
+
default
|
|
333
341
|
|
|
334
342
|
# Start reporting the given posture value to the Device Posture API.
|
|
335
343
|
# This override can also be set in setDeviceMetricsOverride().
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -630,9 +630,6 @@ domain Network
|
|
|
630
630
|
UserPreferences
|
|
631
631
|
# The cookie was blocked due to third-party cookie phaseout.
|
|
632
632
|
ThirdPartyPhaseout
|
|
633
|
-
# The cookie was blocked by third-party cookie blocking between sites in
|
|
634
|
-
# the same First-Party Set.
|
|
635
|
-
ThirdPartyBlockedInFirstPartySet
|
|
636
633
|
# The syntax of the Set-Cookie header of the response was invalid.
|
|
637
634
|
SyntaxError
|
|
638
635
|
# The scheme of the connection is not allowed to store cookies.
|
|
@@ -699,9 +696,6 @@ domain Network
|
|
|
699
696
|
UserPreferences
|
|
700
697
|
# The cookie was blocked due to third-party cookie phaseout.
|
|
701
698
|
ThirdPartyPhaseout
|
|
702
|
-
# The cookie was blocked by third-party cookie blocking between sites in
|
|
703
|
-
# the same First-Party Set.
|
|
704
|
-
ThirdPartyBlockedInFirstPartySet
|
|
705
699
|
# An unknown error was encountered when trying to send this cookie.
|
|
706
700
|
UnknownError
|
|
707
701
|
# The cookie had the "SameSite=Strict" attribute but came from a response
|