devtools-protocol 0.0.1102555 → 0.0.1103684
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +146 -72
- package/json/js_protocol.json +2 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +78 -69
- package/pdl/js_protocol.pdl +1 -0
- package/types/protocol-mapping.d.ts +50 -4
- package/types/protocol-proxy-api.d.ts +47 -4
- package/types/protocol.d.ts +85 -10
@@ -378,7 +378,7 @@
|
|
378
378
|
},
|
379
379
|
{
|
380
380
|
"name": "fetchRelatives",
|
381
|
-
"description": "Whether to fetch this
|
381
|
+
"description": "Whether to fetch this node's ancestors, siblings and children. Defaults to true.",
|
382
382
|
"optional": true,
|
383
383
|
"type": "boolean"
|
384
384
|
}
|
@@ -1568,69 +1568,6 @@
|
|
1568
1568
|
}
|
1569
1569
|
]
|
1570
1570
|
},
|
1571
|
-
{
|
1572
|
-
"id": "DeprecationIssueType",
|
1573
|
-
"type": "string",
|
1574
|
-
"enum": [
|
1575
|
-
"AuthorizationCoveredByWildcard",
|
1576
|
-
"CanRequestURLHTTPContainingNewline",
|
1577
|
-
"ChromeLoadTimesConnectionInfo",
|
1578
|
-
"ChromeLoadTimesFirstPaintAfterLoadTime",
|
1579
|
-
"ChromeLoadTimesWasAlternateProtocolAvailable",
|
1580
|
-
"CookieWithTruncatingChar",
|
1581
|
-
"CrossOriginAccessBasedOnDocumentDomain",
|
1582
|
-
"CrossOriginWindowAlert",
|
1583
|
-
"CrossOriginWindowConfirm",
|
1584
|
-
"CSSSelectorInternalMediaControlsOverlayCastButton",
|
1585
|
-
"DeprecationExample",
|
1586
|
-
"DocumentDomainSettingWithoutOriginAgentClusterHeader",
|
1587
|
-
"EventPath",
|
1588
|
-
"ExpectCTHeader",
|
1589
|
-
"GeolocationInsecureOrigin",
|
1590
|
-
"GeolocationInsecureOriginDeprecatedNotRemoved",
|
1591
|
-
"GetUserMediaInsecureOrigin",
|
1592
|
-
"HostCandidateAttributeGetter",
|
1593
|
-
"IdentityInCanMakePaymentEvent",
|
1594
|
-
"InsecurePrivateNetworkSubresourceRequest",
|
1595
|
-
"LocalCSSFileExtensionRejected",
|
1596
|
-
"MediaSourceAbortRemove",
|
1597
|
-
"MediaSourceDurationTruncatingBuffered",
|
1598
|
-
"NoSysexWebMIDIWithoutPermission",
|
1599
|
-
"NotificationInsecureOrigin",
|
1600
|
-
"NotificationPermissionRequestedIframe",
|
1601
|
-
"ObsoleteCreateImageBitmapImageOrientationNone",
|
1602
|
-
"ObsoleteWebRtcCipherSuite",
|
1603
|
-
"OpenWebDatabaseInsecureContext",
|
1604
|
-
"OverflowVisibleOnReplacedElement",
|
1605
|
-
"PaymentInstruments",
|
1606
|
-
"PaymentRequestCSPViolation",
|
1607
|
-
"PersistentQuotaType",
|
1608
|
-
"PictureSourceSrc",
|
1609
|
-
"PrefixedCancelAnimationFrame",
|
1610
|
-
"PrefixedRequestAnimationFrame",
|
1611
|
-
"PrefixedStorageInfo",
|
1612
|
-
"PrefixedVideoDisplayingFullscreen",
|
1613
|
-
"PrefixedVideoEnterFullscreen",
|
1614
|
-
"PrefixedVideoEnterFullScreen",
|
1615
|
-
"PrefixedVideoExitFullscreen",
|
1616
|
-
"PrefixedVideoExitFullScreen",
|
1617
|
-
"PrefixedVideoSupportsFullscreen",
|
1618
|
-
"PrivacySandboxExtensionsAPI",
|
1619
|
-
"RangeExpand",
|
1620
|
-
"RequestedSubresourceWithEmbeddedCredentials",
|
1621
|
-
"RTCConstraintEnableDtlsSrtpFalse",
|
1622
|
-
"RTCConstraintEnableDtlsSrtpTrue",
|
1623
|
-
"RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics",
|
1624
|
-
"RTCPeerConnectionSdpSemanticsPlanB",
|
1625
|
-
"RtcpMuxPolicyNegotiate",
|
1626
|
-
"SharedArrayBufferConstructedWithoutIsolation",
|
1627
|
-
"TextToSpeech_DisallowedByAutoplay",
|
1628
|
-
"V8SharedArrayBufferConstructedInExtensionWithoutIsolation",
|
1629
|
-
"XHRJSONEncodingDetection",
|
1630
|
-
"XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload",
|
1631
|
-
"XRSupportsSession"
|
1632
|
-
]
|
1633
|
-
},
|
1634
1571
|
{
|
1635
1572
|
"id": "DeprecationIssueDetails",
|
1636
1573
|
"description": "This issue tracks information needed to print a deprecation message.\nhttps://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md",
|
@@ -1647,7 +1584,8 @@
|
|
1647
1584
|
},
|
1648
1585
|
{
|
1649
1586
|
"name": "type",
|
1650
|
-
"
|
1587
|
+
"description": "One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5",
|
1588
|
+
"type": "string"
|
1651
1589
|
}
|
1652
1590
|
]
|
1653
1591
|
},
|
@@ -3984,7 +3922,7 @@
|
|
3984
3922
|
"returns": [
|
3985
3923
|
{
|
3986
3924
|
"name": "nodeIds",
|
3987
|
-
"description": "The list of node Ids that have their tracked computed styles updated",
|
3925
|
+
"description": "The list of node Ids that have their tracked computed styles updated.",
|
3988
3926
|
"type": "array",
|
3989
3927
|
"items": {
|
3990
3928
|
"$ref": "DOM.NodeId"
|
@@ -4215,7 +4153,7 @@
|
|
4215
4153
|
},
|
4216
4154
|
{
|
4217
4155
|
"name": "stopRuleUsageTracking",
|
4218
|
-
"description": "Stop tracking rule usage and return the list of rules that were used since last call to\n`takeCoverageDelta` (or since start of coverage instrumentation)",
|
4156
|
+
"description": "Stop tracking rule usage and return the list of rules that were used since last call to\n`takeCoverageDelta` (or since start of coverage instrumentation).",
|
4219
4157
|
"returns": [
|
4220
4158
|
{
|
4221
4159
|
"name": "ruleUsage",
|
@@ -4228,7 +4166,7 @@
|
|
4228
4166
|
},
|
4229
4167
|
{
|
4230
4168
|
"name": "takeCoverageDelta",
|
4231
|
-
"description": "Obtain list of rules that became used since last call to this method (or since start of coverage\ninstrumentation)",
|
4169
|
+
"description": "Obtain list of rules that became used since last call to this method (or since start of coverage\ninstrumentation).",
|
4232
4170
|
"returns": [
|
4233
4171
|
{
|
4234
4172
|
"name": "coverage",
|
@@ -4260,7 +4198,7 @@
|
|
4260
4198
|
"events": [
|
4261
4199
|
{
|
4262
4200
|
"name": "fontsUpdated",
|
4263
|
-
"description": "Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded\nweb font",
|
4201
|
+
"description": "Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded\nweb font.",
|
4264
4202
|
"parameters": [
|
4265
4203
|
{
|
4266
4204
|
"name": "font",
|
@@ -8318,12 +8256,13 @@
|
|
8318
8256
|
"parameters": [
|
8319
8257
|
{
|
8320
8258
|
"name": "type",
|
8321
|
-
"description": "Vision deficiency to emulate.",
|
8259
|
+
"description": "Vision deficiency to emulate. Order: best-effort emulations come first, followed by any\nphysiologically accurate emulations for medically recognized color vision deficiencies.",
|
8322
8260
|
"type": "string",
|
8323
8261
|
"enum": [
|
8324
8262
|
"none",
|
8325
|
-
"achromatopsia",
|
8326
8263
|
"blurredVision",
|
8264
|
+
"reducedContrast",
|
8265
|
+
"achromatopsia",
|
8327
8266
|
"deuteranopia",
|
8328
8267
|
"protanopia",
|
8329
8268
|
"tritanopia"
|
@@ -9139,7 +9078,7 @@
|
|
9139
9078
|
},
|
9140
9079
|
{
|
9141
9080
|
"name": "getMetadata",
|
9142
|
-
"description": "Gets metadata of an object store",
|
9081
|
+
"description": "Gets metadata of an object store.",
|
9143
9082
|
"parameters": [
|
9144
9083
|
{
|
9145
9084
|
"name": "securityOrigin",
|
@@ -16497,6 +16436,18 @@
|
|
16497
16436
|
"ActivatedDuringMainFrameNavigation",
|
16498
16437
|
"PreloadingUnsupportedByWebContents"
|
16499
16438
|
]
|
16439
|
+
},
|
16440
|
+
{
|
16441
|
+
"id": "PrefetchStatus",
|
16442
|
+
"description": "List of Prefetch status, which refers to PreloadingTriggeringOutcome.",
|
16443
|
+
"type": "string",
|
16444
|
+
"enum": [
|
16445
|
+
"Running",
|
16446
|
+
"Ready",
|
16447
|
+
"Success",
|
16448
|
+
"Failure",
|
16449
|
+
"NotSupported"
|
16450
|
+
]
|
16500
16451
|
}
|
16501
16452
|
],
|
16502
16453
|
"commands": [
|
@@ -18097,6 +18048,26 @@
|
|
18097
18048
|
}
|
18098
18049
|
]
|
18099
18050
|
},
|
18051
|
+
{
|
18052
|
+
"name": "prefetchStatusUpdated",
|
18053
|
+
"description": "TODO(crbug/1384419): Create a dedicated domain for preloading.\nFired when a prefetch attempt is updated.",
|
18054
|
+
"experimental": true,
|
18055
|
+
"parameters": [
|
18056
|
+
{
|
18057
|
+
"name": "initiatingFrameId",
|
18058
|
+
"description": "The frame id of the frame initiating prefetch.",
|
18059
|
+
"$ref": "FrameId"
|
18060
|
+
},
|
18061
|
+
{
|
18062
|
+
"name": "prefetchUrl",
|
18063
|
+
"type": "string"
|
18064
|
+
},
|
18065
|
+
{
|
18066
|
+
"name": "status",
|
18067
|
+
"$ref": "PrefetchStatus"
|
18068
|
+
}
|
18069
|
+
]
|
18070
|
+
},
|
18100
18071
|
{
|
18101
18072
|
"name": "loadEventFired",
|
18102
18073
|
"parameters": [
|
@@ -19758,6 +19729,24 @@
|
|
19758
19729
|
}
|
19759
19730
|
]
|
19760
19731
|
},
|
19732
|
+
{
|
19733
|
+
"name": "clearTrustTokens",
|
19734
|
+
"description": "Removes all Trust Tokens issued by the provided issuerOrigin.\nLeaves other stored data, including the issuer's Redemption Records, intact.",
|
19735
|
+
"experimental": true,
|
19736
|
+
"parameters": [
|
19737
|
+
{
|
19738
|
+
"name": "issuerOrigin",
|
19739
|
+
"type": "string"
|
19740
|
+
}
|
19741
|
+
],
|
19742
|
+
"returns": [
|
19743
|
+
{
|
19744
|
+
"name": "didDeleteTokens",
|
19745
|
+
"description": "True if any tokens were deleted, false otherwise.",
|
19746
|
+
"type": "boolean"
|
19747
|
+
}
|
19748
|
+
]
|
19749
|
+
},
|
19761
19750
|
{
|
19762
19751
|
"name": "getInterestGroupDetails",
|
19763
19752
|
"description": "Gets details for a named interest group.",
|
@@ -22806,6 +22795,91 @@
|
|
22806
22795
|
"description": "Disables the Media domain."
|
22807
22796
|
}
|
22808
22797
|
]
|
22798
|
+
},
|
22799
|
+
{
|
22800
|
+
"domain": "DeviceAccess",
|
22801
|
+
"experimental": true,
|
22802
|
+
"types": [
|
22803
|
+
{
|
22804
|
+
"id": "RequestId",
|
22805
|
+
"description": "Device request id.",
|
22806
|
+
"type": "string"
|
22807
|
+
},
|
22808
|
+
{
|
22809
|
+
"id": "DeviceId",
|
22810
|
+
"description": "A device id.",
|
22811
|
+
"type": "string"
|
22812
|
+
},
|
22813
|
+
{
|
22814
|
+
"id": "PromptDevice",
|
22815
|
+
"description": "Device information displayed in a user prompt to select a device.",
|
22816
|
+
"type": "object",
|
22817
|
+
"properties": [
|
22818
|
+
{
|
22819
|
+
"name": "id",
|
22820
|
+
"$ref": "DeviceId"
|
22821
|
+
},
|
22822
|
+
{
|
22823
|
+
"name": "name",
|
22824
|
+
"description": "Display name as it appears in a device request user prompt.",
|
22825
|
+
"type": "string"
|
22826
|
+
}
|
22827
|
+
]
|
22828
|
+
}
|
22829
|
+
],
|
22830
|
+
"commands": [
|
22831
|
+
{
|
22832
|
+
"name": "enable",
|
22833
|
+
"description": "Enable events in this domain."
|
22834
|
+
},
|
22835
|
+
{
|
22836
|
+
"name": "disable",
|
22837
|
+
"description": "Disable events in this domain."
|
22838
|
+
},
|
22839
|
+
{
|
22840
|
+
"name": "selectPrompt",
|
22841
|
+
"description": "Select a device in response to a DeviceAccess.deviceRequestPrompted event.",
|
22842
|
+
"parameters": [
|
22843
|
+
{
|
22844
|
+
"name": "id",
|
22845
|
+
"$ref": "RequestId"
|
22846
|
+
},
|
22847
|
+
{
|
22848
|
+
"name": "deviceId",
|
22849
|
+
"$ref": "DeviceId"
|
22850
|
+
}
|
22851
|
+
]
|
22852
|
+
},
|
22853
|
+
{
|
22854
|
+
"name": "cancelPrompt",
|
22855
|
+
"description": "Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.",
|
22856
|
+
"parameters": [
|
22857
|
+
{
|
22858
|
+
"name": "id",
|
22859
|
+
"$ref": "RequestId"
|
22860
|
+
}
|
22861
|
+
]
|
22862
|
+
}
|
22863
|
+
],
|
22864
|
+
"events": [
|
22865
|
+
{
|
22866
|
+
"name": "deviceRequestPrompted",
|
22867
|
+
"description": "A device request opened a user prompt to select a device. Respond with the\nselectPrompt or cancelPrompt command.",
|
22868
|
+
"parameters": [
|
22869
|
+
{
|
22870
|
+
"name": "id",
|
22871
|
+
"$ref": "RequestId"
|
22872
|
+
},
|
22873
|
+
{
|
22874
|
+
"name": "devices",
|
22875
|
+
"type": "array",
|
22876
|
+
"items": {
|
22877
|
+
"$ref": "PromptDevice"
|
22878
|
+
}
|
22879
|
+
}
|
22880
|
+
]
|
22881
|
+
}
|
22882
|
+
]
|
22809
22883
|
}
|
22810
22884
|
]
|
22811
22885
|
}
|
package/json/js_protocol.json
CHANGED
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -203,7 +203,7 @@ experimental domain Accessibility
|
|
203
203
|
optional DOM.BackendNodeId backendNodeId
|
204
204
|
# JavaScript object id of the node wrapper to get the partial accessibility tree for.
|
205
205
|
optional Runtime.RemoteObjectId objectId
|
206
|
-
# Whether to fetch this
|
206
|
+
# Whether to fetch this node's ancestors, siblings and children. Defaults to true.
|
207
207
|
optional boolean fetchRelatives
|
208
208
|
returns
|
209
209
|
# The `Accessibility.AXNode` for this DOM node, if it exists, plus its ancestors, siblings and
|
@@ -761,73 +761,14 @@ experimental domain Audits
|
|
761
761
|
optional Page.FrameId frameId
|
762
762
|
optional DOM.BackendNodeId violatingNodeId
|
763
763
|
|
764
|
-
type DeprecationIssueType extends string
|
765
|
-
enum
|
766
|
-
AuthorizationCoveredByWildcard
|
767
|
-
CanRequestURLHTTPContainingNewline
|
768
|
-
ChromeLoadTimesConnectionInfo
|
769
|
-
ChromeLoadTimesFirstPaintAfterLoadTime
|
770
|
-
ChromeLoadTimesWasAlternateProtocolAvailable
|
771
|
-
CookieWithTruncatingChar
|
772
|
-
CrossOriginAccessBasedOnDocumentDomain
|
773
|
-
CrossOriginWindowAlert
|
774
|
-
CrossOriginWindowConfirm
|
775
|
-
CSSSelectorInternalMediaControlsOverlayCastButton
|
776
|
-
DeprecationExample
|
777
|
-
DocumentDomainSettingWithoutOriginAgentClusterHeader
|
778
|
-
EventPath
|
779
|
-
ExpectCTHeader
|
780
|
-
GeolocationInsecureOrigin
|
781
|
-
GeolocationInsecureOriginDeprecatedNotRemoved
|
782
|
-
GetUserMediaInsecureOrigin
|
783
|
-
HostCandidateAttributeGetter
|
784
|
-
IdentityInCanMakePaymentEvent
|
785
|
-
InsecurePrivateNetworkSubresourceRequest
|
786
|
-
LocalCSSFileExtensionRejected
|
787
|
-
MediaSourceAbortRemove
|
788
|
-
MediaSourceDurationTruncatingBuffered
|
789
|
-
NoSysexWebMIDIWithoutPermission
|
790
|
-
NotificationInsecureOrigin
|
791
|
-
NotificationPermissionRequestedIframe
|
792
|
-
ObsoleteCreateImageBitmapImageOrientationNone
|
793
|
-
ObsoleteWebRtcCipherSuite
|
794
|
-
OpenWebDatabaseInsecureContext
|
795
|
-
OverflowVisibleOnReplacedElement
|
796
|
-
PaymentInstruments
|
797
|
-
PaymentRequestCSPViolation
|
798
|
-
PersistentQuotaType
|
799
|
-
PictureSourceSrc
|
800
|
-
PrefixedCancelAnimationFrame
|
801
|
-
PrefixedRequestAnimationFrame
|
802
|
-
PrefixedStorageInfo
|
803
|
-
PrefixedVideoDisplayingFullscreen
|
804
|
-
PrefixedVideoEnterFullscreen
|
805
|
-
PrefixedVideoEnterFullScreen
|
806
|
-
PrefixedVideoExitFullscreen
|
807
|
-
PrefixedVideoExitFullScreen
|
808
|
-
PrefixedVideoSupportsFullscreen
|
809
|
-
PrivacySandboxExtensionsAPI
|
810
|
-
RangeExpand
|
811
|
-
RequestedSubresourceWithEmbeddedCredentials
|
812
|
-
RTCConstraintEnableDtlsSrtpFalse
|
813
|
-
RTCConstraintEnableDtlsSrtpTrue
|
814
|
-
RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics
|
815
|
-
RTCPeerConnectionSdpSemanticsPlanB
|
816
|
-
RtcpMuxPolicyNegotiate
|
817
|
-
SharedArrayBufferConstructedWithoutIsolation
|
818
|
-
TextToSpeech_DisallowedByAutoplay
|
819
|
-
V8SharedArrayBufferConstructedInExtensionWithoutIsolation
|
820
|
-
XHRJSONEncodingDetection
|
821
|
-
XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload
|
822
|
-
XRSupportsSession
|
823
|
-
|
824
764
|
# This issue tracks information needed to print a deprecation message.
|
825
765
|
# https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
|
826
766
|
type DeprecationIssueDetails extends object
|
827
767
|
properties
|
828
768
|
optional AffectedFrame affectedFrame
|
829
769
|
SourceCodeLocation sourceCodeLocation
|
830
|
-
|
770
|
+
# One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
|
771
|
+
string type
|
831
772
|
|
832
773
|
type ClientHintIssueReason extends string
|
833
774
|
enum
|
@@ -1902,7 +1843,7 @@ experimental domain CSS
|
|
1902
1843
|
# Polls the next batch of computed style updates.
|
1903
1844
|
experimental command takeComputedStyleUpdates
|
1904
1845
|
returns
|
1905
|
-
# The list of node Ids that have their tracked computed styles updated
|
1846
|
+
# The list of node Ids that have their tracked computed styles updated.
|
1906
1847
|
array of DOM.NodeId nodeIds
|
1907
1848
|
|
1908
1849
|
# Find a rule with the given active property for the given node and set the new value for this
|
@@ -1995,13 +1936,13 @@ experimental domain CSS
|
|
1995
1936
|
command startRuleUsageTracking
|
1996
1937
|
|
1997
1938
|
# Stop tracking rule usage and return the list of rules that were used since last call to
|
1998
|
-
# `takeCoverageDelta` (or since start of coverage instrumentation)
|
1939
|
+
# `takeCoverageDelta` (or since start of coverage instrumentation).
|
1999
1940
|
command stopRuleUsageTracking
|
2000
1941
|
returns
|
2001
1942
|
array of RuleUsage ruleUsage
|
2002
1943
|
|
2003
1944
|
# Obtain list of rules that became used since last call to this method (or since start of coverage
|
2004
|
-
# instrumentation)
|
1945
|
+
# instrumentation).
|
2005
1946
|
command takeCoverageDelta
|
2006
1947
|
returns
|
2007
1948
|
array of RuleUsage coverage
|
@@ -2015,7 +1956,7 @@ experimental domain CSS
|
|
2015
1956
|
boolean enabled
|
2016
1957
|
|
2017
1958
|
# Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
2018
|
-
# web font
|
1959
|
+
# web font.
|
2019
1960
|
event fontsUpdated
|
2020
1961
|
parameters
|
2021
1962
|
# The web font that has loaded.
|
@@ -3810,11 +3751,13 @@ domain Emulation
|
|
3810
3751
|
# Emulates the given vision deficiency.
|
3811
3752
|
experimental command setEmulatedVisionDeficiency
|
3812
3753
|
parameters
|
3813
|
-
# Vision deficiency to emulate.
|
3754
|
+
# Vision deficiency to emulate. Order: best-effort emulations come first, followed by any
|
3755
|
+
# physiologically accurate emulations for medically recognized color vision deficiencies.
|
3814
3756
|
enum type
|
3815
3757
|
none
|
3816
|
-
achromatopsia
|
3817
3758
|
blurredVision
|
3759
|
+
reducedContrast
|
3760
|
+
achromatopsia
|
3818
3761
|
deuteranopia
|
3819
3762
|
protanopia
|
3820
3763
|
tritanopia
|
@@ -4196,7 +4139,7 @@ experimental domain IndexedDB
|
|
4196
4139
|
# If true, there are more entries to fetch in the given range.
|
4197
4140
|
boolean hasMore
|
4198
4141
|
|
4199
|
-
# Gets metadata of an object store
|
4142
|
+
# Gets metadata of an object store.
|
4200
4143
|
command getMetadata
|
4201
4144
|
parameters
|
4202
4145
|
# At least and at most one of securityOrigin, storageKey must be specified.
|
@@ -8612,6 +8555,25 @@ domain Page
|
|
8612
8555
|
# that is incompatible with prerender and has caused the cancellation of the attempt
|
8613
8556
|
optional string disallowedApiMethod
|
8614
8557
|
|
8558
|
+
# List of Prefetch status, which refers to PreloadingTriggeringOutcome.
|
8559
|
+
type PrefetchStatus extends string
|
8560
|
+
enum
|
8561
|
+
Running
|
8562
|
+
Ready
|
8563
|
+
Success
|
8564
|
+
Failure
|
8565
|
+
# PreloadingTriggeringOutcome which not used by prefetch.
|
8566
|
+
NotSupported
|
8567
|
+
|
8568
|
+
# TODO(crbug/1384419): Create a dedicated domain for preloading.
|
8569
|
+
# Fired when a prefetch attempt is updated.
|
8570
|
+
experimental event prefetchStatusUpdated
|
8571
|
+
parameters
|
8572
|
+
# The frame id of the frame initiating prefetch.
|
8573
|
+
FrameId initiatingFrameId
|
8574
|
+
string prefetchUrl
|
8575
|
+
PrefetchStatus status
|
8576
|
+
|
8615
8577
|
event loadEventFired
|
8616
8578
|
parameters
|
8617
8579
|
Network.MonotonicTime timestamp
|
@@ -9371,6 +9333,15 @@ experimental domain Storage
|
|
9371
9333
|
returns
|
9372
9334
|
array of TrustTokens tokens
|
9373
9335
|
|
9336
|
+
# Removes all Trust Tokens issued by the provided issuerOrigin.
|
9337
|
+
# Leaves other stored data, including the issuer's Redemption Records, intact.
|
9338
|
+
experimental command clearTrustTokens
|
9339
|
+
parameters
|
9340
|
+
string issuerOrigin
|
9341
|
+
returns
|
9342
|
+
# True if any tokens were deleted, false otherwise.
|
9343
|
+
boolean didDeleteTokens
|
9344
|
+
|
9374
9345
|
# Gets details for a named interest group.
|
9375
9346
|
experimental command getInterestGroupDetails
|
9376
9347
|
parameters
|
@@ -10805,3 +10776,41 @@ experimental domain Media
|
|
10805
10776
|
|
10806
10777
|
# Disables the Media domain.
|
10807
10778
|
command disable
|
10779
|
+
|
10780
|
+
experimental domain DeviceAccess
|
10781
|
+
# Device request id.
|
10782
|
+
type RequestId extends string
|
10783
|
+
|
10784
|
+
# A device id.
|
10785
|
+
type DeviceId extends string
|
10786
|
+
|
10787
|
+
# Device information displayed in a user prompt to select a device.
|
10788
|
+
type PromptDevice extends object
|
10789
|
+
properties
|
10790
|
+
DeviceId id
|
10791
|
+
# Display name as it appears in a device request user prompt.
|
10792
|
+
string name
|
10793
|
+
|
10794
|
+
# Enable events in this domain.
|
10795
|
+
command enable
|
10796
|
+
|
10797
|
+
# Disable events in this domain.
|
10798
|
+
command disable
|
10799
|
+
|
10800
|
+
# Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
10801
|
+
command selectPrompt
|
10802
|
+
parameters
|
10803
|
+
RequestId id
|
10804
|
+
DeviceId deviceId
|
10805
|
+
|
10806
|
+
# Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
10807
|
+
command cancelPrompt
|
10808
|
+
parameters
|
10809
|
+
RequestId id
|
10810
|
+
|
10811
|
+
# A device request opened a user prompt to select a device. Respond with the
|
10812
|
+
# selectPrompt or cancelPrompt command.
|
10813
|
+
event deviceRequestPrompted
|
10814
|
+
parameters
|
10815
|
+
RequestId id
|
10816
|
+
array of PromptDevice devices
|
package/pdl/js_protocol.pdl
CHANGED
@@ -511,6 +511,7 @@ domain Debugger
|
|
511
511
|
CompileError
|
512
512
|
BlockedByActiveGenerator
|
513
513
|
BlockedByActiveFunction
|
514
|
+
BlockedByTopLevelEsModuleChange
|
514
515
|
# Exception details if any. Only present when `status` is `CompileError`.
|
515
516
|
optional Runtime.ExceptionDetails exceptionDetails
|
516
517
|
|
@@ -133,7 +133,7 @@ export namespace ProtocolMapping {
|
|
133
133
|
'Browser.downloadProgress': [Protocol.Browser.DownloadProgressEvent];
|
134
134
|
/**
|
135
135
|
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
136
|
-
* web font
|
136
|
+
* web font.
|
137
137
|
*/
|
138
138
|
'CSS.fontsUpdated': [Protocol.CSS.FontsUpdatedEvent];
|
139
139
|
/**
|
@@ -486,6 +486,11 @@ export namespace ProtocolMapping {
|
|
486
486
|
* Fired when a prerender attempt is completed.
|
487
487
|
*/
|
488
488
|
'Page.prerenderAttemptCompleted': [Protocol.Page.PrerenderAttemptCompletedEvent];
|
489
|
+
/**
|
490
|
+
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
491
|
+
* Fired when a prefetch attempt is updated.
|
492
|
+
*/
|
493
|
+
'Page.prefetchStatusUpdated': [Protocol.Page.PrefetchStatusUpdatedEvent];
|
489
494
|
'Page.loadEventFired': [Protocol.Page.LoadEventFiredEvent];
|
490
495
|
/**
|
491
496
|
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
@@ -704,6 +709,11 @@ export namespace ProtocolMapping {
|
|
704
709
|
* list of player ids and all events again.
|
705
710
|
*/
|
706
711
|
'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
|
712
|
+
/**
|
713
|
+
* A device request opened a user prompt to select a device. Respond with the
|
714
|
+
* selectPrompt or cancelPrompt command.
|
715
|
+
*/
|
716
|
+
'DeviceAccess.deviceRequestPrompted': [Protocol.DeviceAccess.DeviceRequestPromptedEvent];
|
707
717
|
}
|
708
718
|
|
709
719
|
export interface Commands {
|
@@ -1773,7 +1783,7 @@ export namespace ProtocolMapping {
|
|
1773
1783
|
};
|
1774
1784
|
/**
|
1775
1785
|
* Stop tracking rule usage and return the list of rules that were used since last call to
|
1776
|
-
* `takeCoverageDelta` (or since start of coverage instrumentation)
|
1786
|
+
* `takeCoverageDelta` (or since start of coverage instrumentation).
|
1777
1787
|
*/
|
1778
1788
|
'CSS.stopRuleUsageTracking': {
|
1779
1789
|
paramsType: [];
|
@@ -1781,7 +1791,7 @@ export namespace ProtocolMapping {
|
|
1781
1791
|
};
|
1782
1792
|
/**
|
1783
1793
|
* Obtain list of rules that became used since last call to this method (or since start of coverage
|
1784
|
-
* instrumentation)
|
1794
|
+
* instrumentation).
|
1785
1795
|
*/
|
1786
1796
|
'CSS.takeCoverageDelta': {
|
1787
1797
|
paramsType: [];
|
@@ -2711,7 +2721,7 @@ export namespace ProtocolMapping {
|
|
2711
2721
|
returnType: Protocol.IndexedDB.RequestDataResponse;
|
2712
2722
|
};
|
2713
2723
|
/**
|
2714
|
-
* Gets metadata of an object store
|
2724
|
+
* Gets metadata of an object store.
|
2715
2725
|
*/
|
2716
2726
|
'IndexedDB.getMetadata': {
|
2717
2727
|
paramsType: [Protocol.IndexedDB.GetMetadataRequest];
|
@@ -4107,6 +4117,14 @@ export namespace ProtocolMapping {
|
|
4107
4117
|
paramsType: [];
|
4108
4118
|
returnType: Protocol.Storage.GetTrustTokensResponse;
|
4109
4119
|
};
|
4120
|
+
/**
|
4121
|
+
* Removes all Trust Tokens issued by the provided issuerOrigin.
|
4122
|
+
* Leaves other stored data, including the issuer's Redemption Records, intact.
|
4123
|
+
*/
|
4124
|
+
'Storage.clearTrustTokens': {
|
4125
|
+
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
4126
|
+
returnType: Protocol.Storage.ClearTrustTokensResponse;
|
4127
|
+
};
|
4110
4128
|
/**
|
4111
4129
|
* Gets details for a named interest group.
|
4112
4130
|
*/
|
@@ -4583,6 +4601,34 @@ export namespace ProtocolMapping {
|
|
4583
4601
|
paramsType: [];
|
4584
4602
|
returnType: void;
|
4585
4603
|
};
|
4604
|
+
/**
|
4605
|
+
* Enable events in this domain.
|
4606
|
+
*/
|
4607
|
+
'DeviceAccess.enable': {
|
4608
|
+
paramsType: [];
|
4609
|
+
returnType: void;
|
4610
|
+
};
|
4611
|
+
/**
|
4612
|
+
* Disable events in this domain.
|
4613
|
+
*/
|
4614
|
+
'DeviceAccess.disable': {
|
4615
|
+
paramsType: [];
|
4616
|
+
returnType: void;
|
4617
|
+
};
|
4618
|
+
/**
|
4619
|
+
* Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
4620
|
+
*/
|
4621
|
+
'DeviceAccess.selectPrompt': {
|
4622
|
+
paramsType: [Protocol.DeviceAccess.SelectPromptRequest];
|
4623
|
+
returnType: void;
|
4624
|
+
};
|
4625
|
+
/**
|
4626
|
+
* Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
4627
|
+
*/
|
4628
|
+
'DeviceAccess.cancelPrompt': {
|
4629
|
+
paramsType: [Protocol.DeviceAccess.CancelPromptRequest];
|
4630
|
+
returnType: void;
|
4631
|
+
};
|
4586
4632
|
}
|
4587
4633
|
}
|
4588
4634
|
|
@@ -102,6 +102,8 @@ export namespace ProtocolProxyApi {
|
|
102
102
|
|
103
103
|
Media: MediaApi;
|
104
104
|
|
105
|
+
DeviceAccess: DeviceAccessApi;
|
106
|
+
|
105
107
|
}
|
106
108
|
|
107
109
|
|
@@ -1061,13 +1063,13 @@ export namespace ProtocolProxyApi {
|
|
1061
1063
|
|
1062
1064
|
/**
|
1063
1065
|
* Stop tracking rule usage and return the list of rules that were used since last call to
|
1064
|
-
* `takeCoverageDelta` (or since start of coverage instrumentation)
|
1066
|
+
* `takeCoverageDelta` (or since start of coverage instrumentation).
|
1065
1067
|
*/
|
1066
1068
|
stopRuleUsageTracking(): Promise<Protocol.CSS.StopRuleUsageTrackingResponse>;
|
1067
1069
|
|
1068
1070
|
/**
|
1069
1071
|
* Obtain list of rules that became used since last call to this method (or since start of coverage
|
1070
|
-
* instrumentation)
|
1072
|
+
* instrumentation).
|
1071
1073
|
*/
|
1072
1074
|
takeCoverageDelta(): Promise<Protocol.CSS.TakeCoverageDeltaResponse>;
|
1073
1075
|
|
@@ -1078,7 +1080,7 @@ export namespace ProtocolProxyApi {
|
|
1078
1080
|
|
1079
1081
|
/**
|
1080
1082
|
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
1081
|
-
* web font
|
1083
|
+
* web font.
|
1082
1084
|
*/
|
1083
1085
|
on(event: 'fontsUpdated', listener: (params: Protocol.CSS.FontsUpdatedEvent) => void): void;
|
1084
1086
|
|
@@ -1904,7 +1906,7 @@ export namespace ProtocolProxyApi {
|
|
1904
1906
|
requestData(params: Protocol.IndexedDB.RequestDataRequest): Promise<Protocol.IndexedDB.RequestDataResponse>;
|
1905
1907
|
|
1906
1908
|
/**
|
1907
|
-
* Gets metadata of an object store
|
1909
|
+
* Gets metadata of an object store.
|
1908
1910
|
*/
|
1909
1911
|
getMetadata(params: Protocol.IndexedDB.GetMetadataRequest): Promise<Protocol.IndexedDB.GetMetadataResponse>;
|
1910
1912
|
|
@@ -3069,6 +3071,12 @@ export namespace ProtocolProxyApi {
|
|
3069
3071
|
*/
|
3070
3072
|
on(event: 'prerenderAttemptCompleted', listener: (params: Protocol.Page.PrerenderAttemptCompletedEvent) => void): void;
|
3071
3073
|
|
3074
|
+
/**
|
3075
|
+
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
3076
|
+
* Fired when a prefetch attempt is updated.
|
3077
|
+
*/
|
3078
|
+
on(event: 'prefetchStatusUpdated', listener: (params: Protocol.Page.PrefetchStatusUpdatedEvent) => void): void;
|
3079
|
+
|
3072
3080
|
on(event: 'loadEventFired', listener: (params: Protocol.Page.LoadEventFiredEvent) => void): void;
|
3073
3081
|
|
3074
3082
|
/**
|
@@ -3313,6 +3321,12 @@ export namespace ProtocolProxyApi {
|
|
3313
3321
|
*/
|
3314
3322
|
getTrustTokens(): Promise<Protocol.Storage.GetTrustTokensResponse>;
|
3315
3323
|
|
3324
|
+
/**
|
3325
|
+
* Removes all Trust Tokens issued by the provided issuerOrigin.
|
3326
|
+
* Leaves other stored data, including the issuer's Redemption Records, intact.
|
3327
|
+
*/
|
3328
|
+
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
|
3329
|
+
|
3316
3330
|
/**
|
3317
3331
|
* Gets details for a named interest group.
|
3318
3332
|
*/
|
@@ -3898,6 +3912,35 @@ export namespace ProtocolProxyApi {
|
|
3898
3912
|
on(event: 'playersCreated', listener: (params: Protocol.Media.PlayersCreatedEvent) => void): void;
|
3899
3913
|
|
3900
3914
|
}
|
3915
|
+
|
3916
|
+
export interface DeviceAccessApi {
|
3917
|
+
/**
|
3918
|
+
* Enable events in this domain.
|
3919
|
+
*/
|
3920
|
+
enable(): Promise<void>;
|
3921
|
+
|
3922
|
+
/**
|
3923
|
+
* Disable events in this domain.
|
3924
|
+
*/
|
3925
|
+
disable(): Promise<void>;
|
3926
|
+
|
3927
|
+
/**
|
3928
|
+
* Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
3929
|
+
*/
|
3930
|
+
selectPrompt(params: Protocol.DeviceAccess.SelectPromptRequest): Promise<void>;
|
3931
|
+
|
3932
|
+
/**
|
3933
|
+
* Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
3934
|
+
*/
|
3935
|
+
cancelPrompt(params: Protocol.DeviceAccess.CancelPromptRequest): Promise<void>;
|
3936
|
+
|
3937
|
+
/**
|
3938
|
+
* A device request opened a user prompt to select a device. Respond with the
|
3939
|
+
* selectPrompt or cancelPrompt command.
|
3940
|
+
*/
|
3941
|
+
on(event: 'deviceRequestPrompted', listener: (params: Protocol.DeviceAccess.DeviceRequestPromptedEvent) => void): void;
|
3942
|
+
|
3943
|
+
}
|
3901
3944
|
}
|
3902
3945
|
|
3903
3946
|
export default ProtocolProxyApi;
|
package/types/protocol.d.ts
CHANGED
@@ -712,6 +712,7 @@ export namespace Protocol {
|
|
712
712
|
CompileError = 'CompileError',
|
713
713
|
BlockedByActiveGenerator = 'BlockedByActiveGenerator',
|
714
714
|
BlockedByActiveFunction = 'BlockedByActiveFunction',
|
715
|
+
BlockedByTopLevelEsModuleChange = 'BlockedByTopLevelEsModuleChange',
|
715
716
|
}
|
716
717
|
|
717
718
|
export interface SetScriptSourceRequest {
|
@@ -757,7 +758,7 @@ export namespace Protocol {
|
|
757
758
|
* successful live edit while the other enum variants denote why
|
758
759
|
* the live edit failed. (SetScriptSourceResponseStatus enum)
|
759
760
|
*/
|
760
|
-
status: ('Ok' | 'CompileError' | 'BlockedByActiveGenerator' | 'BlockedByActiveFunction');
|
761
|
+
status: ('Ok' | 'CompileError' | 'BlockedByActiveGenerator' | 'BlockedByActiveFunction' | 'BlockedByTopLevelEsModuleChange');
|
761
762
|
/**
|
762
763
|
* Exception details if any. Only present when `status` is `CompileError`.
|
763
764
|
*/
|
@@ -2814,7 +2815,7 @@ export namespace Protocol {
|
|
2814
2815
|
*/
|
2815
2816
|
objectId?: Runtime.RemoteObjectId;
|
2816
2817
|
/**
|
2817
|
-
* Whether to fetch this
|
2818
|
+
* Whether to fetch this node's ancestors, siblings and children. Defaults to true.
|
2818
2819
|
*/
|
2819
2820
|
fetchRelatives?: boolean;
|
2820
2821
|
}
|
@@ -3456,8 +3457,6 @@ export namespace Protocol {
|
|
3456
3457
|
violatingNodeId?: DOM.BackendNodeId;
|
3457
3458
|
}
|
3458
3459
|
|
3459
|
-
export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteCreateImageBitmapImageOrientationNone' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'OverflowVisibleOnReplacedElement' | 'PaymentInstruments' | 'PaymentRequestCSPViolation' | 'PersistentQuotaType' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'PrivacySandboxExtensionsAPI' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
|
3460
|
-
|
3461
3460
|
/**
|
3462
3461
|
* This issue tracks information needed to print a deprecation message.
|
3463
3462
|
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
|
@@ -3465,7 +3464,10 @@ export namespace Protocol {
|
|
3465
3464
|
export interface DeprecationIssueDetails {
|
3466
3465
|
affectedFrame?: AffectedFrame;
|
3467
3466
|
sourceCodeLocation: SourceCodeLocation;
|
3468
|
-
|
3467
|
+
/**
|
3468
|
+
* One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
|
3469
|
+
*/
|
3470
|
+
type: string;
|
3469
3471
|
}
|
3470
3472
|
|
3471
3473
|
export type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
|
@@ -4956,7 +4958,7 @@ export namespace Protocol {
|
|
4956
4958
|
|
4957
4959
|
export interface TakeComputedStyleUpdatesResponse {
|
4958
4960
|
/**
|
4959
|
-
* The list of node Ids that have their tracked computed styles updated
|
4961
|
+
* The list of node Ids that have their tracked computed styles updated.
|
4960
4962
|
*/
|
4961
4963
|
nodeIds: DOM.NodeId[];
|
4962
4964
|
}
|
@@ -5092,7 +5094,7 @@ export namespace Protocol {
|
|
5092
5094
|
|
5093
5095
|
/**
|
5094
5096
|
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
5095
|
-
* web font
|
5097
|
+
* web font.
|
5096
5098
|
*/
|
5097
5099
|
export interface FontsUpdatedEvent {
|
5098
5100
|
/**
|
@@ -7668,8 +7670,9 @@ export namespace Protocol {
|
|
7668
7670
|
|
7669
7671
|
export const enum SetEmulatedVisionDeficiencyRequestType {
|
7670
7672
|
None = 'none',
|
7671
|
-
Achromatopsia = 'achromatopsia',
|
7672
7673
|
BlurredVision = 'blurredVision',
|
7674
|
+
ReducedContrast = 'reducedContrast',
|
7675
|
+
Achromatopsia = 'achromatopsia',
|
7673
7676
|
Deuteranopia = 'deuteranopia',
|
7674
7677
|
Protanopia = 'protanopia',
|
7675
7678
|
Tritanopia = 'tritanopia',
|
@@ -7677,9 +7680,10 @@ export namespace Protocol {
|
|
7677
7680
|
|
7678
7681
|
export interface SetEmulatedVisionDeficiencyRequest {
|
7679
7682
|
/**
|
7680
|
-
* Vision deficiency to emulate.
|
7683
|
+
* Vision deficiency to emulate. Order: best-effort emulations come first, followed by any
|
7684
|
+
* physiologically accurate emulations for medically recognized color vision deficiencies. (SetEmulatedVisionDeficiencyRequestType enum)
|
7681
7685
|
*/
|
7682
|
-
type: ('none' | '
|
7686
|
+
type: ('none' | 'blurredVision' | 'reducedContrast' | 'achromatopsia' | 'deuteranopia' | 'protanopia' | 'tritanopia');
|
7683
7687
|
}
|
7684
7688
|
|
7685
7689
|
export interface SetGeolocationOverrideRequest {
|
@@ -12902,6 +12906,11 @@ export namespace Protocol {
|
|
12902
12906
|
*/
|
12903
12907
|
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents');
|
12904
12908
|
|
12909
|
+
/**
|
12910
|
+
* List of Prefetch status, which refers to PreloadingTriggeringOutcome.
|
12911
|
+
*/
|
12912
|
+
export type PrefetchStatus = ('Running' | 'Ready' | 'Success' | 'Failure' | 'NotSupported');
|
12913
|
+
|
12905
12914
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12906
12915
|
scriptSource: string;
|
12907
12916
|
}
|
@@ -13937,6 +13946,19 @@ export namespace Protocol {
|
|
13937
13946
|
disallowedApiMethod?: string;
|
13938
13947
|
}
|
13939
13948
|
|
13949
|
+
/**
|
13950
|
+
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
13951
|
+
* Fired when a prefetch attempt is updated.
|
13952
|
+
*/
|
13953
|
+
export interface PrefetchStatusUpdatedEvent {
|
13954
|
+
/**
|
13955
|
+
* The frame id of the frame initiating prefetch.
|
13956
|
+
*/
|
13957
|
+
initiatingFrameId: FrameId;
|
13958
|
+
prefetchUrl: string;
|
13959
|
+
status: PrefetchStatus;
|
13960
|
+
}
|
13961
|
+
|
13940
13962
|
export interface LoadEventFiredEvent {
|
13941
13963
|
timestamp: Network.MonotonicTime;
|
13942
13964
|
}
|
@@ -14901,6 +14923,17 @@ export namespace Protocol {
|
|
14901
14923
|
tokens: TrustTokens[];
|
14902
14924
|
}
|
14903
14925
|
|
14926
|
+
export interface ClearTrustTokensRequest {
|
14927
|
+
issuerOrigin: string;
|
14928
|
+
}
|
14929
|
+
|
14930
|
+
export interface ClearTrustTokensResponse {
|
14931
|
+
/**
|
14932
|
+
* True if any tokens were deleted, false otherwise.
|
14933
|
+
*/
|
14934
|
+
didDeleteTokens: boolean;
|
14935
|
+
}
|
14936
|
+
|
14904
14937
|
export interface GetInterestGroupDetailsRequest {
|
14905
14938
|
ownerOrigin: string;
|
14906
14939
|
name: string;
|
@@ -16820,6 +16853,48 @@ export namespace Protocol {
|
|
16820
16853
|
players: PlayerId[];
|
16821
16854
|
}
|
16822
16855
|
}
|
16856
|
+
|
16857
|
+
export namespace DeviceAccess {
|
16858
|
+
|
16859
|
+
/**
|
16860
|
+
* Device request id.
|
16861
|
+
*/
|
16862
|
+
export type RequestId = string;
|
16863
|
+
|
16864
|
+
/**
|
16865
|
+
* A device id.
|
16866
|
+
*/
|
16867
|
+
export type DeviceId = string;
|
16868
|
+
|
16869
|
+
/**
|
16870
|
+
* Device information displayed in a user prompt to select a device.
|
16871
|
+
*/
|
16872
|
+
export interface PromptDevice {
|
16873
|
+
id: DeviceId;
|
16874
|
+
/**
|
16875
|
+
* Display name as it appears in a device request user prompt.
|
16876
|
+
*/
|
16877
|
+
name: string;
|
16878
|
+
}
|
16879
|
+
|
16880
|
+
export interface SelectPromptRequest {
|
16881
|
+
id: RequestId;
|
16882
|
+
deviceId: DeviceId;
|
16883
|
+
}
|
16884
|
+
|
16885
|
+
export interface CancelPromptRequest {
|
16886
|
+
id: RequestId;
|
16887
|
+
}
|
16888
|
+
|
16889
|
+
/**
|
16890
|
+
* A device request opened a user prompt to select a device. Respond with the
|
16891
|
+
* selectPrompt or cancelPrompt command.
|
16892
|
+
*/
|
16893
|
+
export interface DeviceRequestPromptedEvent {
|
16894
|
+
id: RequestId;
|
16895
|
+
devices: PromptDevice[];
|
16896
|
+
}
|
16897
|
+
}
|
16823
16898
|
}
|
16824
16899
|
|
16825
16900
|
export default Protocol;
|