devtools-protocol 0.0.982238 → 0.0.995510
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 +135 -35
- package/json/js_protocol.json +95 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +90 -30
- package/pdl/js_protocol.pdl +57 -1
- package/types/protocol-mapping.d.ts +15 -0
- package/types/protocol-proxy-api.d.ts +14 -0
- package/types/protocol.d.ts +131 -30
@@ -1441,16 +1441,10 @@
|
|
1441
1441
|
"enum": [
|
1442
1442
|
"PermissionPolicyDisabled",
|
1443
1443
|
"InvalidAttributionSourceEventId",
|
1444
|
-
"InvalidAttributionData",
|
1445
1444
|
"AttributionSourceUntrustworthyOrigin",
|
1446
1445
|
"AttributionUntrustworthyOrigin",
|
1447
|
-
"AttributionTriggerDataTooLarge",
|
1448
|
-
"AttributionEventSourceTriggerDataTooLarge",
|
1449
1446
|
"InvalidAttributionSourceExpiry",
|
1450
|
-
"InvalidAttributionSourcePriority"
|
1451
|
-
"InvalidEventSourceTriggerData",
|
1452
|
-
"InvalidTriggerPriority",
|
1453
|
-
"InvalidTriggerDedupKey"
|
1447
|
+
"InvalidAttributionSourcePriority"
|
1454
1448
|
]
|
1455
1449
|
},
|
1456
1450
|
{
|
@@ -1551,6 +1545,43 @@
|
|
1551
1545
|
}
|
1552
1546
|
]
|
1553
1547
|
},
|
1548
|
+
{
|
1549
|
+
"id": "DeprecationIssueType",
|
1550
|
+
"type": "string",
|
1551
|
+
"enum": [
|
1552
|
+
"AuthorizationCoveredByWildcard",
|
1553
|
+
"CookieWithTruncatingChar",
|
1554
|
+
"CrossOriginAccessBasedOnDocumentDomain",
|
1555
|
+
"CrossOriginWindowAlert",
|
1556
|
+
"CrossOriginWindowConfirm",
|
1557
|
+
"DeprecationExample",
|
1558
|
+
"DocumentDomainSettingWithoutOriginAgentClusterHeader",
|
1559
|
+
"GeolocationInsecureOrigin",
|
1560
|
+
"GeolocationInsecureOriginDeprecatedNotRemoved",
|
1561
|
+
"GetUserMediaInsecureOrigin",
|
1562
|
+
"LegacyConstraintGoogCpuOveruseDetection",
|
1563
|
+
"LegacyConstraintGoogIPv6",
|
1564
|
+
"LegacyConstraintGoogScreencastMinBitrate",
|
1565
|
+
"LegacyConstraintGoogSuspendBelowMinBitrate",
|
1566
|
+
"LocalCSSFileExtensionRejected",
|
1567
|
+
"NotificationInsecureOrigin",
|
1568
|
+
"ObsoleteWebRtcCipherSuite",
|
1569
|
+
"PictureSourceSrc",
|
1570
|
+
"PrefixedCancelAnimationFrame",
|
1571
|
+
"PrefixedRequestAnimationFrame",
|
1572
|
+
"RTCConstraintEnableDtlsSrtpFalse",
|
1573
|
+
"RTCConstraintEnableDtlsSrtpTrue",
|
1574
|
+
"RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics",
|
1575
|
+
"RTCPeerConnectionLegacyCreateWithMediaConstraints",
|
1576
|
+
"RTPDataChannel",
|
1577
|
+
"SharedArrayBufferConstructedWithoutIsolation",
|
1578
|
+
"Untranslated",
|
1579
|
+
"V8SharedArrayBufferConstructedInExtensionWithoutIsolation",
|
1580
|
+
"WebCodecsVideoFrameDefaultTimestamp",
|
1581
|
+
"XHRJSONEncodingDetection",
|
1582
|
+
"XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload"
|
1583
|
+
]
|
1584
|
+
},
|
1554
1585
|
{
|
1555
1586
|
"id": "DeprecationIssueDetails",
|
1556
1587
|
"description": "This issue tracks information needed to print a deprecation message.\nThe formatting is inherited from the old console.log version, see more at:\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc\nTODO(crbug.com/1264960): Re-work format to add i18n support per:\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md",
|
@@ -1576,7 +1607,12 @@
|
|
1576
1607
|
"name": "deprecationType",
|
1577
1608
|
"description": "The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.",
|
1578
1609
|
"deprecated": true,
|
1610
|
+
"optional": true,
|
1579
1611
|
"type": "string"
|
1612
|
+
},
|
1613
|
+
{
|
1614
|
+
"name": "type",
|
1615
|
+
"$ref": "DeprecationIssueType"
|
1580
1616
|
}
|
1581
1617
|
]
|
1582
1618
|
},
|
@@ -1605,6 +1641,11 @@
|
|
1605
1641
|
"enum": [
|
1606
1642
|
"ApprovalDeclined",
|
1607
1643
|
"TooManyRequests",
|
1644
|
+
"ManifestListHttpNotFound",
|
1645
|
+
"ManifestListNoResponse",
|
1646
|
+
"ManifestListInvalidResponse",
|
1647
|
+
"ManifestNotInManifestList",
|
1648
|
+
"ManifestListTooBig",
|
1608
1649
|
"ManifestHttpNotFound",
|
1609
1650
|
"ManifestNoResponse",
|
1610
1651
|
"ManifestInvalidResponse",
|
@@ -7781,6 +7822,16 @@
|
|
7781
7822
|
{
|
7782
7823
|
"name": "mobile",
|
7783
7824
|
"type": "boolean"
|
7825
|
+
},
|
7826
|
+
{
|
7827
|
+
"name": "bitness",
|
7828
|
+
"optional": true,
|
7829
|
+
"type": "string"
|
7830
|
+
},
|
7831
|
+
{
|
7832
|
+
"name": "wow64",
|
7833
|
+
"optional": true,
|
7834
|
+
"type": "boolean"
|
7784
7835
|
}
|
7785
7836
|
]
|
7786
7837
|
},
|
@@ -14924,13 +14975,16 @@
|
|
14924
14975
|
"ambient-light-sensor",
|
14925
14976
|
"attribution-reporting",
|
14926
14977
|
"autoplay",
|
14978
|
+
"browsing-topics",
|
14927
14979
|
"camera",
|
14928
14980
|
"ch-dpr",
|
14929
14981
|
"ch-device-memory",
|
14930
14982
|
"ch-downlink",
|
14931
14983
|
"ch-ect",
|
14984
|
+
"ch-partitioned-cookies",
|
14932
14985
|
"ch-prefers-color-scheme",
|
14933
14986
|
"ch-rtt",
|
14987
|
+
"ch-save-data",
|
14934
14988
|
"ch-ua",
|
14935
14989
|
"ch-ua-arch",
|
14936
14990
|
"ch-ua-bitness",
|
@@ -14946,7 +15000,6 @@
|
|
14946
15000
|
"ch-viewport-height",
|
14947
15001
|
"ch-viewport-width",
|
14948
15002
|
"ch-width",
|
14949
|
-
"ch-partitioned-cookies",
|
14950
15003
|
"clipboard-read",
|
14951
15004
|
"clipboard-write",
|
14952
15005
|
"cross-origin-isolated",
|
@@ -14964,6 +15017,7 @@
|
|
14964
15017
|
"gyroscope",
|
14965
15018
|
"hid",
|
14966
15019
|
"idle-detection",
|
15020
|
+
"interest-cohort",
|
14967
15021
|
"join-ad-interest-group",
|
14968
15022
|
"keyboard-map",
|
14969
15023
|
"magnetometer",
|
@@ -15638,12 +15692,6 @@
|
|
15638
15692
|
"description": "The fantasy font-family.",
|
15639
15693
|
"optional": true,
|
15640
15694
|
"type": "string"
|
15641
|
-
},
|
15642
|
-
{
|
15643
|
-
"name": "pictograph",
|
15644
|
-
"description": "The pictograph font-family.",
|
15645
|
-
"optional": true,
|
15646
|
-
"type": "string"
|
15647
15695
|
}
|
15648
15696
|
]
|
15649
15697
|
},
|
@@ -15816,7 +15864,6 @@
|
|
15816
15864
|
"JavaScriptExecution",
|
15817
15865
|
"RendererProcessKilled",
|
15818
15866
|
"RendererProcessCrashed",
|
15819
|
-
"GrantedMediaStreamAccess",
|
15820
15867
|
"SchedulerTrackedFeatureUsed",
|
15821
15868
|
"ConflictingBrowsingInstance",
|
15822
15869
|
"CacheFlushed",
|
@@ -15843,7 +15890,6 @@
|
|
15843
15890
|
"ForegroundCacheLimit",
|
15844
15891
|
"BrowsingInstanceNotSwapped",
|
15845
15892
|
"BackForwardCacheDisabledForDelegate",
|
15846
|
-
"OptInUnloadHeaderNotPresent",
|
15847
15893
|
"UnloadHandlerExistsInMainFrame",
|
15848
15894
|
"UnloadHandlerExistsInSubFrame",
|
15849
15895
|
"ServiceWorkerUnregistration",
|
@@ -15854,6 +15900,7 @@
|
|
15854
15900
|
"Unknown",
|
15855
15901
|
"ActivationNavigationsDisallowedForBug1234857",
|
15856
15902
|
"ErrorDocument",
|
15903
|
+
"FencedFramesEmbedder",
|
15857
15904
|
"WebSocket",
|
15858
15905
|
"WebTransport",
|
15859
15906
|
"WebRTC",
|
@@ -15987,6 +16034,14 @@
|
|
15987
16034
|
}
|
15988
16035
|
}
|
15989
16036
|
]
|
16037
|
+
},
|
16038
|
+
{
|
16039
|
+
"id": "PrerenderFinalStatus",
|
16040
|
+
"description": "List of FinalStatus reasons for Prerender2.",
|
16041
|
+
"type": "string",
|
16042
|
+
"enum": [
|
16043
|
+
"Activated"
|
16044
|
+
]
|
15990
16045
|
}
|
15991
16046
|
],
|
15992
16047
|
"commands": [
|
@@ -16301,19 +16356,19 @@
|
|
16301
16356
|
"returns": [
|
16302
16357
|
{
|
16303
16358
|
"name": "layoutViewport",
|
16304
|
-
"description": "Deprecated metrics relating to the layout viewport.
|
16359
|
+
"description": "Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.",
|
16305
16360
|
"deprecated": true,
|
16306
16361
|
"$ref": "LayoutViewport"
|
16307
16362
|
},
|
16308
16363
|
{
|
16309
16364
|
"name": "visualViewport",
|
16310
|
-
"description": "Deprecated metrics relating to the visual viewport.
|
16365
|
+
"description": "Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.",
|
16311
16366
|
"deprecated": true,
|
16312
16367
|
"$ref": "VisualViewport"
|
16313
16368
|
},
|
16314
16369
|
{
|
16315
16370
|
"name": "contentSize",
|
16316
|
-
"description": "Deprecated size of scrollable area.
|
16371
|
+
"description": "Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.",
|
16317
16372
|
"deprecated": true,
|
16318
16373
|
"$ref": "DOM.Rect"
|
16319
16374
|
},
|
@@ -16547,16 +16602,10 @@
|
|
16547
16602
|
},
|
16548
16603
|
{
|
16549
16604
|
"name": "pageRanges",
|
16550
|
-
"description": "Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
16605
|
+
"description": "Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are\nprinted in the document order, not in the order specified, and no\nmore than once.\nDefaults to empty string, which implies the entire document is printed.\nThe page numbers are quietly capped to actual page count of the\ndocument, and ranges beyond the end of the document are ignored.\nIf this results in no pages to print, an error is reported.\nIt is an error to specify a range with start greater than end.",
|
16551
16606
|
"optional": true,
|
16552
16607
|
"type": "string"
|
16553
16608
|
},
|
16554
|
-
{
|
16555
|
-
"name": "ignoreInvalidPageRanges",
|
16556
|
-
"description": "Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.\nDefaults to false.",
|
16557
|
-
"optional": true,
|
16558
|
-
"type": "boolean"
|
16559
|
-
},
|
16560
16609
|
{
|
16561
16610
|
"name": "headerTemplate",
|
16562
16611
|
"description": "HTML template for the print header. Should be valid HTML markup with following\nclasses used to inject printing values into them:\n- `date`: formatted print date\n- `title`: document title\n- `url`: document location\n- `pageNumber`: current page number\n- `totalPages`: total pages in the document\n\nFor example, `<span class=title></span>` would generate span containing the title.",
|
@@ -17533,6 +17582,25 @@
|
|
17533
17582
|
}
|
17534
17583
|
]
|
17535
17584
|
},
|
17585
|
+
{
|
17586
|
+
"name": "prerenderAttemptCompleted",
|
17587
|
+
"description": "Fired when a prerender attempt is completed.",
|
17588
|
+
"parameters": [
|
17589
|
+
{
|
17590
|
+
"name": "initiatingFrameId",
|
17591
|
+
"description": "The frame id of the frame initiating prerendering.",
|
17592
|
+
"$ref": "FrameId"
|
17593
|
+
},
|
17594
|
+
{
|
17595
|
+
"name": "prerenderingUrl",
|
17596
|
+
"type": "string"
|
17597
|
+
},
|
17598
|
+
{
|
17599
|
+
"name": "finalStatus",
|
17600
|
+
"$ref": "PrerenderFinalStatus"
|
17601
|
+
}
|
17602
|
+
]
|
17603
|
+
},
|
17536
17604
|
{
|
17537
17605
|
"name": "loadEventFired",
|
17538
17606
|
"parameters": [
|
@@ -21553,23 +21621,55 @@
|
|
21553
21621
|
}
|
21554
21622
|
]
|
21555
21623
|
},
|
21624
|
+
{
|
21625
|
+
"id": "PlayerErrorSourceLocation",
|
21626
|
+
"description": "Represents logged source line numbers reported in an error.\nNOTE: file and line are from chromium c++ implementation code, not js.",
|
21627
|
+
"type": "object",
|
21628
|
+
"properties": [
|
21629
|
+
{
|
21630
|
+
"name": "file",
|
21631
|
+
"type": "string"
|
21632
|
+
},
|
21633
|
+
{
|
21634
|
+
"name": "line",
|
21635
|
+
"type": "integer"
|
21636
|
+
}
|
21637
|
+
]
|
21638
|
+
},
|
21556
21639
|
{
|
21557
21640
|
"id": "PlayerError",
|
21558
21641
|
"description": "Corresponds to kMediaError",
|
21559
21642
|
"type": "object",
|
21560
21643
|
"properties": [
|
21561
21644
|
{
|
21562
|
-
"name": "
|
21563
|
-
"type": "string"
|
21564
|
-
"enum": [
|
21565
|
-
"pipeline_error",
|
21566
|
-
"media_error"
|
21567
|
-
]
|
21645
|
+
"name": "errorType",
|
21646
|
+
"type": "string"
|
21568
21647
|
},
|
21569
21648
|
{
|
21570
|
-
"name": "
|
21571
|
-
"description": "
|
21572
|
-
"type": "
|
21649
|
+
"name": "code",
|
21650
|
+
"description": "Code is the numeric enum entry for a specific set of error codes, such\nas PipelineStatusCodes in media/base/pipeline_status.h",
|
21651
|
+
"type": "integer"
|
21652
|
+
},
|
21653
|
+
{
|
21654
|
+
"name": "stack",
|
21655
|
+
"description": "A trace of where this error was caused / where it passed through.",
|
21656
|
+
"type": "array",
|
21657
|
+
"items": {
|
21658
|
+
"$ref": "PlayerErrorSourceLocation"
|
21659
|
+
}
|
21660
|
+
},
|
21661
|
+
{
|
21662
|
+
"name": "cause",
|
21663
|
+
"description": "Errors potentially have a root cause error, ie, a DecoderError might be\ncaused by an WindowsError",
|
21664
|
+
"type": "array",
|
21665
|
+
"items": {
|
21666
|
+
"$ref": "PlayerError"
|
21667
|
+
}
|
21668
|
+
},
|
21669
|
+
{
|
21670
|
+
"name": "data",
|
21671
|
+
"description": "Extra data attached to an error, such as an HRESULT, Video Codec, etc.",
|
21672
|
+
"type": "object"
|
21573
21673
|
}
|
21574
21674
|
]
|
21575
21675
|
}
|
package/json/js_protocol.json
CHANGED
@@ -205,7 +205,8 @@
|
|
205
205
|
},
|
206
206
|
{
|
207
207
|
"name": "url",
|
208
|
-
"description": "JavaScript script name or url.",
|
208
|
+
"description": "JavaScript script name or url.\nDeprecated in favor of using the `location.scriptId` to resolve the URL via a previously\nsent `Debugger.scriptParsed` event.",
|
209
|
+
"deprecated": true,
|
209
210
|
"type": "string"
|
210
211
|
},
|
211
212
|
{
|
@@ -226,6 +227,13 @@
|
|
226
227
|
"description": "The value being returned, if the function is at return point.",
|
227
228
|
"optional": true,
|
228
229
|
"$ref": "Runtime.RemoteObject"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"name": "canBeRestarted",
|
233
|
+
"description": "Valid only while the VM is paused and indicates whether this frame\ncan be restarted or not. Note that a `true` value here does not\nguarantee that Debugger#restartFrame with this CallFrameId will be\nsuccessful, but it is very likely.",
|
234
|
+
"experimental": true,
|
235
|
+
"optional": true,
|
236
|
+
"type": "boolean"
|
229
237
|
}
|
230
238
|
]
|
231
239
|
},
|
@@ -2095,6 +2103,52 @@
|
|
2095
2103
|
"description": "Unique script identifier.",
|
2096
2104
|
"type": "string"
|
2097
2105
|
},
|
2106
|
+
{
|
2107
|
+
"id": "WebDriverValue",
|
2108
|
+
"description": "Represents the value serialiazed by the WebDriver BiDi specification\nhttps://w3c.github.io/webdriver-bidi.",
|
2109
|
+
"type": "object",
|
2110
|
+
"properties": [
|
2111
|
+
{
|
2112
|
+
"name": "type",
|
2113
|
+
"type": "string",
|
2114
|
+
"enum": [
|
2115
|
+
"undefined",
|
2116
|
+
"null",
|
2117
|
+
"string",
|
2118
|
+
"number",
|
2119
|
+
"boolean",
|
2120
|
+
"bigint",
|
2121
|
+
"regexp",
|
2122
|
+
"date",
|
2123
|
+
"symbol",
|
2124
|
+
"array",
|
2125
|
+
"object",
|
2126
|
+
"function",
|
2127
|
+
"map",
|
2128
|
+
"set",
|
2129
|
+
"weakmap",
|
2130
|
+
"weakset",
|
2131
|
+
"error",
|
2132
|
+
"proxy",
|
2133
|
+
"promise",
|
2134
|
+
"typedarray",
|
2135
|
+
"arraybuffer",
|
2136
|
+
"node",
|
2137
|
+
"window"
|
2138
|
+
]
|
2139
|
+
},
|
2140
|
+
{
|
2141
|
+
"name": "value",
|
2142
|
+
"optional": true,
|
2143
|
+
"type": "any"
|
2144
|
+
},
|
2145
|
+
{
|
2146
|
+
"name": "objectId",
|
2147
|
+
"optional": true,
|
2148
|
+
"type": "string"
|
2149
|
+
}
|
2150
|
+
]
|
2151
|
+
},
|
2098
2152
|
{
|
2099
2153
|
"id": "RemoteObjectId",
|
2100
2154
|
"description": "Unique object identifier.",
|
@@ -2176,6 +2230,13 @@
|
|
2176
2230
|
"optional": true,
|
2177
2231
|
"type": "string"
|
2178
2232
|
},
|
2233
|
+
{
|
2234
|
+
"name": "webDriverValue",
|
2235
|
+
"description": "WebDriver BiDi representation of the value.",
|
2236
|
+
"experimental": true,
|
2237
|
+
"optional": true,
|
2238
|
+
"$ref": "WebDriverValue"
|
2239
|
+
},
|
2179
2240
|
{
|
2180
2241
|
"name": "objectId",
|
2181
2242
|
"description": "Unique object identifier (for non-primitive values).",
|
@@ -2829,6 +2890,13 @@
|
|
2829
2890
|
"experimental": true,
|
2830
2891
|
"optional": true,
|
2831
2892
|
"type": "boolean"
|
2893
|
+
},
|
2894
|
+
{
|
2895
|
+
"name": "generateWebDriverValue",
|
2896
|
+
"description": "Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.",
|
2897
|
+
"experimental": true,
|
2898
|
+
"optional": true,
|
2899
|
+
"type": "boolean"
|
2832
2900
|
}
|
2833
2901
|
],
|
2834
2902
|
"returns": [
|
@@ -2997,6 +3065,13 @@
|
|
2997
3065
|
"experimental": true,
|
2998
3066
|
"optional": true,
|
2999
3067
|
"type": "string"
|
3068
|
+
},
|
3069
|
+
{
|
3070
|
+
"name": "generateWebDriverValue",
|
3071
|
+
"description": "Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.",
|
3072
|
+
"experimental": true,
|
3073
|
+
"optional": true,
|
3074
|
+
"type": "boolean"
|
3000
3075
|
}
|
3001
3076
|
],
|
3002
3077
|
"returns": [
|
@@ -3323,6 +3398,25 @@
|
|
3323
3398
|
"type": "string"
|
3324
3399
|
}
|
3325
3400
|
]
|
3401
|
+
},
|
3402
|
+
{
|
3403
|
+
"name": "getExceptionDetails",
|
3404
|
+
"description": "This method tries to lookup and populate exception details for a\nJavaScript Error object.\nNote that the stackTrace portion of the resulting exceptionDetails will\nonly be populated if the Runtime domain was enabled at the time when the\nError was thrown.",
|
3405
|
+
"experimental": true,
|
3406
|
+
"parameters": [
|
3407
|
+
{
|
3408
|
+
"name": "errorObjectId",
|
3409
|
+
"description": "The error object for which to resolve the exception details.",
|
3410
|
+
"$ref": "RemoteObjectId"
|
3411
|
+
}
|
3412
|
+
],
|
3413
|
+
"returns": [
|
3414
|
+
{
|
3415
|
+
"name": "exceptionDetails",
|
3416
|
+
"optional": true,
|
3417
|
+
"$ref": "ExceptionDetails"
|
3418
|
+
}
|
3419
|
+
]
|
3326
3420
|
}
|
3327
3421
|
],
|
3328
3422
|
"events": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -698,16 +698,10 @@ experimental domain Audits
|
|
698
698
|
enum
|
699
699
|
PermissionPolicyDisabled
|
700
700
|
InvalidAttributionSourceEventId
|
701
|
-
InvalidAttributionData
|
702
701
|
AttributionSourceUntrustworthyOrigin
|
703
702
|
AttributionUntrustworthyOrigin
|
704
|
-
AttributionTriggerDataTooLarge
|
705
|
-
AttributionEventSourceTriggerDataTooLarge
|
706
703
|
InvalidAttributionSourceExpiry
|
707
704
|
InvalidAttributionSourcePriority
|
708
|
-
InvalidEventSourceTriggerData
|
709
|
-
InvalidTriggerPriority
|
710
|
-
InvalidTriggerDedupKey
|
711
705
|
|
712
706
|
# Details for issues around "Attribution Reporting API" usage.
|
713
707
|
# Explainer: https://github.com/WICG/conversion-measurement-api
|
@@ -747,6 +741,40 @@ experimental domain Audits
|
|
747
741
|
GenericIssueErrorType errorType
|
748
742
|
optional Page.FrameId frameId
|
749
743
|
|
744
|
+
type DeprecationIssueType extends string
|
745
|
+
enum
|
746
|
+
AuthorizationCoveredByWildcard
|
747
|
+
CookieWithTruncatingChar
|
748
|
+
CrossOriginAccessBasedOnDocumentDomain
|
749
|
+
CrossOriginWindowAlert
|
750
|
+
CrossOriginWindowConfirm
|
751
|
+
DeprecationExample
|
752
|
+
DocumentDomainSettingWithoutOriginAgentClusterHeader
|
753
|
+
GeolocationInsecureOrigin
|
754
|
+
GeolocationInsecureOriginDeprecatedNotRemoved
|
755
|
+
GetUserMediaInsecureOrigin
|
756
|
+
LegacyConstraintGoogCpuOveruseDetection
|
757
|
+
LegacyConstraintGoogIPv6
|
758
|
+
LegacyConstraintGoogScreencastMinBitrate
|
759
|
+
LegacyConstraintGoogSuspendBelowMinBitrate
|
760
|
+
LocalCSSFileExtensionRejected
|
761
|
+
NotificationInsecureOrigin
|
762
|
+
ObsoleteWebRtcCipherSuite
|
763
|
+
PictureSourceSrc
|
764
|
+
PrefixedCancelAnimationFrame
|
765
|
+
PrefixedRequestAnimationFrame
|
766
|
+
RTCConstraintEnableDtlsSrtpFalse
|
767
|
+
RTCConstraintEnableDtlsSrtpTrue
|
768
|
+
RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics
|
769
|
+
RTCPeerConnectionLegacyCreateWithMediaConstraints
|
770
|
+
RTPDataChannel
|
771
|
+
SharedArrayBufferConstructedWithoutIsolation
|
772
|
+
Untranslated
|
773
|
+
V8SharedArrayBufferConstructedInExtensionWithoutIsolation
|
774
|
+
WebCodecsVideoFrameDefaultTimestamp
|
775
|
+
XHRJSONEncodingDetection
|
776
|
+
XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload
|
777
|
+
|
750
778
|
# This issue tracks information needed to print a deprecation message.
|
751
779
|
# The formatting is inherited from the old console.log version, see more at:
|
752
780
|
# https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
|
@@ -763,7 +791,8 @@ experimental domain Audits
|
|
763
791
|
# https://www.chromestatus.com/feature/5684870116278272 for more details."
|
764
792
|
deprecated optional string message
|
765
793
|
# The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.
|
766
|
-
deprecated string deprecationType
|
794
|
+
deprecated optional string deprecationType
|
795
|
+
DeprecationIssueType type
|
767
796
|
|
768
797
|
type ClientHintIssueReason extends string
|
769
798
|
enum
|
@@ -786,6 +815,11 @@ experimental domain Audits
|
|
786
815
|
enum
|
787
816
|
ApprovalDeclined
|
788
817
|
TooManyRequests
|
818
|
+
ManifestListHttpNotFound
|
819
|
+
ManifestListNoResponse
|
820
|
+
ManifestListInvalidResponse
|
821
|
+
ManifestNotInManifestList
|
822
|
+
ManifestListTooBig
|
789
823
|
ManifestHttpNotFound
|
790
824
|
ManifestNoResponse
|
791
825
|
ManifestInvalidResponse
|
@@ -3539,6 +3573,8 @@ domain Emulation
|
|
3539
3573
|
string architecture
|
3540
3574
|
string model
|
3541
3575
|
boolean mobile
|
3576
|
+
optional string bitness
|
3577
|
+
optional boolean wow64
|
3542
3578
|
|
3543
3579
|
# Tells whether emulation is supported.
|
3544
3580
|
command canEmulate
|
@@ -6940,13 +6976,16 @@ domain Page
|
|
6940
6976
|
ambient-light-sensor
|
6941
6977
|
attribution-reporting
|
6942
6978
|
autoplay
|
6979
|
+
browsing-topics
|
6943
6980
|
camera
|
6944
6981
|
ch-dpr
|
6945
6982
|
ch-device-memory
|
6946
6983
|
ch-downlink
|
6947
6984
|
ch-ect
|
6985
|
+
ch-partitioned-cookies
|
6948
6986
|
ch-prefers-color-scheme
|
6949
6987
|
ch-rtt
|
6988
|
+
ch-save-data
|
6950
6989
|
ch-ua
|
6951
6990
|
ch-ua-arch
|
6952
6991
|
ch-ua-bitness
|
@@ -6962,7 +7001,6 @@ domain Page
|
|
6962
7001
|
ch-viewport-height
|
6963
7002
|
ch-viewport-width
|
6964
7003
|
ch-width
|
6965
|
-
ch-partitioned-cookies
|
6966
7004
|
clipboard-read
|
6967
7005
|
clipboard-write
|
6968
7006
|
cross-origin-isolated
|
@@ -6980,6 +7018,7 @@ domain Page
|
|
6980
7018
|
gyroscope
|
6981
7019
|
hid
|
6982
7020
|
idle-detection
|
7021
|
+
interest-cohort
|
6983
7022
|
join-ad-interest-group
|
6984
7023
|
keyboard-map
|
6985
7024
|
magnetometer
|
@@ -7286,8 +7325,6 @@ domain Page
|
|
7286
7325
|
optional string cursive
|
7287
7326
|
# The fantasy font-family.
|
7288
7327
|
optional string fantasy
|
7289
|
-
# The pictograph font-family.
|
7290
|
-
optional string pictograph
|
7291
7328
|
|
7292
7329
|
# Font families collection for a script.
|
7293
7330
|
experimental type ScriptFontFamilies extends object
|
@@ -7506,11 +7543,11 @@ domain Page
|
|
7506
7543
|
# Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
|
7507
7544
|
command getLayoutMetrics
|
7508
7545
|
returns
|
7509
|
-
# Deprecated metrics relating to the layout viewport.
|
7546
|
+
# Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.
|
7510
7547
|
deprecated LayoutViewport layoutViewport
|
7511
|
-
# Deprecated metrics relating to the visual viewport.
|
7548
|
+
# Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.
|
7512
7549
|
deprecated VisualViewport visualViewport
|
7513
|
-
# Deprecated size of scrollable area.
|
7550
|
+
# Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
|
7514
7551
|
deprecated DOM.Rect contentSize
|
7515
7552
|
# Metrics relating to the layout viewport in CSS pixels.
|
7516
7553
|
LayoutViewport cssLayoutViewport
|
@@ -7608,12 +7645,15 @@ domain Page
|
|
7608
7645
|
optional number marginLeft
|
7609
7646
|
# Right margin in inches. Defaults to 1cm (~0.4 inches).
|
7610
7647
|
optional number marginRight
|
7611
|
-
# Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
7612
|
-
#
|
7648
|
+
# Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are
|
7649
|
+
# printed in the document order, not in the order specified, and no
|
7650
|
+
# more than once.
|
7651
|
+
# Defaults to empty string, which implies the entire document is printed.
|
7652
|
+
# The page numbers are quietly capped to actual page count of the
|
7653
|
+
# document, and ranges beyond the end of the document are ignored.
|
7654
|
+
# If this results in no pages to print, an error is reported.
|
7655
|
+
# It is an error to specify a range with start greater than end.
|
7613
7656
|
optional string pageRanges
|
7614
|
-
# Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.
|
7615
|
-
# Defaults to false.
|
7616
|
-
optional boolean ignoreInvalidPageRanges
|
7617
7657
|
# HTML template for the print header. Should be valid HTML markup with following
|
7618
7658
|
# classes used to inject printing values into them:
|
7619
7659
|
# - `date`: formatted print date
|
@@ -8096,7 +8136,6 @@ domain Page
|
|
8096
8136
|
JavaScriptExecution
|
8097
8137
|
RendererProcessKilled
|
8098
8138
|
RendererProcessCrashed
|
8099
|
-
GrantedMediaStreamAccess
|
8100
8139
|
SchedulerTrackedFeatureUsed
|
8101
8140
|
ConflictingBrowsingInstance
|
8102
8141
|
CacheFlushed
|
@@ -8123,7 +8162,6 @@ domain Page
|
|
8123
8162
|
ForegroundCacheLimit
|
8124
8163
|
BrowsingInstanceNotSwapped
|
8125
8164
|
BackForwardCacheDisabledForDelegate
|
8126
|
-
OptInUnloadHeaderNotPresent
|
8127
8165
|
UnloadHandlerExistsInMainFrame
|
8128
8166
|
UnloadHandlerExistsInSubFrame
|
8129
8167
|
ServiceWorkerUnregistration
|
@@ -8134,6 +8172,7 @@ domain Page
|
|
8134
8172
|
Unknown
|
8135
8173
|
ActivationNavigationsDisallowedForBug1234857
|
8136
8174
|
ErrorDocument
|
8175
|
+
FencedFramesEmbedder
|
8137
8176
|
#Blocklisted features
|
8138
8177
|
WebSocket
|
8139
8178
|
WebTransport
|
@@ -8253,6 +8292,19 @@ domain Page
|
|
8253
8292
|
# Tree structure of reasons why the page could not be cached for each frame.
|
8254
8293
|
optional BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree
|
8255
8294
|
|
8295
|
+
# List of FinalStatus reasons for Prerender2.
|
8296
|
+
type PrerenderFinalStatus extends string
|
8297
|
+
enum
|
8298
|
+
Activated
|
8299
|
+
|
8300
|
+
# Fired when a prerender attempt is completed.
|
8301
|
+
event prerenderAttemptCompleted
|
8302
|
+
parameters
|
8303
|
+
# The frame id of the frame initiating prerendering.
|
8304
|
+
FrameId initiatingFrameId
|
8305
|
+
string prerenderingUrl
|
8306
|
+
PrerenderFinalStatus finalStatus
|
8307
|
+
|
8256
8308
|
event loadEventFired
|
8257
8309
|
parameters
|
8258
8310
|
Network.MonotonicTime timestamp
|
@@ -10114,19 +10166,27 @@ experimental domain Media
|
|
10114
10166
|
Timestamp timestamp
|
10115
10167
|
string value
|
10116
10168
|
|
10169
|
+
# Represents logged source line numbers reported in an error.
|
10170
|
+
# NOTE: file and line are from chromium c++ implementation code, not js.
|
10171
|
+
type PlayerErrorSourceLocation extends object
|
10172
|
+
properties
|
10173
|
+
string file
|
10174
|
+
integer line
|
10175
|
+
|
10117
10176
|
# Corresponds to kMediaError
|
10118
10177
|
type PlayerError extends object
|
10119
10178
|
properties
|
10120
|
-
|
10121
|
-
|
10122
|
-
|
10123
|
-
|
10124
|
-
#
|
10125
|
-
|
10126
|
-
#
|
10127
|
-
#
|
10128
|
-
|
10129
|
-
|
10179
|
+
string errorType
|
10180
|
+
# Code is the numeric enum entry for a specific set of error codes, such
|
10181
|
+
# as PipelineStatusCodes in media/base/pipeline_status.h
|
10182
|
+
integer code
|
10183
|
+
# A trace of where this error was caused / where it passed through.
|
10184
|
+
array of PlayerErrorSourceLocation stack
|
10185
|
+
# Errors potentially have a root cause error, ie, a DecoderError might be
|
10186
|
+
# caused by an WindowsError
|
10187
|
+
array of PlayerError cause
|
10188
|
+
# Extra data attached to an error, such as an HRESULT, Video Codec, etc.
|
10189
|
+
object data
|
10130
10190
|
|
10131
10191
|
# This can be called multiple times, and can be used to set / override /
|
10132
10192
|
# remove player properties. A null propValue indicates removal.
|
package/pdl/js_protocol.pdl
CHANGED
@@ -104,13 +104,20 @@ domain Debugger
|
|
104
104
|
# Location in the source code.
|
105
105
|
Location location
|
106
106
|
# JavaScript script name or url.
|
107
|
-
|
107
|
+
# Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously
|
108
|
+
# sent `Debugger.scriptParsed` event.
|
109
|
+
deprecated string url
|
108
110
|
# Scope chain for this call frame.
|
109
111
|
array of Scope scopeChain
|
110
112
|
# `this` object for this call frame.
|
111
113
|
Runtime.RemoteObject this
|
112
114
|
# The value being returned, if the function is at return point.
|
113
115
|
optional Runtime.RemoteObject returnValue
|
116
|
+
# Valid only while the VM is paused and indicates whether this frame
|
117
|
+
# can be restarted or not. Note that a `true` value here does not
|
118
|
+
# guarantee that Debugger#restartFrame with this CallFrameId will be
|
119
|
+
# successful, but it is very likely.
|
120
|
+
experimental optional boolean canBeRestarted
|
114
121
|
|
115
122
|
# Scope description.
|
116
123
|
type Scope extends object
|
@@ -950,6 +957,37 @@ domain Runtime
|
|
950
957
|
# Unique script identifier.
|
951
958
|
type ScriptId extends string
|
952
959
|
|
960
|
+
# Represents the value serialiazed by the WebDriver BiDi specification
|
961
|
+
# https://w3c.github.io/webdriver-bidi.
|
962
|
+
type WebDriverValue extends object
|
963
|
+
properties
|
964
|
+
enum type
|
965
|
+
undefined
|
966
|
+
null
|
967
|
+
string
|
968
|
+
number
|
969
|
+
boolean
|
970
|
+
bigint
|
971
|
+
regexp
|
972
|
+
date
|
973
|
+
symbol
|
974
|
+
array
|
975
|
+
object
|
976
|
+
function
|
977
|
+
map
|
978
|
+
set
|
979
|
+
weakmap
|
980
|
+
weakset
|
981
|
+
error
|
982
|
+
proxy
|
983
|
+
promise
|
984
|
+
typedarray
|
985
|
+
arraybuffer
|
986
|
+
node
|
987
|
+
window
|
988
|
+
optional any value
|
989
|
+
optional string objectId
|
990
|
+
|
953
991
|
# Unique object identifier.
|
954
992
|
type RemoteObjectId extends string
|
955
993
|
|
@@ -1002,6 +1040,8 @@ domain Runtime
|
|
1002
1040
|
optional UnserializableValue unserializableValue
|
1003
1041
|
# String representation of the object.
|
1004
1042
|
optional string description
|
1043
|
+
# WebDriver BiDi representation of the value.
|
1044
|
+
experimental optional WebDriverValue webDriverValue
|
1005
1045
|
# Unique object identifier (for non-primitive values).
|
1006
1046
|
optional RemoteObjectId objectId
|
1007
1047
|
# Preview containing abbreviated property values. Specified for `object` type values only.
|
@@ -1307,6 +1347,8 @@ domain Runtime
|
|
1307
1347
|
optional string objectGroup
|
1308
1348
|
# Whether to throw an exception if side effect cannot be ruled out during evaluation.
|
1309
1349
|
experimental optional boolean throwOnSideEffect
|
1350
|
+
# Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
|
1351
|
+
experimental optional boolean generateWebDriverValue
|
1310
1352
|
returns
|
1311
1353
|
# Call result.
|
1312
1354
|
RemoteObject result
|
@@ -1392,6 +1434,8 @@ domain Runtime
|
|
1392
1434
|
# boundaries).
|
1393
1435
|
# This is mutually exclusive with `contextId`.
|
1394
1436
|
experimental optional string uniqueContextId
|
1437
|
+
# Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
|
1438
|
+
experimental optional boolean generateWebDriverValue
|
1395
1439
|
returns
|
1396
1440
|
# Evaluation result.
|
1397
1441
|
RemoteObject result
|
@@ -1550,6 +1594,18 @@ domain Runtime
|
|
1550
1594
|
parameters
|
1551
1595
|
string name
|
1552
1596
|
|
1597
|
+
# This method tries to lookup and populate exception details for a
|
1598
|
+
# JavaScript Error object.
|
1599
|
+
# Note that the stackTrace portion of the resulting exceptionDetails will
|
1600
|
+
# only be populated if the Runtime domain was enabled at the time when the
|
1601
|
+
# Error was thrown.
|
1602
|
+
experimental command getExceptionDetails
|
1603
|
+
parameters
|
1604
|
+
# The error object for which to resolve the exception details.
|
1605
|
+
RemoteObjectId errorObjectId
|
1606
|
+
returns
|
1607
|
+
optional ExceptionDetails exceptionDetails
|
1608
|
+
|
1553
1609
|
# Notification is issued every time when binding is called.
|
1554
1610
|
experimental event bindingCalled
|
1555
1611
|
parameters
|
@@ -484,6 +484,10 @@ export namespace ProtocolMapping {
|
|
484
484
|
* when bfcache navigation fails.
|
485
485
|
*/
|
486
486
|
'Page.backForwardCacheNotUsed': [Protocol.Page.BackForwardCacheNotUsedEvent];
|
487
|
+
/**
|
488
|
+
* Fired when a prerender attempt is completed.
|
489
|
+
*/
|
490
|
+
'Page.prerenderAttemptCompleted': [Protocol.Page.PrerenderAttemptCompletedEvent];
|
487
491
|
'Page.loadEventFired': [Protocol.Page.LoadEventFiredEvent];
|
488
492
|
/**
|
489
493
|
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
@@ -1221,6 +1225,17 @@ export namespace ProtocolMapping {
|
|
1221
1225
|
paramsType: [Protocol.Runtime.RemoveBindingRequest];
|
1222
1226
|
returnType: void;
|
1223
1227
|
};
|
1228
|
+
/**
|
1229
|
+
* This method tries to lookup and populate exception details for a
|
1230
|
+
* JavaScript Error object.
|
1231
|
+
* Note that the stackTrace portion of the resulting exceptionDetails will
|
1232
|
+
* only be populated if the Runtime domain was enabled at the time when the
|
1233
|
+
* Error was thrown.
|
1234
|
+
*/
|
1235
|
+
'Runtime.getExceptionDetails': {
|
1236
|
+
paramsType: [Protocol.Runtime.GetExceptionDetailsRequest];
|
1237
|
+
returnType: Protocol.Runtime.GetExceptionDetailsResponse;
|
1238
|
+
};
|
1224
1239
|
/**
|
1225
1240
|
* Returns supported domains.
|
1226
1241
|
*/
|
@@ -553,6 +553,15 @@ export namespace ProtocolProxyApi {
|
|
553
553
|
*/
|
554
554
|
removeBinding(params: Protocol.Runtime.RemoveBindingRequest): Promise<void>;
|
555
555
|
|
556
|
+
/**
|
557
|
+
* This method tries to lookup and populate exception details for a
|
558
|
+
* JavaScript Error object.
|
559
|
+
* Note that the stackTrace portion of the resulting exceptionDetails will
|
560
|
+
* only be populated if the Runtime domain was enabled at the time when the
|
561
|
+
* Error was thrown.
|
562
|
+
*/
|
563
|
+
getExceptionDetails(params: Protocol.Runtime.GetExceptionDetailsRequest): Promise<Protocol.Runtime.GetExceptionDetailsResponse>;
|
564
|
+
|
556
565
|
/**
|
557
566
|
* Notification is issued every time when binding is called.
|
558
567
|
*/
|
@@ -3015,6 +3024,11 @@ export namespace ProtocolProxyApi {
|
|
3015
3024
|
*/
|
3016
3025
|
on(event: 'backForwardCacheNotUsed', listener: (params: Protocol.Page.BackForwardCacheNotUsedEvent) => void): void;
|
3017
3026
|
|
3027
|
+
/**
|
3028
|
+
* Fired when a prerender attempt is completed.
|
3029
|
+
*/
|
3030
|
+
on(event: 'prerenderAttemptCompleted', listener: (params: Protocol.Page.PrerenderAttemptCompletedEvent) => void): void;
|
3031
|
+
|
3018
3032
|
on(event: 'loadEventFired', listener: (params: Protocol.Page.LoadEventFiredEvent) => void): void;
|
3019
3033
|
|
3020
3034
|
/**
|
package/types/protocol.d.ts
CHANGED
@@ -151,6 +151,8 @@ export namespace Protocol {
|
|
151
151
|
location: Location;
|
152
152
|
/**
|
153
153
|
* JavaScript script name or url.
|
154
|
+
* Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously
|
155
|
+
* sent `Debugger.scriptParsed` event.
|
154
156
|
*/
|
155
157
|
url: string;
|
156
158
|
/**
|
@@ -165,6 +167,13 @@ export namespace Protocol {
|
|
165
167
|
* The value being returned, if the function is at return point.
|
166
168
|
*/
|
167
169
|
returnValue?: Runtime.RemoteObject;
|
170
|
+
/**
|
171
|
+
* Valid only while the VM is paused and indicates whether this frame
|
172
|
+
* can be restarted or not. Note that a `true` value here does not
|
173
|
+
* guarantee that Debugger#restartFrame with this CallFrameId will be
|
174
|
+
* successful, but it is very likely.
|
175
|
+
*/
|
176
|
+
canBeRestarted?: boolean;
|
168
177
|
}
|
169
178
|
|
170
179
|
export const enum ScopeType {
|
@@ -1418,6 +1427,45 @@ export namespace Protocol {
|
|
1418
1427
|
*/
|
1419
1428
|
export type ScriptId = string;
|
1420
1429
|
|
1430
|
+
export const enum WebDriverValueType {
|
1431
|
+
Undefined = 'undefined',
|
1432
|
+
Null = 'null',
|
1433
|
+
String = 'string',
|
1434
|
+
Number = 'number',
|
1435
|
+
Boolean = 'boolean',
|
1436
|
+
Bigint = 'bigint',
|
1437
|
+
Regexp = 'regexp',
|
1438
|
+
Date = 'date',
|
1439
|
+
Symbol = 'symbol',
|
1440
|
+
Array = 'array',
|
1441
|
+
Object = 'object',
|
1442
|
+
Function = 'function',
|
1443
|
+
Map = 'map',
|
1444
|
+
Set = 'set',
|
1445
|
+
Weakmap = 'weakmap',
|
1446
|
+
Weakset = 'weakset',
|
1447
|
+
Error = 'error',
|
1448
|
+
Proxy = 'proxy',
|
1449
|
+
Promise = 'promise',
|
1450
|
+
Typedarray = 'typedarray',
|
1451
|
+
Arraybuffer = 'arraybuffer',
|
1452
|
+
Node = 'node',
|
1453
|
+
Window = 'window',
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
/**
|
1457
|
+
* Represents the value serialiazed by the WebDriver BiDi specification
|
1458
|
+
* https://w3c.github.io/webdriver-bidi.
|
1459
|
+
*/
|
1460
|
+
export interface WebDriverValue {
|
1461
|
+
/**
|
1462
|
+
* (WebDriverValueType enum)
|
1463
|
+
*/
|
1464
|
+
type: ('undefined' | 'null' | 'string' | 'number' | 'boolean' | 'bigint' | 'regexp' | 'date' | 'symbol' | 'array' | 'object' | 'function' | 'map' | 'set' | 'weakmap' | 'weakset' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'node' | 'window');
|
1465
|
+
value?: any;
|
1466
|
+
objectId?: string;
|
1467
|
+
}
|
1468
|
+
|
1421
1469
|
/**
|
1422
1470
|
* Unique object identifier.
|
1423
1471
|
*/
|
@@ -1493,6 +1541,10 @@ export namespace Protocol {
|
|
1493
1541
|
* String representation of the object.
|
1494
1542
|
*/
|
1495
1543
|
description?: string;
|
1544
|
+
/**
|
1545
|
+
* WebDriver BiDi representation of the value.
|
1546
|
+
*/
|
1547
|
+
webDriverValue?: WebDriverValue;
|
1496
1548
|
/**
|
1497
1549
|
* Unique object identifier (for non-primitive values).
|
1498
1550
|
*/
|
@@ -1989,6 +2041,10 @@ export namespace Protocol {
|
|
1989
2041
|
* Whether to throw an exception if side effect cannot be ruled out during evaluation.
|
1990
2042
|
*/
|
1991
2043
|
throwOnSideEffect?: boolean;
|
2044
|
+
/**
|
2045
|
+
* Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
|
2046
|
+
*/
|
2047
|
+
generateWebDriverValue?: boolean;
|
1992
2048
|
}
|
1993
2049
|
|
1994
2050
|
export interface CallFunctionOnResponse {
|
@@ -2111,6 +2167,10 @@ export namespace Protocol {
|
|
2111
2167
|
* This is mutually exclusive with `contextId`.
|
2112
2168
|
*/
|
2113
2169
|
uniqueContextId?: string;
|
2170
|
+
/**
|
2171
|
+
* Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
|
2172
|
+
*/
|
2173
|
+
generateWebDriverValue?: boolean;
|
2114
2174
|
}
|
2115
2175
|
|
2116
2176
|
export interface EvaluateResponse {
|
@@ -2320,6 +2380,17 @@ export namespace Protocol {
|
|
2320
2380
|
name: string;
|
2321
2381
|
}
|
2322
2382
|
|
2383
|
+
export interface GetExceptionDetailsRequest {
|
2384
|
+
/**
|
2385
|
+
* The error object for which to resolve the exception details.
|
2386
|
+
*/
|
2387
|
+
errorObjectId: RemoteObjectId;
|
2388
|
+
}
|
2389
|
+
|
2390
|
+
export interface GetExceptionDetailsResponse {
|
2391
|
+
exceptionDetails?: ExceptionDetails;
|
2392
|
+
}
|
2393
|
+
|
2323
2394
|
/**
|
2324
2395
|
* Notification is issued every time when binding is called.
|
2325
2396
|
*/
|
@@ -3257,7 +3328,7 @@ export namespace Protocol {
|
|
3257
3328
|
clientSecurityState?: Network.ClientSecurityState;
|
3258
3329
|
}
|
3259
3330
|
|
3260
|
-
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'InvalidAttributionSourceEventId' | '
|
3331
|
+
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'InvalidAttributionSourceEventId' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'InvalidAttributionSourceExpiry' | 'InvalidAttributionSourcePriority');
|
3261
3332
|
|
3262
3333
|
/**
|
3263
3334
|
* Details for issues around "Attribution Reporting API" usage.
|
@@ -3305,6 +3376,8 @@ export namespace Protocol {
|
|
3305
3376
|
frameId?: Page.FrameId;
|
3306
3377
|
}
|
3307
3378
|
|
3379
|
+
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'LegacyConstraintGoogCpuOveruseDetection' | 'LegacyConstraintGoogIPv6' | 'LegacyConstraintGoogScreencastMinBitrate' | 'LegacyConstraintGoogSuspendBelowMinBitrate' | 'LocalCSSFileExtensionRejected' | 'NotificationInsecureOrigin' | 'ObsoleteWebRtcCipherSuite' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionLegacyCreateWithMediaConstraints' | 'RTPDataChannel' | 'SharedArrayBufferConstructedWithoutIsolation' | 'Untranslated' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'WebCodecsVideoFrameDefaultTimestamp' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload');
|
3380
|
+
|
3308
3381
|
/**
|
3309
3382
|
* This issue tracks information needed to print a deprecation message.
|
3310
3383
|
* The formatting is inherited from the old console.log version, see more at:
|
@@ -3326,7 +3399,8 @@ export namespace Protocol {
|
|
3326
3399
|
/**
|
3327
3400
|
* The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.
|
3328
3401
|
*/
|
3329
|
-
deprecationType
|
3402
|
+
deprecationType?: string;
|
3403
|
+
type: DeprecationIssueType;
|
3330
3404
|
}
|
3331
3405
|
|
3332
3406
|
export type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
|
@@ -3341,7 +3415,7 @@ export namespace Protocol {
|
|
3341
3415
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3342
3416
|
* all cases except for success.
|
3343
3417
|
*/
|
3344
|
-
export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataMissingPrivacyPolicyUrl' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
|
3418
|
+
export type FederatedAuthRequestIssueReason = ('ApprovalDeclined' | 'TooManyRequests' | 'ManifestListHttpNotFound' | 'ManifestListNoResponse' | 'ManifestListInvalidResponse' | 'ManifestNotInManifestList' | 'ManifestListTooBig' | 'ManifestHttpNotFound' | 'ManifestNoResponse' | 'ManifestInvalidResponse' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataMissingPrivacyPolicyUrl' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'ErrorIdToken' | 'Canceled');
|
3345
3419
|
|
3346
3420
|
/**
|
3347
3421
|
* This issue tracks client hints related issues. It's used to deprecate old
|
@@ -7265,6 +7339,8 @@ export namespace Protocol {
|
|
7265
7339
|
architecture: string;
|
7266
7340
|
model: string;
|
7267
7341
|
mobile: boolean;
|
7342
|
+
bitness?: string;
|
7343
|
+
wow64?: boolean;
|
7268
7344
|
}
|
7269
7345
|
|
7270
7346
|
/**
|
@@ -12009,7 +12085,7 @@ export namespace Protocol {
|
|
12009
12085
|
* All Permissions Policy features. This enum should match the one defined
|
12010
12086
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
12011
12087
|
*/
|
12012
|
-
export 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' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | '
|
12088
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-partitioned-cookies' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | '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' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
12013
12089
|
|
12014
12090
|
/**
|
12015
12091
|
* Reason for a permissions policy feature to be disabled.
|
@@ -12417,10 +12493,6 @@ export namespace Protocol {
|
|
12417
12493
|
* The fantasy font-family.
|
12418
12494
|
*/
|
12419
12495
|
fantasy?: string;
|
12420
|
-
/**
|
12421
|
-
* The pictograph font-family.
|
12422
|
-
*/
|
12423
|
-
pictograph?: string;
|
12424
12496
|
}
|
12425
12497
|
|
12426
12498
|
/**
|
@@ -12508,7 +12580,7 @@ export namespace Protocol {
|
|
12508
12580
|
/**
|
12509
12581
|
* List of not restored reasons for back-forward cache.
|
12510
12582
|
*/
|
12511
|
-
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | '
|
12583
|
+
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedNotificationsPermission' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'Dummy' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSession' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
|
12512
12584
|
|
12513
12585
|
/**
|
12514
12586
|
* Types of not restored reasons for back-forward cache.
|
@@ -12547,6 +12619,11 @@ export namespace Protocol {
|
|
12547
12619
|
children: BackForwardCacheNotRestoredExplanationTree[];
|
12548
12620
|
}
|
12549
12621
|
|
12622
|
+
/**
|
12623
|
+
* List of FinalStatus reasons for Prerender2.
|
12624
|
+
*/
|
12625
|
+
export type PrerenderFinalStatus = ('Activated');
|
12626
|
+
|
12550
12627
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12551
12628
|
scriptSource: string;
|
12552
12629
|
}
|
@@ -12719,15 +12796,15 @@ export namespace Protocol {
|
|
12719
12796
|
|
12720
12797
|
export interface GetLayoutMetricsResponse {
|
12721
12798
|
/**
|
12722
|
-
* Deprecated metrics relating to the layout viewport.
|
12799
|
+
* Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.
|
12723
12800
|
*/
|
12724
12801
|
layoutViewport: LayoutViewport;
|
12725
12802
|
/**
|
12726
|
-
* Deprecated metrics relating to the visual viewport.
|
12803
|
+
* Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.
|
12727
12804
|
*/
|
12728
12805
|
visualViewport: VisualViewport;
|
12729
12806
|
/**
|
12730
|
-
* Deprecated size of scrollable area.
|
12807
|
+
* Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
|
12731
12808
|
*/
|
12732
12809
|
contentSize: DOM.Rect;
|
12733
12810
|
/**
|
@@ -12888,15 +12965,16 @@ export namespace Protocol {
|
|
12888
12965
|
*/
|
12889
12966
|
marginRight?: number;
|
12890
12967
|
/**
|
12891
|
-
* Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
12892
|
-
*
|
12968
|
+
* Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are
|
12969
|
+
* printed in the document order, not in the order specified, and no
|
12970
|
+
* more than once.
|
12971
|
+
* Defaults to empty string, which implies the entire document is printed.
|
12972
|
+
* The page numbers are quietly capped to actual page count of the
|
12973
|
+
* document, and ranges beyond the end of the document are ignored.
|
12974
|
+
* If this results in no pages to print, an error is reported.
|
12975
|
+
* It is an error to specify a range with start greater than end.
|
12893
12976
|
*/
|
12894
12977
|
pageRanges?: string;
|
12895
|
-
/**
|
12896
|
-
* Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.
|
12897
|
-
* Defaults to false.
|
12898
|
-
*/
|
12899
|
-
ignoreInvalidPageRanges?: boolean;
|
12900
12978
|
/**
|
12901
12979
|
* HTML template for the print header. Should be valid HTML markup with following
|
12902
12980
|
* classes used to inject printing values into them:
|
@@ -13552,6 +13630,18 @@ export namespace Protocol {
|
|
13552
13630
|
notRestoredExplanationsTree?: BackForwardCacheNotRestoredExplanationTree;
|
13553
13631
|
}
|
13554
13632
|
|
13633
|
+
/**
|
13634
|
+
* Fired when a prerender attempt is completed.
|
13635
|
+
*/
|
13636
|
+
export interface PrerenderAttemptCompletedEvent {
|
13637
|
+
/**
|
13638
|
+
* The frame id of the frame initiating prerendering.
|
13639
|
+
*/
|
13640
|
+
initiatingFrameId: FrameId;
|
13641
|
+
prerenderingUrl: string;
|
13642
|
+
finalStatus: PrerenderFinalStatus;
|
13643
|
+
}
|
13644
|
+
|
13555
13645
|
export interface LoadEventFiredEvent {
|
13556
13646
|
timestamp: Network.MonotonicTime;
|
13557
13647
|
}
|
@@ -16007,27 +16097,38 @@ export namespace Protocol {
|
|
16007
16097
|
value: string;
|
16008
16098
|
}
|
16009
16099
|
|
16010
|
-
|
16011
|
-
|
16012
|
-
|
16100
|
+
/**
|
16101
|
+
* Represents logged source line numbers reported in an error.
|
16102
|
+
* NOTE: file and line are from chromium c++ implementation code, not js.
|
16103
|
+
*/
|
16104
|
+
export interface PlayerErrorSourceLocation {
|
16105
|
+
file: string;
|
16106
|
+
line: integer;
|
16013
16107
|
}
|
16014
16108
|
|
16015
16109
|
/**
|
16016
16110
|
* Corresponds to kMediaError
|
16017
16111
|
*/
|
16018
16112
|
export interface PlayerError {
|
16113
|
+
errorType: string;
|
16114
|
+
/**
|
16115
|
+
* Code is the numeric enum entry for a specific set of error codes, such
|
16116
|
+
* as PipelineStatusCodes in media/base/pipeline_status.h
|
16117
|
+
*/
|
16118
|
+
code: integer;
|
16119
|
+
/**
|
16120
|
+
* A trace of where this error was caused / where it passed through.
|
16121
|
+
*/
|
16122
|
+
stack: PlayerErrorSourceLocation[];
|
16019
16123
|
/**
|
16020
|
-
*
|
16124
|
+
* Errors potentially have a root cause error, ie, a DecoderError might be
|
16125
|
+
* caused by an WindowsError
|
16021
16126
|
*/
|
16022
|
-
|
16127
|
+
cause: PlayerError[];
|
16023
16128
|
/**
|
16024
|
-
*
|
16025
|
-
* we can remove "errorCode" and replace it with the fields from
|
16026
|
-
* a Status instance. This also seems like a duplicate of the error
|
16027
|
-
* level enum - there is a todo bug to have that level removed and
|
16028
|
-
* use this instead. (crbug.com/1068454)
|
16129
|
+
* Extra data attached to an error, such as an HRESULT, Video Codec, etc.
|
16029
16130
|
*/
|
16030
|
-
|
16131
|
+
data: any;
|
16031
16132
|
}
|
16032
16133
|
|
16033
16134
|
/**
|