devtools-protocol 0.0.1578551 → 0.0.1580600
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 +83 -0
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +16 -0
- package/pdl/domains/Overlay.pdl +24 -0
- package/pdl/domains/Page.pdl +1 -0
- package/types/protocol-mapping.d.ts +12 -0
- package/types/protocol-proxy-api.d.ts +12 -0
- package/types/protocol-tests-proxy-api.d.ts +16 -0
- package/types/protocol.d.ts +48 -2
|
@@ -1615,6 +1615,18 @@
|
|
|
1615
1615
|
"IncorrectDigestLength"
|
|
1616
1616
|
]
|
|
1617
1617
|
},
|
|
1618
|
+
{
|
|
1619
|
+
"id": "ConnectionAllowlistError",
|
|
1620
|
+
"type": "string",
|
|
1621
|
+
"enum": [
|
|
1622
|
+
"InvalidHeader",
|
|
1623
|
+
"MoreThanOneList",
|
|
1624
|
+
"ItemNotInnerList",
|
|
1625
|
+
"InvalidAllowlistItemType",
|
|
1626
|
+
"ReportingEndpointNotToken",
|
|
1627
|
+
"InvalidUrlPattern"
|
|
1628
|
+
]
|
|
1629
|
+
},
|
|
1618
1630
|
{
|
|
1619
1631
|
"id": "AttributionReportingIssueDetails",
|
|
1620
1632
|
"description": "Details for issues around \"Attribution Reporting API\" usage.\nExplainer: https://github.com/WICG/attribution-reporting-api",
|
|
@@ -1738,6 +1750,20 @@
|
|
|
1738
1750
|
}
|
|
1739
1751
|
]
|
|
1740
1752
|
},
|
|
1753
|
+
{
|
|
1754
|
+
"id": "ConnectionAllowlistIssueDetails",
|
|
1755
|
+
"type": "object",
|
|
1756
|
+
"properties": [
|
|
1757
|
+
{
|
|
1758
|
+
"name": "error",
|
|
1759
|
+
"$ref": "ConnectionAllowlistError"
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "request",
|
|
1763
|
+
"$ref": "AffectedRequest"
|
|
1764
|
+
}
|
|
1765
|
+
]
|
|
1766
|
+
},
|
|
1741
1767
|
{
|
|
1742
1768
|
"id": "GenericIssueErrorType",
|
|
1743
1769
|
"type": "string",
|
|
@@ -2248,6 +2274,7 @@
|
|
|
2248
2274
|
"ElementAccessibilityIssue",
|
|
2249
2275
|
"SRIMessageSignatureIssue",
|
|
2250
2276
|
"UnencodedDigestIssue",
|
|
2277
|
+
"ConnectionAllowlistIssue",
|
|
2251
2278
|
"UserReidentificationIssue",
|
|
2252
2279
|
"PermissionElementIssue"
|
|
2253
2280
|
]
|
|
@@ -2383,6 +2410,11 @@
|
|
|
2383
2410
|
"optional": true,
|
|
2384
2411
|
"$ref": "UnencodedDigestIssueDetails"
|
|
2385
2412
|
},
|
|
2413
|
+
{
|
|
2414
|
+
"name": "connectionAllowlistIssueDetails",
|
|
2415
|
+
"optional": true,
|
|
2416
|
+
"$ref": "ConnectionAllowlistIssueDetails"
|
|
2417
|
+
},
|
|
2386
2418
|
{
|
|
2387
2419
|
"name": "userReidentificationIssueDetails",
|
|
2388
2420
|
"optional": true,
|
|
@@ -20284,6 +20316,24 @@
|
|
|
20284
20316
|
"captureAreaScreenshot",
|
|
20285
20317
|
"none"
|
|
20286
20318
|
]
|
|
20319
|
+
},
|
|
20320
|
+
{
|
|
20321
|
+
"id": "InspectedElementAnchorConfig",
|
|
20322
|
+
"type": "object",
|
|
20323
|
+
"properties": [
|
|
20324
|
+
{
|
|
20325
|
+
"name": "nodeId",
|
|
20326
|
+
"description": "Identifier of the node to highlight.",
|
|
20327
|
+
"optional": true,
|
|
20328
|
+
"$ref": "DOM.NodeId"
|
|
20329
|
+
},
|
|
20330
|
+
{
|
|
20331
|
+
"name": "backendNodeId",
|
|
20332
|
+
"description": "Identifier of the backend node to highlight.",
|
|
20333
|
+
"optional": true,
|
|
20334
|
+
"$ref": "DOM.BackendNodeId"
|
|
20335
|
+
}
|
|
20336
|
+
]
|
|
20287
20337
|
}
|
|
20288
20338
|
],
|
|
20289
20339
|
"commands": [
|
|
@@ -20643,6 +20693,16 @@
|
|
|
20643
20693
|
}
|
|
20644
20694
|
]
|
|
20645
20695
|
},
|
|
20696
|
+
{
|
|
20697
|
+
"name": "setShowInspectedElementAnchor",
|
|
20698
|
+
"parameters": [
|
|
20699
|
+
{
|
|
20700
|
+
"name": "inspectedElementAnchorConfig",
|
|
20701
|
+
"description": "Node identifier for which to show an anchor for.",
|
|
20702
|
+
"$ref": "InspectedElementAnchorConfig"
|
|
20703
|
+
}
|
|
20704
|
+
]
|
|
20705
|
+
},
|
|
20646
20706
|
{
|
|
20647
20707
|
"name": "setShowPaintRects",
|
|
20648
20708
|
"description": "Requests that backend shows paint rectangles",
|
|
@@ -20782,6 +20842,28 @@
|
|
|
20782
20842
|
}
|
|
20783
20843
|
]
|
|
20784
20844
|
},
|
|
20845
|
+
{
|
|
20846
|
+
"name": "inspectPanelShowRequested",
|
|
20847
|
+
"description": "Fired when user asks to show the Inspect panel.",
|
|
20848
|
+
"parameters": [
|
|
20849
|
+
{
|
|
20850
|
+
"name": "backendNodeId",
|
|
20851
|
+
"description": "Id of the node to show in the panel.",
|
|
20852
|
+
"$ref": "DOM.BackendNodeId"
|
|
20853
|
+
}
|
|
20854
|
+
]
|
|
20855
|
+
},
|
|
20856
|
+
{
|
|
20857
|
+
"name": "inspectedElementWindowRestored",
|
|
20858
|
+
"description": "Fired when user asks to restore the Inspected Element floating window.",
|
|
20859
|
+
"parameters": [
|
|
20860
|
+
{
|
|
20861
|
+
"name": "backendNodeId",
|
|
20862
|
+
"description": "Id of the node to restore the floating window for.",
|
|
20863
|
+
"$ref": "DOM.BackendNodeId"
|
|
20864
|
+
}
|
|
20865
|
+
]
|
|
20866
|
+
},
|
|
20785
20867
|
{
|
|
20786
20868
|
"name": "inspectModeCanceled",
|
|
20787
20869
|
"description": "Fired when user cancels the inspect mode."
|
|
@@ -22513,6 +22595,7 @@
|
|
|
22513
22595
|
"SharedWorkerMessage",
|
|
22514
22596
|
"SharedWorkerWithNoActiveClient",
|
|
22515
22597
|
"WebLocks",
|
|
22598
|
+
"WebLocksContention",
|
|
22516
22599
|
"WebHID",
|
|
22517
22600
|
"WebBluetooth",
|
|
22518
22601
|
"WebShare",
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -353,6 +353,15 @@ experimental domain Audits
|
|
|
353
353
|
IncorrectDigestType
|
|
354
354
|
IncorrectDigestLength
|
|
355
355
|
|
|
356
|
+
type ConnectionAllowlistError extends string
|
|
357
|
+
enum
|
|
358
|
+
InvalidHeader
|
|
359
|
+
MoreThanOneList
|
|
360
|
+
ItemNotInnerList
|
|
361
|
+
InvalidAllowlistItemType
|
|
362
|
+
ReportingEndpointNotToken
|
|
363
|
+
InvalidUrlPattern
|
|
364
|
+
|
|
356
365
|
# Details for issues around "Attribution Reporting API" usage.
|
|
357
366
|
# Explainer: https://github.com/WICG/attribution-reporting-api
|
|
358
367
|
type AttributionReportingIssueDetails extends object
|
|
@@ -396,6 +405,11 @@ experimental domain Audits
|
|
|
396
405
|
UnencodedDigestError error
|
|
397
406
|
AffectedRequest request
|
|
398
407
|
|
|
408
|
+
type ConnectionAllowlistIssueDetails extends object
|
|
409
|
+
properties
|
|
410
|
+
ConnectionAllowlistError error
|
|
411
|
+
AffectedRequest request
|
|
412
|
+
|
|
399
413
|
type GenericIssueErrorType extends string
|
|
400
414
|
enum
|
|
401
415
|
FormLabelForNameError
|
|
@@ -709,6 +723,7 @@ experimental domain Audits
|
|
|
709
723
|
ElementAccessibilityIssue
|
|
710
724
|
SRIMessageSignatureIssue
|
|
711
725
|
UnencodedDigestIssue
|
|
726
|
+
ConnectionAllowlistIssue
|
|
712
727
|
UserReidentificationIssue
|
|
713
728
|
PermissionElementIssue
|
|
714
729
|
|
|
@@ -742,6 +757,7 @@ experimental domain Audits
|
|
|
742
757
|
optional ElementAccessibilityIssueDetails elementAccessibilityIssueDetails
|
|
743
758
|
optional SRIMessageSignatureIssueDetails sriMessageSignatureIssueDetails
|
|
744
759
|
optional UnencodedDigestIssueDetails unencodedDigestIssueDetails
|
|
760
|
+
optional ConnectionAllowlistIssueDetails connectionAllowlistIssueDetails
|
|
745
761
|
optional UserReidentificationIssueDetails userReidentificationIssueDetails
|
|
746
762
|
optional PermissionElementIssueDetails permissionElementIssueDetails
|
|
747
763
|
|
package/pdl/domains/Overlay.pdl
CHANGED
|
@@ -255,6 +255,13 @@ experimental domain Overlay
|
|
|
255
255
|
captureAreaScreenshot
|
|
256
256
|
none
|
|
257
257
|
|
|
258
|
+
type InspectedElementAnchorConfig extends object
|
|
259
|
+
properties
|
|
260
|
+
# Identifier of the node to highlight.
|
|
261
|
+
optional DOM.NodeId nodeId
|
|
262
|
+
# Identifier of the backend node to highlight.
|
|
263
|
+
optional DOM.BackendNodeId backendNodeId
|
|
264
|
+
|
|
258
265
|
# Disables domain notifications.
|
|
259
266
|
command disable
|
|
260
267
|
|
|
@@ -423,6 +430,11 @@ experimental domain Overlay
|
|
|
423
430
|
# An array of node identifiers and descriptors for the highlight appearance.
|
|
424
431
|
array of ContainerQueryHighlightConfig containerQueryHighlightConfigs
|
|
425
432
|
|
|
433
|
+
command setShowInspectedElementAnchor
|
|
434
|
+
parameters
|
|
435
|
+
# Node identifier for which to show an anchor for.
|
|
436
|
+
InspectedElementAnchorConfig inspectedElementAnchorConfig
|
|
437
|
+
|
|
426
438
|
# Requests that backend shows paint rectangles
|
|
427
439
|
command setShowPaintRects
|
|
428
440
|
parameters
|
|
@@ -494,5 +506,17 @@ experimental domain Overlay
|
|
|
494
506
|
# Viewport to capture, in device independent pixels (dip).
|
|
495
507
|
Page.Viewport viewport
|
|
496
508
|
|
|
509
|
+
# Fired when user asks to show the Inspect panel.
|
|
510
|
+
event inspectPanelShowRequested
|
|
511
|
+
parameters
|
|
512
|
+
# Id of the node to show in the panel.
|
|
513
|
+
DOM.BackendNodeId backendNodeId
|
|
514
|
+
|
|
515
|
+
# Fired when user asks to restore the Inspected Element floating window.
|
|
516
|
+
event inspectedElementWindowRestored
|
|
517
|
+
parameters
|
|
518
|
+
# Id of the node to restore the floating window for.
|
|
519
|
+
DOM.BackendNodeId backendNodeId
|
|
520
|
+
|
|
497
521
|
# Fired when user cancels the inspect mode.
|
|
498
522
|
event inspectModeCanceled
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -605,6 +605,14 @@ export namespace ProtocolMapping {
|
|
|
605
605
|
* Fired when user asks to capture screenshot of some area on the page.
|
|
606
606
|
*/
|
|
607
607
|
'Overlay.screenshotRequested': [Protocol.Overlay.ScreenshotRequestedEvent];
|
|
608
|
+
/**
|
|
609
|
+
* Fired when user asks to show the Inspect panel.
|
|
610
|
+
*/
|
|
611
|
+
'Overlay.inspectPanelShowRequested': [Protocol.Overlay.InspectPanelShowRequestedEvent];
|
|
612
|
+
/**
|
|
613
|
+
* Fired when user asks to restore the Inspected Element floating window.
|
|
614
|
+
*/
|
|
615
|
+
'Overlay.inspectedElementWindowRestored': [Protocol.Overlay.InspectedElementWindowRestoredEvent];
|
|
608
616
|
/**
|
|
609
617
|
* Fired when user cancels the inspect mode.
|
|
610
618
|
*/
|
|
@@ -4663,6 +4671,10 @@ export namespace ProtocolMapping {
|
|
|
4663
4671
|
paramsType: [Protocol.Overlay.SetShowContainerQueryOverlaysRequest];
|
|
4664
4672
|
returnType: void;
|
|
4665
4673
|
};
|
|
4674
|
+
'Overlay.setShowInspectedElementAnchor': {
|
|
4675
|
+
paramsType: [Protocol.Overlay.SetShowInspectedElementAnchorRequest];
|
|
4676
|
+
returnType: void;
|
|
4677
|
+
};
|
|
4666
4678
|
/**
|
|
4667
4679
|
* Requests that backend shows paint rectangles
|
|
4668
4680
|
*/
|
|
@@ -3587,6 +3587,8 @@ export namespace ProtocolProxyApi {
|
|
|
3587
3587
|
|
|
3588
3588
|
setShowContainerQueryOverlays(params: Protocol.Overlay.SetShowContainerQueryOverlaysRequest): Promise<void>;
|
|
3589
3589
|
|
|
3590
|
+
setShowInspectedElementAnchor(params: Protocol.Overlay.SetShowInspectedElementAnchorRequest): Promise<void>;
|
|
3591
|
+
|
|
3590
3592
|
/**
|
|
3591
3593
|
* Requests that backend shows paint rectangles
|
|
3592
3594
|
*/
|
|
@@ -3650,6 +3652,16 @@ export namespace ProtocolProxyApi {
|
|
|
3650
3652
|
*/
|
|
3651
3653
|
on(event: 'screenshotRequested', listener: (params: Protocol.Overlay.ScreenshotRequestedEvent) => void): void;
|
|
3652
3654
|
|
|
3655
|
+
/**
|
|
3656
|
+
* Fired when user asks to show the Inspect panel.
|
|
3657
|
+
*/
|
|
3658
|
+
on(event: 'inspectPanelShowRequested', listener: (params: Protocol.Overlay.InspectPanelShowRequestedEvent) => void): void;
|
|
3659
|
+
|
|
3660
|
+
/**
|
|
3661
|
+
* Fired when user asks to restore the Inspected Element floating window.
|
|
3662
|
+
*/
|
|
3663
|
+
on(event: 'inspectedElementWindowRestored', listener: (params: Protocol.Overlay.InspectedElementWindowRestoredEvent) => void): void;
|
|
3664
|
+
|
|
3653
3665
|
/**
|
|
3654
3666
|
* Fired when user cancels the inspect mode.
|
|
3655
3667
|
*/
|
|
@@ -3847,6 +3847,8 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3847
3847
|
|
|
3848
3848
|
setShowContainerQueryOverlays(params: Protocol.Overlay.SetShowContainerQueryOverlaysRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3849
3849
|
|
|
3850
|
+
setShowInspectedElementAnchor(params: Protocol.Overlay.SetShowInspectedElementAnchorRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3851
|
+
|
|
3850
3852
|
/**
|
|
3851
3853
|
* Requests that backend shows paint rectangles
|
|
3852
3854
|
*/
|
|
@@ -3916,6 +3918,20 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3916
3918
|
offScreenshotRequested(listener: (event: { params: Protocol.Overlay.ScreenshotRequestedEvent }) => void): void;
|
|
3917
3919
|
onceScreenshotRequested(eventMatcher?: (event: { params: Protocol.Overlay.ScreenshotRequestedEvent }) => boolean): Promise<{ params: Protocol.Overlay.ScreenshotRequestedEvent }>;
|
|
3918
3920
|
|
|
3921
|
+
/**
|
|
3922
|
+
* Fired when user asks to show the Inspect panel.
|
|
3923
|
+
*/
|
|
3924
|
+
onInspectPanelShowRequested(listener: (event: { params: Protocol.Overlay.InspectPanelShowRequestedEvent }) => void): void;
|
|
3925
|
+
offInspectPanelShowRequested(listener: (event: { params: Protocol.Overlay.InspectPanelShowRequestedEvent }) => void): void;
|
|
3926
|
+
onceInspectPanelShowRequested(eventMatcher?: (event: { params: Protocol.Overlay.InspectPanelShowRequestedEvent }) => boolean): Promise<{ params: Protocol.Overlay.InspectPanelShowRequestedEvent }>;
|
|
3927
|
+
|
|
3928
|
+
/**
|
|
3929
|
+
* Fired when user asks to restore the Inspected Element floating window.
|
|
3930
|
+
*/
|
|
3931
|
+
onInspectedElementWindowRestored(listener: (event: { params: Protocol.Overlay.InspectedElementWindowRestoredEvent }) => void): void;
|
|
3932
|
+
offInspectedElementWindowRestored(listener: (event: { params: Protocol.Overlay.InspectedElementWindowRestoredEvent }) => void): void;
|
|
3933
|
+
onceInspectedElementWindowRestored(eventMatcher?: (event: { params: Protocol.Overlay.InspectedElementWindowRestoredEvent }) => boolean): Promise<{ params: Protocol.Overlay.InspectedElementWindowRestoredEvent }>;
|
|
3934
|
+
|
|
3919
3935
|
/**
|
|
3920
3936
|
* Fired when user cancels the inspect mode.
|
|
3921
3937
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -3646,6 +3646,8 @@ export namespace Protocol {
|
|
|
3646
3646
|
|
|
3647
3647
|
export type UnencodedDigestError = ('MalformedDictionary' | 'UnknownAlgorithm' | 'IncorrectDigestType' | 'IncorrectDigestLength');
|
|
3648
3648
|
|
|
3649
|
+
export type ConnectionAllowlistError = ('InvalidHeader' | 'MoreThanOneList' | 'ItemNotInnerList' | 'InvalidAllowlistItemType' | 'ReportingEndpointNotToken' | 'InvalidUrlPattern');
|
|
3650
|
+
|
|
3649
3651
|
/**
|
|
3650
3652
|
* Details for issues around "Attribution Reporting API" usage.
|
|
3651
3653
|
* Explainer: https://github.com/WICG/attribution-reporting-api
|
|
@@ -3698,6 +3700,11 @@ export namespace Protocol {
|
|
|
3698
3700
|
request: AffectedRequest;
|
|
3699
3701
|
}
|
|
3700
3702
|
|
|
3703
|
+
export interface ConnectionAllowlistIssueDetails {
|
|
3704
|
+
error: ConnectionAllowlistError;
|
|
3705
|
+
request: AffectedRequest;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3701
3708
|
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo');
|
|
3702
3709
|
|
|
3703
3710
|
/**
|
|
@@ -3924,7 +3931,7 @@ export namespace Protocol {
|
|
|
3924
3931
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
3925
3932
|
* information about the kind of issue.
|
|
3926
3933
|
*/
|
|
3927
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue');
|
|
3934
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue');
|
|
3928
3935
|
|
|
3929
3936
|
/**
|
|
3930
3937
|
* This struct holds a list of optional fields with additional information
|
|
@@ -3960,6 +3967,7 @@ export namespace Protocol {
|
|
|
3960
3967
|
elementAccessibilityIssueDetails?: ElementAccessibilityIssueDetails;
|
|
3961
3968
|
sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
|
|
3962
3969
|
unencodedDigestIssueDetails?: UnencodedDigestIssueDetails;
|
|
3970
|
+
connectionAllowlistIssueDetails?: ConnectionAllowlistIssueDetails;
|
|
3963
3971
|
userReidentificationIssueDetails?: UserReidentificationIssueDetails;
|
|
3964
3972
|
permissionElementIssueDetails?: PermissionElementIssueDetails;
|
|
3965
3973
|
}
|
|
@@ -15719,6 +15727,17 @@ export namespace Protocol {
|
|
|
15719
15727
|
|
|
15720
15728
|
export type InspectMode = ('searchForNode' | 'searchForUAShadowDOM' | 'captureAreaScreenshot' | 'none');
|
|
15721
15729
|
|
|
15730
|
+
export interface InspectedElementAnchorConfig {
|
|
15731
|
+
/**
|
|
15732
|
+
* Identifier of the node to highlight.
|
|
15733
|
+
*/
|
|
15734
|
+
nodeId?: DOM.NodeId;
|
|
15735
|
+
/**
|
|
15736
|
+
* Identifier of the backend node to highlight.
|
|
15737
|
+
*/
|
|
15738
|
+
backendNodeId?: DOM.BackendNodeId;
|
|
15739
|
+
}
|
|
15740
|
+
|
|
15722
15741
|
export interface GetHighlightObjectForTestRequest {
|
|
15723
15742
|
/**
|
|
15724
15743
|
* Id of the node to get highlight object for.
|
|
@@ -15944,6 +15963,13 @@ export namespace Protocol {
|
|
|
15944
15963
|
containerQueryHighlightConfigs: ContainerQueryHighlightConfig[];
|
|
15945
15964
|
}
|
|
15946
15965
|
|
|
15966
|
+
export interface SetShowInspectedElementAnchorRequest {
|
|
15967
|
+
/**
|
|
15968
|
+
* Node identifier for which to show an anchor for.
|
|
15969
|
+
*/
|
|
15970
|
+
inspectedElementAnchorConfig: InspectedElementAnchorConfig;
|
|
15971
|
+
}
|
|
15972
|
+
|
|
15947
15973
|
export interface SetShowPaintRectsRequest {
|
|
15948
15974
|
/**
|
|
15949
15975
|
* True for showing paint rectangles
|
|
@@ -16031,6 +16057,26 @@ export namespace Protocol {
|
|
|
16031
16057
|
*/
|
|
16032
16058
|
viewport: Page.Viewport;
|
|
16033
16059
|
}
|
|
16060
|
+
|
|
16061
|
+
/**
|
|
16062
|
+
* Fired when user asks to show the Inspect panel.
|
|
16063
|
+
*/
|
|
16064
|
+
export interface InspectPanelShowRequestedEvent {
|
|
16065
|
+
/**
|
|
16066
|
+
* Id of the node to show in the panel.
|
|
16067
|
+
*/
|
|
16068
|
+
backendNodeId: DOM.BackendNodeId;
|
|
16069
|
+
}
|
|
16070
|
+
|
|
16071
|
+
/**
|
|
16072
|
+
* Fired when user asks to restore the Inspected Element floating window.
|
|
16073
|
+
*/
|
|
16074
|
+
export interface InspectedElementWindowRestoredEvent {
|
|
16075
|
+
/**
|
|
16076
|
+
* Id of the node to restore the floating window for.
|
|
16077
|
+
*/
|
|
16078
|
+
backendNodeId: DOM.BackendNodeId;
|
|
16079
|
+
}
|
|
16034
16080
|
}
|
|
16035
16081
|
|
|
16036
16082
|
/**
|
|
@@ -16956,7 +17002,7 @@ export namespace Protocol {
|
|
|
16956
17002
|
* List of not restored reasons for back-forward cache.
|
|
16957
17003
|
* @experimental
|
|
16958
17004
|
*/
|
|
16959
|
-
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' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'SharedWorkerMessage' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebHID' | 'WebBluetooth' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCUsedWithCCNS' | 'WebTransportUsedWithCCNS' | 'WebSocketUsedWithCCNS' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
|
|
17005
|
+
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' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'SharedWorkerMessage' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebLocksContention' | 'WebHID' | 'WebBluetooth' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCUsedWithCCNS' | 'WebTransportUsedWithCCNS' | 'WebSocketUsedWithCCNS' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
|
|
16960
17006
|
|
|
16961
17007
|
/**
|
|
16962
17008
|
* Types of not restored reasons for back-forward cache.
|