devtools-protocol 0.0.1101985 → 0.0.1103117
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 +30 -73
- package/json/js_protocol.json +2 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +22 -69
- package/pdl/js_protocol.pdl +1 -0
- package/types/protocol-mapping.d.ts +13 -4
- package/types/protocol-proxy-api.d.ts +11 -4
- package/types/protocol.d.ts +25 -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",
|
@@ -5414,7 +5352,7 @@
|
|
5414
5352
|
},
|
5415
5353
|
{
|
5416
5354
|
"name": "getDocument",
|
5417
|
-
"description": "Returns the root DOM node (and optionally the subtree) to the caller.",
|
5355
|
+
"description": "Returns the root DOM node (and optionally the subtree) to the caller.\nImplicitly enables the DOM domain events for the current target.",
|
5418
5356
|
"parameters": [
|
5419
5357
|
{
|
5420
5358
|
"name": "depth",
|
@@ -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",
|
@@ -19758,6 +19697,24 @@
|
|
19758
19697
|
}
|
19759
19698
|
]
|
19760
19699
|
},
|
19700
|
+
{
|
19701
|
+
"name": "clearTrustTokens",
|
19702
|
+
"description": "Removes all Trust Tokens issued by the provided issuerOrigin.\nLeaves other stored data, including the issuer's Redemption Records, intact.",
|
19703
|
+
"experimental": true,
|
19704
|
+
"parameters": [
|
19705
|
+
{
|
19706
|
+
"name": "issuerOrigin",
|
19707
|
+
"type": "string"
|
19708
|
+
}
|
19709
|
+
],
|
19710
|
+
"returns": [
|
19711
|
+
{
|
19712
|
+
"name": "didDeleteTokens",
|
19713
|
+
"description": "True if any tokens were deleted, false otherwise.",
|
19714
|
+
"type": "boolean"
|
19715
|
+
}
|
19716
|
+
]
|
19717
|
+
},
|
19761
19718
|
{
|
19762
19719
|
"name": "getInterestGroupDetails",
|
19763
19720
|
"description": "Gets details for a named interest group.",
|
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.
|
@@ -2556,6 +2497,7 @@ domain DOM
|
|
2556
2497
|
array of Quad quads
|
2557
2498
|
|
2558
2499
|
# Returns the root DOM node (and optionally the subtree) to the caller.
|
2500
|
+
# Implicitly enables the DOM domain events for the current target.
|
2559
2501
|
command getDocument
|
2560
2502
|
parameters
|
2561
2503
|
# The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the
|
@@ -3809,11 +3751,13 @@ domain Emulation
|
|
3809
3751
|
# Emulates the given vision deficiency.
|
3810
3752
|
experimental command setEmulatedVisionDeficiency
|
3811
3753
|
parameters
|
3812
|
-
# 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.
|
3813
3756
|
enum type
|
3814
3757
|
none
|
3815
|
-
achromatopsia
|
3816
3758
|
blurredVision
|
3759
|
+
reducedContrast
|
3760
|
+
achromatopsia
|
3817
3761
|
deuteranopia
|
3818
3762
|
protanopia
|
3819
3763
|
tritanopia
|
@@ -4195,7 +4139,7 @@ experimental domain IndexedDB
|
|
4195
4139
|
# If true, there are more entries to fetch in the given range.
|
4196
4140
|
boolean hasMore
|
4197
4141
|
|
4198
|
-
# Gets metadata of an object store
|
4142
|
+
# Gets metadata of an object store.
|
4199
4143
|
command getMetadata
|
4200
4144
|
parameters
|
4201
4145
|
# At least and at most one of securityOrigin, storageKey must be specified.
|
@@ -9370,6 +9314,15 @@ experimental domain Storage
|
|
9370
9314
|
returns
|
9371
9315
|
array of TrustTokens tokens
|
9372
9316
|
|
9317
|
+
# Removes all Trust Tokens issued by the provided issuerOrigin.
|
9318
|
+
# Leaves other stored data, including the issuer's Redemption Records, intact.
|
9319
|
+
experimental command clearTrustTokens
|
9320
|
+
parameters
|
9321
|
+
string issuerOrigin
|
9322
|
+
returns
|
9323
|
+
# True if any tokens were deleted, false otherwise.
|
9324
|
+
boolean didDeleteTokens
|
9325
|
+
|
9373
9326
|
# Gets details for a named interest group.
|
9374
9327
|
experimental command getInterestGroupDetails
|
9375
9328
|
parameters
|
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
|
/**
|
@@ -1773,7 +1773,7 @@ export namespace ProtocolMapping {
|
|
1773
1773
|
};
|
1774
1774
|
/**
|
1775
1775
|
* 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)
|
1776
|
+
* `takeCoverageDelta` (or since start of coverage instrumentation).
|
1777
1777
|
*/
|
1778
1778
|
'CSS.stopRuleUsageTracking': {
|
1779
1779
|
paramsType: [];
|
@@ -1781,7 +1781,7 @@ export namespace ProtocolMapping {
|
|
1781
1781
|
};
|
1782
1782
|
/**
|
1783
1783
|
* Obtain list of rules that became used since last call to this method (or since start of coverage
|
1784
|
-
* instrumentation)
|
1784
|
+
* instrumentation).
|
1785
1785
|
*/
|
1786
1786
|
'CSS.takeCoverageDelta': {
|
1787
1787
|
paramsType: [];
|
@@ -1961,6 +1961,7 @@ export namespace ProtocolMapping {
|
|
1961
1961
|
};
|
1962
1962
|
/**
|
1963
1963
|
* Returns the root DOM node (and optionally the subtree) to the caller.
|
1964
|
+
* Implicitly enables the DOM domain events for the current target.
|
1964
1965
|
*/
|
1965
1966
|
'DOM.getDocument': {
|
1966
1967
|
paramsType: [Protocol.DOM.GetDocumentRequest?];
|
@@ -2710,7 +2711,7 @@ export namespace ProtocolMapping {
|
|
2710
2711
|
returnType: Protocol.IndexedDB.RequestDataResponse;
|
2711
2712
|
};
|
2712
2713
|
/**
|
2713
|
-
* Gets metadata of an object store
|
2714
|
+
* Gets metadata of an object store.
|
2714
2715
|
*/
|
2715
2716
|
'IndexedDB.getMetadata': {
|
2716
2717
|
paramsType: [Protocol.IndexedDB.GetMetadataRequest];
|
@@ -4106,6 +4107,14 @@ export namespace ProtocolMapping {
|
|
4106
4107
|
paramsType: [];
|
4107
4108
|
returnType: Protocol.Storage.GetTrustTokensResponse;
|
4108
4109
|
};
|
4110
|
+
/**
|
4111
|
+
* Removes all Trust Tokens issued by the provided issuerOrigin.
|
4112
|
+
* Leaves other stored data, including the issuer's Redemption Records, intact.
|
4113
|
+
*/
|
4114
|
+
'Storage.clearTrustTokens': {
|
4115
|
+
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
4116
|
+
returnType: Protocol.Storage.ClearTrustTokensResponse;
|
4117
|
+
};
|
4109
4118
|
/**
|
4110
4119
|
* Gets details for a named interest group.
|
4111
4120
|
*/
|
@@ -1061,13 +1061,13 @@ export namespace ProtocolProxyApi {
|
|
1061
1061
|
|
1062
1062
|
/**
|
1063
1063
|
* 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)
|
1064
|
+
* `takeCoverageDelta` (or since start of coverage instrumentation).
|
1065
1065
|
*/
|
1066
1066
|
stopRuleUsageTracking(): Promise<Protocol.CSS.StopRuleUsageTrackingResponse>;
|
1067
1067
|
|
1068
1068
|
/**
|
1069
1069
|
* Obtain list of rules that became used since last call to this method (or since start of coverage
|
1070
|
-
* instrumentation)
|
1070
|
+
* instrumentation).
|
1071
1071
|
*/
|
1072
1072
|
takeCoverageDelta(): Promise<Protocol.CSS.TakeCoverageDeltaResponse>;
|
1073
1073
|
|
@@ -1078,7 +1078,7 @@ export namespace ProtocolProxyApi {
|
|
1078
1078
|
|
1079
1079
|
/**
|
1080
1080
|
* Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded
|
1081
|
-
* web font
|
1081
|
+
* web font.
|
1082
1082
|
*/
|
1083
1083
|
on(event: 'fontsUpdated', listener: (params: Protocol.CSS.FontsUpdatedEvent) => void): void;
|
1084
1084
|
|
@@ -1247,6 +1247,7 @@ export namespace ProtocolProxyApi {
|
|
1247
1247
|
|
1248
1248
|
/**
|
1249
1249
|
* Returns the root DOM node (and optionally the subtree) to the caller.
|
1250
|
+
* Implicitly enables the DOM domain events for the current target.
|
1250
1251
|
*/
|
1251
1252
|
getDocument(params: Protocol.DOM.GetDocumentRequest): Promise<Protocol.DOM.GetDocumentResponse>;
|
1252
1253
|
|
@@ -1903,7 +1904,7 @@ export namespace ProtocolProxyApi {
|
|
1903
1904
|
requestData(params: Protocol.IndexedDB.RequestDataRequest): Promise<Protocol.IndexedDB.RequestDataResponse>;
|
1904
1905
|
|
1905
1906
|
/**
|
1906
|
-
* Gets metadata of an object store
|
1907
|
+
* Gets metadata of an object store.
|
1907
1908
|
*/
|
1908
1909
|
getMetadata(params: Protocol.IndexedDB.GetMetadataRequest): Promise<Protocol.IndexedDB.GetMetadataResponse>;
|
1909
1910
|
|
@@ -3312,6 +3313,12 @@ export namespace ProtocolProxyApi {
|
|
3312
3313
|
*/
|
3313
3314
|
getTrustTokens(): Promise<Protocol.Storage.GetTrustTokensResponse>;
|
3314
3315
|
|
3316
|
+
/**
|
3317
|
+
* Removes all Trust Tokens issued by the provided issuerOrigin.
|
3318
|
+
* Leaves other stored data, including the issuer's Redemption Records, intact.
|
3319
|
+
*/
|
3320
|
+
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
|
3321
|
+
|
3315
3322
|
/**
|
3316
3323
|
* Gets details for a named interest group.
|
3317
3324
|
*/
|
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 {
|
@@ -14901,6 +14905,17 @@ export namespace Protocol {
|
|
14901
14905
|
tokens: TrustTokens[];
|
14902
14906
|
}
|
14903
14907
|
|
14908
|
+
export interface ClearTrustTokensRequest {
|
14909
|
+
issuerOrigin: string;
|
14910
|
+
}
|
14911
|
+
|
14912
|
+
export interface ClearTrustTokensResponse {
|
14913
|
+
/**
|
14914
|
+
* True if any tokens were deleted, false otherwise.
|
14915
|
+
*/
|
14916
|
+
didDeleteTokens: boolean;
|
14917
|
+
}
|
14918
|
+
|
14904
14919
|
export interface GetInterestGroupDetailsRequest {
|
14905
14920
|
ownerOrigin: string;
|
14906
14921
|
name: string;
|