devtools-protocol 0.0.981744 → 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",
@@ -3242,6 +3283,11 @@
3242
3283
  "description": "Supports rule text.",
3243
3284
  "type": "string"
3244
3285
  },
3286
+ {
3287
+ "name": "active",
3288
+ "description": "Whether the supports condition is satisfied.",
3289
+ "type": "boolean"
3290
+ },
3245
3291
  {
3246
3292
  "name": "range",
3247
3293
  "description": "The associated rule header range in the enclosing stylesheet (if\navailable).",
@@ -7776,6 +7822,16 @@
7776
7822
  {
7777
7823
  "name": "mobile",
7778
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"
7779
7835
  }
7780
7836
  ]
7781
7837
  },
@@ -14919,13 +14975,16 @@
14919
14975
  "ambient-light-sensor",
14920
14976
  "attribution-reporting",
14921
14977
  "autoplay",
14978
+ "browsing-topics",
14922
14979
  "camera",
14923
14980
  "ch-dpr",
14924
14981
  "ch-device-memory",
14925
14982
  "ch-downlink",
14926
14983
  "ch-ect",
14984
+ "ch-partitioned-cookies",
14927
14985
  "ch-prefers-color-scheme",
14928
14986
  "ch-rtt",
14987
+ "ch-save-data",
14929
14988
  "ch-ua",
14930
14989
  "ch-ua-arch",
14931
14990
  "ch-ua-bitness",
@@ -14941,7 +15000,6 @@
14941
15000
  "ch-viewport-height",
14942
15001
  "ch-viewport-width",
14943
15002
  "ch-width",
14944
- "ch-partitioned-cookies",
14945
15003
  "clipboard-read",
14946
15004
  "clipboard-write",
14947
15005
  "cross-origin-isolated",
@@ -14959,6 +15017,7 @@
14959
15017
  "gyroscope",
14960
15018
  "hid",
14961
15019
  "idle-detection",
15020
+ "interest-cohort",
14962
15021
  "join-ad-interest-group",
14963
15022
  "keyboard-map",
14964
15023
  "magnetometer",
@@ -15633,12 +15692,6 @@
15633
15692
  "description": "The fantasy font-family.",
15634
15693
  "optional": true,
15635
15694
  "type": "string"
15636
- },
15637
- {
15638
- "name": "pictograph",
15639
- "description": "The pictograph font-family.",
15640
- "optional": true,
15641
- "type": "string"
15642
15695
  }
15643
15696
  ]
15644
15697
  },
@@ -15811,7 +15864,6 @@
15811
15864
  "JavaScriptExecution",
15812
15865
  "RendererProcessKilled",
15813
15866
  "RendererProcessCrashed",
15814
- "GrantedMediaStreamAccess",
15815
15867
  "SchedulerTrackedFeatureUsed",
15816
15868
  "ConflictingBrowsingInstance",
15817
15869
  "CacheFlushed",
@@ -15838,7 +15890,6 @@
15838
15890
  "ForegroundCacheLimit",
15839
15891
  "BrowsingInstanceNotSwapped",
15840
15892
  "BackForwardCacheDisabledForDelegate",
15841
- "OptInUnloadHeaderNotPresent",
15842
15893
  "UnloadHandlerExistsInMainFrame",
15843
15894
  "UnloadHandlerExistsInSubFrame",
15844
15895
  "ServiceWorkerUnregistration",
@@ -15849,6 +15900,7 @@
15849
15900
  "Unknown",
15850
15901
  "ActivationNavigationsDisallowedForBug1234857",
15851
15902
  "ErrorDocument",
15903
+ "FencedFramesEmbedder",
15852
15904
  "WebSocket",
15853
15905
  "WebTransport",
15854
15906
  "WebRTC",
@@ -15982,6 +16034,14 @@
15982
16034
  }
15983
16035
  }
15984
16036
  ]
16037
+ },
16038
+ {
16039
+ "id": "PrerenderFinalStatus",
16040
+ "description": "List of FinalStatus reasons for Prerender2.",
16041
+ "type": "string",
16042
+ "enum": [
16043
+ "Activated"
16044
+ ]
15985
16045
  }
15986
16046
  ],
15987
16047
  "commands": [
@@ -16296,19 +16356,19 @@
16296
16356
  "returns": [
16297
16357
  {
16298
16358
  "name": "layoutViewport",
16299
- "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.",
16300
16360
  "deprecated": true,
16301
16361
  "$ref": "LayoutViewport"
16302
16362
  },
16303
16363
  {
16304
16364
  "name": "visualViewport",
16305
- "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.",
16306
16366
  "deprecated": true,
16307
16367
  "$ref": "VisualViewport"
16308
16368
  },
16309
16369
  {
16310
16370
  "name": "contentSize",
16311
- "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.",
16312
16372
  "deprecated": true,
16313
16373
  "$ref": "DOM.Rect"
16314
16374
  },
@@ -17528,6 +17588,25 @@
17528
17588
  }
17529
17589
  ]
17530
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
+ },
17531
17610
  {
17532
17611
  "name": "loadEventFired",
17533
17612
  "parameters": [
@@ -21548,23 +21627,55 @@
21548
21627
  }
21549
21628
  ]
21550
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
+ },
21551
21645
  {
21552
21646
  "id": "PlayerError",
21553
21647
  "description": "Corresponds to kMediaError",
21554
21648
  "type": "object",
21555
21649
  "properties": [
21556
21650
  {
21557
- "name": "type",
21558
- "type": "string",
21559
- "enum": [
21560
- "pipeline_error",
21561
- "media_error"
21562
- ]
21651
+ "name": "errorType",
21652
+ "type": "string"
21563
21653
  },
21564
21654
  {
21565
- "name": "errorCode",
21566
- "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)",
21567
- "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"
21568
21679
  }
21569
21680
  ]
21570
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.981744",
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
@@ -1542,6 +1576,8 @@ experimental domain CSS
1542
1576
  properties
1543
1577
  # Supports rule text.
1544
1578
  string text
1579
+ # Whether the supports condition is satisfied.
1580
+ boolean active
1545
1581
  # The associated rule header range in the enclosing stylesheet (if
1546
1582
  # available).
1547
1583
  optional SourceRange range
@@ -3537,6 +3573,8 @@ domain Emulation
3537
3573
  string architecture
3538
3574
  string model
3539
3575
  boolean mobile
3576
+ optional string bitness
3577
+ optional boolean wow64
3540
3578
 
3541
3579
  # Tells whether emulation is supported.
3542
3580
  command canEmulate
@@ -6938,13 +6976,16 @@ domain Page
6938
6976
  ambient-light-sensor
6939
6977
  attribution-reporting
6940
6978
  autoplay
6979
+ browsing-topics
6941
6980
  camera
6942
6981
  ch-dpr
6943
6982
  ch-device-memory
6944
6983
  ch-downlink
6945
6984
  ch-ect
6985
+ ch-partitioned-cookies
6946
6986
  ch-prefers-color-scheme
6947
6987
  ch-rtt
6988
+ ch-save-data
6948
6989
  ch-ua
6949
6990
  ch-ua-arch
6950
6991
  ch-ua-bitness
@@ -6960,7 +7001,6 @@ domain Page
6960
7001
  ch-viewport-height
6961
7002
  ch-viewport-width
6962
7003
  ch-width
6963
- ch-partitioned-cookies
6964
7004
  clipboard-read
6965
7005
  clipboard-write
6966
7006
  cross-origin-isolated
@@ -6978,6 +7018,7 @@ domain Page
6978
7018
  gyroscope
6979
7019
  hid
6980
7020
  idle-detection
7021
+ interest-cohort
6981
7022
  join-ad-interest-group
6982
7023
  keyboard-map
6983
7024
  magnetometer
@@ -7284,8 +7325,6 @@ domain Page
7284
7325
  optional string cursive
7285
7326
  # The fantasy font-family.
7286
7327
  optional string fantasy
7287
- # The pictograph font-family.
7288
- optional string pictograph
7289
7328
 
7290
7329
  # Font families collection for a script.
7291
7330
  experimental type ScriptFontFamilies extends object
@@ -7504,11 +7543,11 @@ domain Page
7504
7543
  # Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
7505
7544
  command getLayoutMetrics
7506
7545
  returns
7507
- # 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.
7508
7547
  deprecated LayoutViewport layoutViewport
7509
- # 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.
7510
7549
  deprecated VisualViewport visualViewport
7511
- # 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.
7512
7551
  deprecated DOM.Rect contentSize
7513
7552
  # Metrics relating to the layout viewport in CSS pixels.
7514
7553
  LayoutViewport cssLayoutViewport
@@ -8094,7 +8133,6 @@ domain Page
8094
8133
  JavaScriptExecution
8095
8134
  RendererProcessKilled
8096
8135
  RendererProcessCrashed
8097
- GrantedMediaStreamAccess
8098
8136
  SchedulerTrackedFeatureUsed
8099
8137
  ConflictingBrowsingInstance
8100
8138
  CacheFlushed
@@ -8121,7 +8159,6 @@ domain Page
8121
8159
  ForegroundCacheLimit
8122
8160
  BrowsingInstanceNotSwapped
8123
8161
  BackForwardCacheDisabledForDelegate
8124
- OptInUnloadHeaderNotPresent
8125
8162
  UnloadHandlerExistsInMainFrame
8126
8163
  UnloadHandlerExistsInSubFrame
8127
8164
  ServiceWorkerUnregistration
@@ -8132,6 +8169,7 @@ domain Page
8132
8169
  Unknown
8133
8170
  ActivationNavigationsDisallowedForBug1234857
8134
8171
  ErrorDocument
8172
+ FencedFramesEmbedder
8135
8173
  #Blocklisted features
8136
8174
  WebSocket
8137
8175
  WebTransport
@@ -8251,6 +8289,19 @@ domain Page
8251
8289
  # Tree structure of reasons why the page could not be cached for each frame.
8252
8290
  optional BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree
8253
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
+
8254
8305
  event loadEventFired
8255
8306
  parameters
8256
8307
  Network.MonotonicTime timestamp
@@ -10112,19 +10163,27 @@ experimental domain Media
10112
10163
  Timestamp timestamp
10113
10164
  string value
10114
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
+
10115
10173
  # Corresponds to kMediaError
10116
10174
  type PlayerError extends object
10117
10175
  properties
10118
- enum type
10119
- # Compatability until we switch to media_error
10120
- pipeline_error
10121
- media_error
10122
- # When this switches to using media::Status instead of PipelineStatus
10123
- # we can remove "errorCode" and replace it with the fields from
10124
- # a Status instance. This also seems like a duplicate of the error
10125
- # level enum - there is a todo bug to have that level removed and
10126
- # use this instead. (crbug.com/1068454)
10127
- 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
10128
10187
 
10129
10188
  # This can be called multiple times, and can be used to set / override /
10130
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
@@ -4383,6 +4457,10 @@ export namespace Protocol {
4383
4457
  * Supports rule text.
4384
4458
  */
4385
4459
  text: string;
4460
+ /**
4461
+ * Whether the supports condition is satisfied.
4462
+ */
4463
+ active: boolean;
4386
4464
  /**
4387
4465
  * The associated rule header range in the enclosing stylesheet (if
4388
4466
  * available).
@@ -7261,6 +7339,8 @@ export namespace Protocol {
7261
7339
  architecture: string;
7262
7340
  model: string;
7263
7341
  mobile: boolean;
7342
+ bitness?: string;
7343
+ wow64?: boolean;
7264
7344
  }
7265
7345
 
7266
7346
  /**
@@ -12005,7 +12085,7 @@ export namespace Protocol {
12005
12085
  * All Permissions Policy features. This enum should match the one defined
12006
12086
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12007
12087
  */
12008
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | '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' | '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');
12009
12089
 
12010
12090
  /**
12011
12091
  * Reason for a permissions policy feature to be disabled.
@@ -12413,10 +12493,6 @@ export namespace Protocol {
12413
12493
  * The fantasy font-family.
12414
12494
  */
12415
12495
  fantasy?: string;
12416
- /**
12417
- * The pictograph font-family.
12418
- */
12419
- pictograph?: string;
12420
12496
  }
12421
12497
 
12422
12498
  /**
@@ -12504,7 +12580,7 @@ export namespace Protocol {
12504
12580
  /**
12505
12581
  * List of not restored reasons for back-forward cache.
12506
12582
  */
12507
- 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');
12508
12584
 
12509
12585
  /**
12510
12586
  * Types of not restored reasons for back-forward cache.
@@ -12543,6 +12619,11 @@ export namespace Protocol {
12543
12619
  children: BackForwardCacheNotRestoredExplanationTree[];
12544
12620
  }
12545
12621
 
12622
+ /**
12623
+ * List of FinalStatus reasons for Prerender2.
12624
+ */
12625
+ export type PrerenderFinalStatus = ('Activated');
12626
+
12546
12627
  export interface AddScriptToEvaluateOnLoadRequest {
12547
12628
  scriptSource: string;
12548
12629
  }
@@ -12715,15 +12796,15 @@ export namespace Protocol {
12715
12796
 
12716
12797
  export interface GetLayoutMetricsResponse {
12717
12798
  /**
12718
- * 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.
12719
12800
  */
12720
12801
  layoutViewport: LayoutViewport;
12721
12802
  /**
12722
- * 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.
12723
12804
  */
12724
12805
  visualViewport: VisualViewport;
12725
12806
  /**
12726
- * 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.
12727
12808
  */
12728
12809
  contentSize: DOM.Rect;
12729
12810
  /**
@@ -13548,6 +13629,18 @@ export namespace Protocol {
13548
13629
  notRestoredExplanationsTree?: BackForwardCacheNotRestoredExplanationTree;
13549
13630
  }
13550
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
+
13551
13644
  export interface LoadEventFiredEvent {
13552
13645
  timestamp: Network.MonotonicTime;
13553
13646
  }
@@ -16003,27 +16096,38 @@ export namespace Protocol {
16003
16096
  value: string;
16004
16097
  }
16005
16098
 
16006
- export const enum PlayerErrorType {
16007
- Pipeline_error = 'pipeline_error',
16008
- 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;
16009
16106
  }
16010
16107
 
16011
16108
  /**
16012
16109
  * Corresponds to kMediaError
16013
16110
  */
16014
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[];
16015
16122
  /**
16016
- * (PlayerErrorType enum)
16123
+ * Errors potentially have a root cause error, ie, a DecoderError might be
16124
+ * caused by an WindowsError
16017
16125
  */
16018
- type: ('pipeline_error' | 'media_error');
16126
+ cause: PlayerError[];
16019
16127
  /**
16020
- * When this switches to using media::Status instead of PipelineStatus
16021
- * we can remove "errorCode" and replace it with the fields from
16022
- * a Status instance. This also seems like a duplicate of the error
16023
- * level enum - there is a todo bug to have that level removed and
16024
- * use this instead. (crbug.com/1068454)
16128
+ * Extra data attached to an error, such as an HRESULT, Video Codec, etc.
16025
16129
  */
16026
- errorCode: string;
16130
+ data: any;
16027
16131
  }
16028
16132
 
16029
16133
  /**