devtools-protocol 0.0.982423 → 0.0.995853
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 +134 -35
- package/json/js_protocol.json +95 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +89 -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
|
},
|
@@ -14930,8 +14981,10 @@
|
|
14930
14981
|
"ch-device-memory",
|
14931
14982
|
"ch-downlink",
|
14932
14983
|
"ch-ect",
|
14984
|
+
"ch-partitioned-cookies",
|
14933
14985
|
"ch-prefers-color-scheme",
|
14934
14986
|
"ch-rtt",
|
14987
|
+
"ch-save-data",
|
14935
14988
|
"ch-ua",
|
14936
14989
|
"ch-ua-arch",
|
14937
14990
|
"ch-ua-bitness",
|
@@ -14947,7 +15000,6 @@
|
|
14947
15000
|
"ch-viewport-height",
|
14948
15001
|
"ch-viewport-width",
|
14949
15002
|
"ch-width",
|
14950
|
-
"ch-partitioned-cookies",
|
14951
15003
|
"clipboard-read",
|
14952
15004
|
"clipboard-write",
|
14953
15005
|
"cross-origin-isolated",
|
@@ -14968,6 +15020,7 @@
|
|
14968
15020
|
"interest-cohort",
|
14969
15021
|
"join-ad-interest-group",
|
14970
15022
|
"keyboard-map",
|
15023
|
+
"local-fonts",
|
14971
15024
|
"magnetometer",
|
14972
15025
|
"microphone",
|
14973
15026
|
"midi",
|
@@ -15640,12 +15693,6 @@
|
|
15640
15693
|
"description": "The fantasy font-family.",
|
15641
15694
|
"optional": true,
|
15642
15695
|
"type": "string"
|
15643
|
-
},
|
15644
|
-
{
|
15645
|
-
"name": "pictograph",
|
15646
|
-
"description": "The pictograph font-family.",
|
15647
|
-
"optional": true,
|
15648
|
-
"type": "string"
|
15649
15696
|
}
|
15650
15697
|
]
|
15651
15698
|
},
|
@@ -15818,7 +15865,6 @@
|
|
15818
15865
|
"JavaScriptExecution",
|
15819
15866
|
"RendererProcessKilled",
|
15820
15867
|
"RendererProcessCrashed",
|
15821
|
-
"GrantedMediaStreamAccess",
|
15822
15868
|
"SchedulerTrackedFeatureUsed",
|
15823
15869
|
"ConflictingBrowsingInstance",
|
15824
15870
|
"CacheFlushed",
|
@@ -15845,7 +15891,6 @@
|
|
15845
15891
|
"ForegroundCacheLimit",
|
15846
15892
|
"BrowsingInstanceNotSwapped",
|
15847
15893
|
"BackForwardCacheDisabledForDelegate",
|
15848
|
-
"OptInUnloadHeaderNotPresent",
|
15849
15894
|
"UnloadHandlerExistsInMainFrame",
|
15850
15895
|
"UnloadHandlerExistsInSubFrame",
|
15851
15896
|
"ServiceWorkerUnregistration",
|
@@ -15856,6 +15901,7 @@
|
|
15856
15901
|
"Unknown",
|
15857
15902
|
"ActivationNavigationsDisallowedForBug1234857",
|
15858
15903
|
"ErrorDocument",
|
15904
|
+
"FencedFramesEmbedder",
|
15859
15905
|
"WebSocket",
|
15860
15906
|
"WebTransport",
|
15861
15907
|
"WebRTC",
|
@@ -15989,6 +16035,14 @@
|
|
15989
16035
|
}
|
15990
16036
|
}
|
15991
16037
|
]
|
16038
|
+
},
|
16039
|
+
{
|
16040
|
+
"id": "PrerenderFinalStatus",
|
16041
|
+
"description": "List of FinalStatus reasons for Prerender2.",
|
16042
|
+
"type": "string",
|
16043
|
+
"enum": [
|
16044
|
+
"Activated"
|
16045
|
+
]
|
15992
16046
|
}
|
15993
16047
|
],
|
15994
16048
|
"commands": [
|
@@ -16303,19 +16357,19 @@
|
|
16303
16357
|
"returns": [
|
16304
16358
|
{
|
16305
16359
|
"name": "layoutViewport",
|
16306
|
-
"description": "Deprecated metrics relating to the layout viewport.
|
16360
|
+
"description": "Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.",
|
16307
16361
|
"deprecated": true,
|
16308
16362
|
"$ref": "LayoutViewport"
|
16309
16363
|
},
|
16310
16364
|
{
|
16311
16365
|
"name": "visualViewport",
|
16312
|
-
"description": "Deprecated metrics relating to the visual viewport.
|
16366
|
+
"description": "Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.",
|
16313
16367
|
"deprecated": true,
|
16314
16368
|
"$ref": "VisualViewport"
|
16315
16369
|
},
|
16316
16370
|
{
|
16317
16371
|
"name": "contentSize",
|
16318
|
-
"description": "Deprecated size of scrollable area.
|
16372
|
+
"description": "Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.",
|
16319
16373
|
"deprecated": true,
|
16320
16374
|
"$ref": "DOM.Rect"
|
16321
16375
|
},
|
@@ -16549,16 +16603,10 @@
|
|
16549
16603
|
},
|
16550
16604
|
{
|
16551
16605
|
"name": "pageRanges",
|
16552
|
-
"description": "Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
16606
|
+
"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.",
|
16553
16607
|
"optional": true,
|
16554
16608
|
"type": "string"
|
16555
16609
|
},
|
16556
|
-
{
|
16557
|
-
"name": "ignoreInvalidPageRanges",
|
16558
|
-
"description": "Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.\nDefaults to false.",
|
16559
|
-
"optional": true,
|
16560
|
-
"type": "boolean"
|
16561
|
-
},
|
16562
16610
|
{
|
16563
16611
|
"name": "headerTemplate",
|
16564
16612
|
"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.",
|
@@ -17535,6 +17583,25 @@
|
|
17535
17583
|
}
|
17536
17584
|
]
|
17537
17585
|
},
|
17586
|
+
{
|
17587
|
+
"name": "prerenderAttemptCompleted",
|
17588
|
+
"description": "Fired when a prerender attempt is completed.",
|
17589
|
+
"parameters": [
|
17590
|
+
{
|
17591
|
+
"name": "initiatingFrameId",
|
17592
|
+
"description": "The frame id of the frame initiating prerendering.",
|
17593
|
+
"$ref": "FrameId"
|
17594
|
+
},
|
17595
|
+
{
|
17596
|
+
"name": "prerenderingUrl",
|
17597
|
+
"type": "string"
|
17598
|
+
},
|
17599
|
+
{
|
17600
|
+
"name": "finalStatus",
|
17601
|
+
"$ref": "PrerenderFinalStatus"
|
17602
|
+
}
|
17603
|
+
]
|
17604
|
+
},
|
17538
17605
|
{
|
17539
17606
|
"name": "loadEventFired",
|
17540
17607
|
"parameters": [
|
@@ -21555,23 +21622,55 @@
|
|
21555
21622
|
}
|
21556
21623
|
]
|
21557
21624
|
},
|
21625
|
+
{
|
21626
|
+
"id": "PlayerErrorSourceLocation",
|
21627
|
+
"description": "Represents logged source line numbers reported in an error.\nNOTE: file and line are from chromium c++ implementation code, not js.",
|
21628
|
+
"type": "object",
|
21629
|
+
"properties": [
|
21630
|
+
{
|
21631
|
+
"name": "file",
|
21632
|
+
"type": "string"
|
21633
|
+
},
|
21634
|
+
{
|
21635
|
+
"name": "line",
|
21636
|
+
"type": "integer"
|
21637
|
+
}
|
21638
|
+
]
|
21639
|
+
},
|
21558
21640
|
{
|
21559
21641
|
"id": "PlayerError",
|
21560
21642
|
"description": "Corresponds to kMediaError",
|
21561
21643
|
"type": "object",
|
21562
21644
|
"properties": [
|
21563
21645
|
{
|
21564
|
-
"name": "
|
21565
|
-
"type": "string"
|
21566
|
-
"enum": [
|
21567
|
-
"pipeline_error",
|
21568
|
-
"media_error"
|
21569
|
-
]
|
21646
|
+
"name": "errorType",
|
21647
|
+
"type": "string"
|
21570
21648
|
},
|
21571
21649
|
{
|
21572
|
-
"name": "
|
21573
|
-
"description": "
|
21574
|
-
"type": "
|
21650
|
+
"name": "code",
|
21651
|
+
"description": "Code is the numeric enum entry for a specific set of error codes, such\nas PipelineStatusCodes in media/base/pipeline_status.h",
|
21652
|
+
"type": "integer"
|
21653
|
+
},
|
21654
|
+
{
|
21655
|
+
"name": "stack",
|
21656
|
+
"description": "A trace of where this error was caused / where it passed through.",
|
21657
|
+
"type": "array",
|
21658
|
+
"items": {
|
21659
|
+
"$ref": "PlayerErrorSourceLocation"
|
21660
|
+
}
|
21661
|
+
},
|
21662
|
+
{
|
21663
|
+
"name": "cause",
|
21664
|
+
"description": "Errors potentially have a root cause error, ie, a DecoderError might be\ncaused by an WindowsError",
|
21665
|
+
"type": "array",
|
21666
|
+
"items": {
|
21667
|
+
"$ref": "PlayerError"
|
21668
|
+
}
|
21669
|
+
},
|
21670
|
+
{
|
21671
|
+
"name": "data",
|
21672
|
+
"description": "Extra data attached to an error, such as an HRESULT, Video Codec, etc.",
|
21673
|
+
"type": "object"
|
21575
21674
|
}
|
21576
21675
|
]
|
21577
21676
|
}
|
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
|
@@ -6946,8 +6982,10 @@ domain Page
|
|
6946
6982
|
ch-device-memory
|
6947
6983
|
ch-downlink
|
6948
6984
|
ch-ect
|
6985
|
+
ch-partitioned-cookies
|
6949
6986
|
ch-prefers-color-scheme
|
6950
6987
|
ch-rtt
|
6988
|
+
ch-save-data
|
6951
6989
|
ch-ua
|
6952
6990
|
ch-ua-arch
|
6953
6991
|
ch-ua-bitness
|
@@ -6963,7 +7001,6 @@ domain Page
|
|
6963
7001
|
ch-viewport-height
|
6964
7002
|
ch-viewport-width
|
6965
7003
|
ch-width
|
6966
|
-
ch-partitioned-cookies
|
6967
7004
|
clipboard-read
|
6968
7005
|
clipboard-write
|
6969
7006
|
cross-origin-isolated
|
@@ -6984,6 +7021,7 @@ domain Page
|
|
6984
7021
|
interest-cohort
|
6985
7022
|
join-ad-interest-group
|
6986
7023
|
keyboard-map
|
7024
|
+
local-fonts
|
6987
7025
|
magnetometer
|
6988
7026
|
microphone
|
6989
7027
|
midi
|
@@ -7288,8 +7326,6 @@ domain Page
|
|
7288
7326
|
optional string cursive
|
7289
7327
|
# The fantasy font-family.
|
7290
7328
|
optional string fantasy
|
7291
|
-
# The pictograph font-family.
|
7292
|
-
optional string pictograph
|
7293
7329
|
|
7294
7330
|
# Font families collection for a script.
|
7295
7331
|
experimental type ScriptFontFamilies extends object
|
@@ -7508,11 +7544,11 @@ domain Page
|
|
7508
7544
|
# Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
|
7509
7545
|
command getLayoutMetrics
|
7510
7546
|
returns
|
7511
|
-
# Deprecated metrics relating to the layout viewport.
|
7547
|
+
# Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.
|
7512
7548
|
deprecated LayoutViewport layoutViewport
|
7513
|
-
# Deprecated metrics relating to the visual viewport.
|
7549
|
+
# Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.
|
7514
7550
|
deprecated VisualViewport visualViewport
|
7515
|
-
# Deprecated size of scrollable area.
|
7551
|
+
# Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
|
7516
7552
|
deprecated DOM.Rect contentSize
|
7517
7553
|
# Metrics relating to the layout viewport in CSS pixels.
|
7518
7554
|
LayoutViewport cssLayoutViewport
|
@@ -7610,12 +7646,15 @@ domain Page
|
|
7610
7646
|
optional number marginLeft
|
7611
7647
|
# Right margin in inches. Defaults to 1cm (~0.4 inches).
|
7612
7648
|
optional number marginRight
|
7613
|
-
# Paper ranges to print, e.g., '1-5, 8, 11-13'.
|
7614
|
-
#
|
7649
|
+
# Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages are
|
7650
|
+
# printed in the document order, not in the order specified, and no
|
7651
|
+
# more than once.
|
7652
|
+
# Defaults to empty string, which implies the entire document is printed.
|
7653
|
+
# The page numbers are quietly capped to actual page count of the
|
7654
|
+
# document, and ranges beyond the end of the document are ignored.
|
7655
|
+
# If this results in no pages to print, an error is reported.
|
7656
|
+
# It is an error to specify a range with start greater than end.
|
7615
7657
|
optional string pageRanges
|
7616
|
-
# Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.
|
7617
|
-
# Defaults to false.
|
7618
|
-
optional boolean ignoreInvalidPageRanges
|
7619
7658
|
# HTML template for the print header. Should be valid HTML markup with following
|
7620
7659
|
# classes used to inject printing values into them:
|
7621
7660
|
# - `date`: formatted print date
|
@@ -8098,7 +8137,6 @@ domain Page
|
|
8098
8137
|
JavaScriptExecution
|
8099
8138
|
RendererProcessKilled
|
8100
8139
|
RendererProcessCrashed
|
8101
|
-
GrantedMediaStreamAccess
|
8102
8140
|
SchedulerTrackedFeatureUsed
|
8103
8141
|
ConflictingBrowsingInstance
|
8104
8142
|
CacheFlushed
|
@@ -8125,7 +8163,6 @@ domain Page
|
|
8125
8163
|
ForegroundCacheLimit
|
8126
8164
|
BrowsingInstanceNotSwapped
|
8127
8165
|
BackForwardCacheDisabledForDelegate
|
8128
|
-
OptInUnloadHeaderNotPresent
|
8129
8166
|
UnloadHandlerExistsInMainFrame
|
8130
8167
|
UnloadHandlerExistsInSubFrame
|
8131
8168
|
ServiceWorkerUnregistration
|
@@ -8136,6 +8173,7 @@ domain Page
|
|
8136
8173
|
Unknown
|
8137
8174
|
ActivationNavigationsDisallowedForBug1234857
|
8138
8175
|
ErrorDocument
|
8176
|
+
FencedFramesEmbedder
|
8139
8177
|
#Blocklisted features
|
8140
8178
|
WebSocket
|
8141
8179
|
WebTransport
|
@@ -8255,6 +8293,19 @@ domain Page
|
|
8255
8293
|
# Tree structure of reasons why the page could not be cached for each frame.
|
8256
8294
|
optional BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree
|
8257
8295
|
|
8296
|
+
# List of FinalStatus reasons for Prerender2.
|
8297
|
+
type PrerenderFinalStatus extends string
|
8298
|
+
enum
|
8299
|
+
Activated
|
8300
|
+
|
8301
|
+
# Fired when a prerender attempt is completed.
|
8302
|
+
event prerenderAttemptCompleted
|
8303
|
+
parameters
|
8304
|
+
# The frame id of the frame initiating prerendering.
|
8305
|
+
FrameId initiatingFrameId
|
8306
|
+
string prerenderingUrl
|
8307
|
+
PrerenderFinalStatus finalStatus
|
8308
|
+
|
8258
8309
|
event loadEventFired
|
8259
8310
|
parameters
|
8260
8311
|
Network.MonotonicTime timestamp
|
@@ -10116,19 +10167,27 @@ experimental domain Media
|
|
10116
10167
|
Timestamp timestamp
|
10117
10168
|
string value
|
10118
10169
|
|
10170
|
+
# Represents logged source line numbers reported in an error.
|
10171
|
+
# NOTE: file and line are from chromium c++ implementation code, not js.
|
10172
|
+
type PlayerErrorSourceLocation extends object
|
10173
|
+
properties
|
10174
|
+
string file
|
10175
|
+
integer line
|
10176
|
+
|
10119
10177
|
# Corresponds to kMediaError
|
10120
10178
|
type PlayerError extends object
|
10121
10179
|
properties
|
10122
|
-
|
10123
|
-
|
10124
|
-
|
10125
|
-
|
10126
|
-
#
|
10127
|
-
|
10128
|
-
#
|
10129
|
-
#
|
10130
|
-
|
10131
|
-
|
10180
|
+
string errorType
|
10181
|
+
# Code is the numeric enum entry for a specific set of error codes, such
|
10182
|
+
# as PipelineStatusCodes in media/base/pipeline_status.h
|
10183
|
+
integer code
|
10184
|
+
# A trace of where this error was caused / where it passed through.
|
10185
|
+
array of PlayerErrorSourceLocation stack
|
10186
|
+
# Errors potentially have a root cause error, ie, a DecoderError might be
|
10187
|
+
# caused by an WindowsError
|
10188
|
+
array of PlayerError cause
|
10189
|
+
# Extra data attached to an error, such as an HRESULT, Video Codec, etc.
|
10190
|
+
object data
|
10132
10191
|
|
10133
10192
|
# This can be called multiple times, and can be used to set / override /
|
10134
10193
|
# 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' | 'browsing-topics' | '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' | 'local-fonts' | '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
|
/**
|