devtools-protocol 0.0.982423 → 0.0.995287

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.
@@ -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",
@@ -15640,12 +15692,6 @@
15640
15692
  "description": "The fantasy font-family.",
15641
15693
  "optional": true,
15642
15694
  "type": "string"
15643
- },
15644
- {
15645
- "name": "pictograph",
15646
- "description": "The pictograph font-family.",
15647
- "optional": true,
15648
- "type": "string"
15649
15695
  }
15650
15696
  ]
15651
15697
  },
@@ -15818,7 +15864,6 @@
15818
15864
  "JavaScriptExecution",
15819
15865
  "RendererProcessKilled",
15820
15866
  "RendererProcessCrashed",
15821
- "GrantedMediaStreamAccess",
15822
15867
  "SchedulerTrackedFeatureUsed",
15823
15868
  "ConflictingBrowsingInstance",
15824
15869
  "CacheFlushed",
@@ -15845,7 +15890,6 @@
15845
15890
  "ForegroundCacheLimit",
15846
15891
  "BrowsingInstanceNotSwapped",
15847
15892
  "BackForwardCacheDisabledForDelegate",
15848
- "OptInUnloadHeaderNotPresent",
15849
15893
  "UnloadHandlerExistsInMainFrame",
15850
15894
  "UnloadHandlerExistsInSubFrame",
15851
15895
  "ServiceWorkerUnregistration",
@@ -15856,6 +15900,7 @@
15856
15900
  "Unknown",
15857
15901
  "ActivationNavigationsDisallowedForBug1234857",
15858
15902
  "ErrorDocument",
15903
+ "FencedFramesEmbedder",
15859
15904
  "WebSocket",
15860
15905
  "WebTransport",
15861
15906
  "WebRTC",
@@ -15989,6 +16034,14 @@
15989
16034
  }
15990
16035
  }
15991
16036
  ]
16037
+ },
16038
+ {
16039
+ "id": "PrerenderFinalStatus",
16040
+ "description": "List of FinalStatus reasons for Prerender2.",
16041
+ "type": "string",
16042
+ "enum": [
16043
+ "Activated"
16044
+ ]
15992
16045
  }
15993
16046
  ],
15994
16047
  "commands": [
@@ -16303,19 +16356,19 @@
16303
16356
  "returns": [
16304
16357
  {
16305
16358
  "name": "layoutViewport",
16306
- "description": "Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssLayoutViewport` instead.",
16359
+ "description": "Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.",
16307
16360
  "deprecated": true,
16308
16361
  "$ref": "LayoutViewport"
16309
16362
  },
16310
16363
  {
16311
16364
  "name": "visualViewport",
16312
- "description": "Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssVisualViewport` instead.",
16365
+ "description": "Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.",
16313
16366
  "deprecated": true,
16314
16367
  "$ref": "VisualViewport"
16315
16368
  },
16316
16369
  {
16317
16370
  "name": "contentSize",
16318
- "description": "Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssContentSize` instead.",
16371
+ "description": "Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.",
16319
16372
  "deprecated": true,
16320
16373
  "$ref": "DOM.Rect"
16321
16374
  },
@@ -17535,6 +17588,25 @@
17535
17588
  }
17536
17589
  ]
17537
17590
  },
17591
+ {
17592
+ "name": "prerenderAttemptCompleted",
17593
+ "description": "Fired when a prerender attempt is completed.",
17594
+ "parameters": [
17595
+ {
17596
+ "name": "initiatingFrameId",
17597
+ "description": "The frame id of the frame initiating prerendering.",
17598
+ "$ref": "FrameId"
17599
+ },
17600
+ {
17601
+ "name": "prerenderingUrl",
17602
+ "type": "string"
17603
+ },
17604
+ {
17605
+ "name": "finalStatus",
17606
+ "$ref": "PrerenderFinalStatus"
17607
+ }
17608
+ ]
17609
+ },
17538
17610
  {
17539
17611
  "name": "loadEventFired",
17540
17612
  "parameters": [
@@ -21555,23 +21627,55 @@
21555
21627
  }
21556
21628
  ]
21557
21629
  },
21630
+ {
21631
+ "id": "PlayerErrorSourceLocation",
21632
+ "description": "Represents logged source line numbers reported in an error.\nNOTE: file and line are from chromium c++ implementation code, not js.",
21633
+ "type": "object",
21634
+ "properties": [
21635
+ {
21636
+ "name": "file",
21637
+ "type": "string"
21638
+ },
21639
+ {
21640
+ "name": "line",
21641
+ "type": "integer"
21642
+ }
21643
+ ]
21644
+ },
21558
21645
  {
21559
21646
  "id": "PlayerError",
21560
21647
  "description": "Corresponds to kMediaError",
21561
21648
  "type": "object",
21562
21649
  "properties": [
21563
21650
  {
21564
- "name": "type",
21565
- "type": "string",
21566
- "enum": [
21567
- "pipeline_error",
21568
- "media_error"
21569
- ]
21651
+ "name": "errorType",
21652
+ "type": "string"
21570
21653
  },
21571
21654
  {
21572
- "name": "errorCode",
21573
- "description": "When this switches to using media::Status instead of PipelineStatus\nwe can remove \"errorCode\" and replace it with the fields from\na Status instance. This also seems like a duplicate of the error\nlevel enum - there is a todo bug to have that level removed and\nuse this instead. (crbug.com/1068454)",
21574
- "type": "string"
21655
+ "name": "code",
21656
+ "description": "Code is the numeric enum entry for a specific set of error codes, such\nas PipelineStatusCodes in media/base/pipeline_status.h",
21657
+ "type": "integer"
21658
+ },
21659
+ {
21660
+ "name": "stack",
21661
+ "description": "A trace of where this error was caused / where it passed through.",
21662
+ "type": "array",
21663
+ "items": {
21664
+ "$ref": "PlayerErrorSourceLocation"
21665
+ }
21666
+ },
21667
+ {
21668
+ "name": "cause",
21669
+ "description": "Errors potentially have a root cause error, ie, a DecoderError might be\ncaused by an WindowsError",
21670
+ "type": "array",
21671
+ "items": {
21672
+ "$ref": "PlayerError"
21673
+ }
21674
+ },
21675
+ {
21676
+ "name": "data",
21677
+ "description": "Extra data attached to an error, such as an HRESULT, Video Codec, etc.",
21678
+ "type": "object"
21575
21679
  }
21576
21680
  ]
21577
21681
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.982423",
3
+ "version": "0.0.995287",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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
@@ -7288,8 +7325,6 @@ domain Page
7288
7325
  optional string cursive
7289
7326
  # The fantasy font-family.
7290
7327
  optional string fantasy
7291
- # The pictograph font-family.
7292
- optional string pictograph
7293
7328
 
7294
7329
  # Font families collection for a script.
7295
7330
  experimental type ScriptFontFamilies extends object
@@ -7508,11 +7543,11 @@ domain Page
7508
7543
  # Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
7509
7544
  command getLayoutMetrics
7510
7545
  returns
7511
- # Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssLayoutViewport` instead.
7546
+ # Deprecated metrics relating to the layout viewport. Is in device pixels. Use `cssLayoutViewport` instead.
7512
7547
  deprecated LayoutViewport layoutViewport
7513
- # Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssVisualViewport` instead.
7548
+ # Deprecated metrics relating to the visual viewport. Is in device pixels. Use `cssVisualViewport` instead.
7514
7549
  deprecated VisualViewport visualViewport
7515
- # Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssContentSize` instead.
7550
+ # Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
7516
7551
  deprecated DOM.Rect contentSize
7517
7552
  # Metrics relating to the layout viewport in CSS pixels.
7518
7553
  LayoutViewport cssLayoutViewport
@@ -8098,7 +8133,6 @@ domain Page
8098
8133
  JavaScriptExecution
8099
8134
  RendererProcessKilled
8100
8135
  RendererProcessCrashed
8101
- GrantedMediaStreamAccess
8102
8136
  SchedulerTrackedFeatureUsed
8103
8137
  ConflictingBrowsingInstance
8104
8138
  CacheFlushed
@@ -8125,7 +8159,6 @@ domain Page
8125
8159
  ForegroundCacheLimit
8126
8160
  BrowsingInstanceNotSwapped
8127
8161
  BackForwardCacheDisabledForDelegate
8128
- OptInUnloadHeaderNotPresent
8129
8162
  UnloadHandlerExistsInMainFrame
8130
8163
  UnloadHandlerExistsInSubFrame
8131
8164
  ServiceWorkerUnregistration
@@ -8136,6 +8169,7 @@ domain Page
8136
8169
  Unknown
8137
8170
  ActivationNavigationsDisallowedForBug1234857
8138
8171
  ErrorDocument
8172
+ FencedFramesEmbedder
8139
8173
  #Blocklisted features
8140
8174
  WebSocket
8141
8175
  WebTransport
@@ -8255,6 +8289,19 @@ domain Page
8255
8289
  # Tree structure of reasons why the page could not be cached for each frame.
8256
8290
  optional BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree
8257
8291
 
8292
+ # List of FinalStatus reasons for Prerender2.
8293
+ type PrerenderFinalStatus extends string
8294
+ enum
8295
+ Activated
8296
+
8297
+ # Fired when a prerender attempt is completed.
8298
+ event prerenderAttemptCompleted
8299
+ parameters
8300
+ # The frame id of the frame initiating prerendering.
8301
+ FrameId initiatingFrameId
8302
+ string prerenderingUrl
8303
+ PrerenderFinalStatus finalStatus
8304
+
8258
8305
  event loadEventFired
8259
8306
  parameters
8260
8307
  Network.MonotonicTime timestamp
@@ -10116,19 +10163,27 @@ experimental domain Media
10116
10163
  Timestamp timestamp
10117
10164
  string value
10118
10165
 
10166
+ # Represents logged source line numbers reported in an error.
10167
+ # NOTE: file and line are from chromium c++ implementation code, not js.
10168
+ type PlayerErrorSourceLocation extends object
10169
+ properties
10170
+ string file
10171
+ integer line
10172
+
10119
10173
  # Corresponds to kMediaError
10120
10174
  type PlayerError extends object
10121
10175
  properties
10122
- enum type
10123
- # Compatability until we switch to media_error
10124
- pipeline_error
10125
- media_error
10126
- # When this switches to using media::Status instead of PipelineStatus
10127
- # we can remove "errorCode" and replace it with the fields from
10128
- # a Status instance. This also seems like a duplicate of the error
10129
- # level enum - there is a todo bug to have that level removed and
10130
- # use this instead. (crbug.com/1068454)
10131
- string errorCode
10176
+ string errorType
10177
+ # Code is the numeric enum entry for a specific set of error codes, such
10178
+ # as PipelineStatusCodes in media/base/pipeline_status.h
10179
+ integer code
10180
+ # A trace of where this error was caused / where it passed through.
10181
+ array of PlayerErrorSourceLocation stack
10182
+ # Errors potentially have a root cause error, ie, a DecoderError might be
10183
+ # caused by an WindowsError
10184
+ array of PlayerError cause
10185
+ # Extra data attached to an error, such as an HRESULT, Video Codec, etc.
10186
+ object data
10132
10187
 
10133
10188
  # This can be called multiple times, and can be used to set / override /
10134
10189
  # remove player properties. A null propValue indicates removal.
@@ -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
- string url
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
  /**
@@ -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' | 'InvalidAttributionData' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'AttributionTriggerDataTooLarge' | 'AttributionEventSourceTriggerDataTooLarge' | 'InvalidAttributionSourceExpiry' | 'InvalidAttributionSourcePriority' | 'InvalidEventSourceTriggerData' | 'InvalidTriggerPriority' | 'InvalidTriggerDedupKey');
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: string;
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' | 'ch-partitioned-cookies' | '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');
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' | 'GrantedMediaStreamAccess' | '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' | 'OptInUnloadHeaderNotPresent' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | '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');
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. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssLayoutViewport` instead.
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. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssVisualViewport` instead.
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. Can be in DP or in CSS pixels depending on the `enable-use-zoom-for-dsf` flag. Use `cssContentSize` instead.
12807
+ * Deprecated size of scrollable area. Is in DP. Use `cssContentSize` instead.
12731
12808
  */
12732
12809
  contentSize: DOM.Rect;
12733
12810
  /**
@@ -13552,6 +13629,18 @@ export namespace Protocol {
13552
13629
  notRestoredExplanationsTree?: BackForwardCacheNotRestoredExplanationTree;
13553
13630
  }
13554
13631
 
13632
+ /**
13633
+ * Fired when a prerender attempt is completed.
13634
+ */
13635
+ export interface PrerenderAttemptCompletedEvent {
13636
+ /**
13637
+ * The frame id of the frame initiating prerendering.
13638
+ */
13639
+ initiatingFrameId: FrameId;
13640
+ prerenderingUrl: string;
13641
+ finalStatus: PrerenderFinalStatus;
13642
+ }
13643
+
13555
13644
  export interface LoadEventFiredEvent {
13556
13645
  timestamp: Network.MonotonicTime;
13557
13646
  }
@@ -16007,27 +16096,38 @@ export namespace Protocol {
16007
16096
  value: string;
16008
16097
  }
16009
16098
 
16010
- export const enum PlayerErrorType {
16011
- Pipeline_error = 'pipeline_error',
16012
- Media_error = 'media_error',
16099
+ /**
16100
+ * Represents logged source line numbers reported in an error.
16101
+ * NOTE: file and line are from chromium c++ implementation code, not js.
16102
+ */
16103
+ export interface PlayerErrorSourceLocation {
16104
+ file: string;
16105
+ line: integer;
16013
16106
  }
16014
16107
 
16015
16108
  /**
16016
16109
  * Corresponds to kMediaError
16017
16110
  */
16018
16111
  export interface PlayerError {
16112
+ errorType: string;
16113
+ /**
16114
+ * Code is the numeric enum entry for a specific set of error codes, such
16115
+ * as PipelineStatusCodes in media/base/pipeline_status.h
16116
+ */
16117
+ code: integer;
16118
+ /**
16119
+ * A trace of where this error was caused / where it passed through.
16120
+ */
16121
+ stack: PlayerErrorSourceLocation[];
16019
16122
  /**
16020
- * (PlayerErrorType enum)
16123
+ * Errors potentially have a root cause error, ie, a DecoderError might be
16124
+ * caused by an WindowsError
16021
16125
  */
16022
- type: ('pipeline_error' | 'media_error');
16126
+ cause: PlayerError[];
16023
16127
  /**
16024
- * When this switches to using media::Status instead of PipelineStatus
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)
16128
+ * Extra data attached to an error, such as an HRESULT, Video Codec, etc.
16029
16129
  */
16030
- errorCode: string;
16130
+ data: any;
16031
16131
  }
16032
16132
 
16033
16133
  /**