devtools-protocol 0.0.1289136 → 0.0.1292262
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.
@@ -1487,6 +1487,35 @@
|
|
1487
1487
|
"NoRegisterOsTriggerHeader"
|
1488
1488
|
]
|
1489
1489
|
},
|
1490
|
+
{
|
1491
|
+
"id": "SharedDictionaryError",
|
1492
|
+
"type": "string",
|
1493
|
+
"enum": [
|
1494
|
+
"UseErrorCrossOriginNoCorsRequest",
|
1495
|
+
"UseErrorDictionaryLoadFailure",
|
1496
|
+
"UseErrorMatchingDictionaryNotUsed",
|
1497
|
+
"UseErrorUnexpectedContentDictionaryHeader",
|
1498
|
+
"WriteErrorCossOriginNoCorsRequest",
|
1499
|
+
"WriteErrorDisallowedBySettings",
|
1500
|
+
"WriteErrorExpiredResponse",
|
1501
|
+
"WriteErrorFeatureDisabled",
|
1502
|
+
"WriteErrorInsufficientResources",
|
1503
|
+
"WriteErrorInvalidMatchField",
|
1504
|
+
"WriteErrorInvalidStructuredHeader",
|
1505
|
+
"WriteErrorNavigationRequest",
|
1506
|
+
"WriteErrorNoMatchField",
|
1507
|
+
"WriteErrorNonListMatchDestField",
|
1508
|
+
"WriteErrorNonSecureContext",
|
1509
|
+
"WriteErrorNonStringIdField",
|
1510
|
+
"WriteErrorNonStringInMatchDestList",
|
1511
|
+
"WriteErrorNonStringMatchField",
|
1512
|
+
"WriteErrorNonTokenTypeField",
|
1513
|
+
"WriteErrorRequestAborted",
|
1514
|
+
"WriteErrorShuttingDown",
|
1515
|
+
"WriteErrorTooLongIdField",
|
1516
|
+
"WriteErrorUnsupportedType"
|
1517
|
+
]
|
1518
|
+
},
|
1490
1519
|
{
|
1491
1520
|
"id": "AttributionReportingIssueDetails",
|
1492
1521
|
"description": "Details for issues around \"Attribution Reporting API\" usage.\nExplainer: https://github.com/WICG/attribution-reporting-api",
|
@@ -1557,6 +1586,20 @@
|
|
1557
1586
|
}
|
1558
1587
|
]
|
1559
1588
|
},
|
1589
|
+
{
|
1590
|
+
"id": "SharedDictionaryIssueDetails",
|
1591
|
+
"type": "object",
|
1592
|
+
"properties": [
|
1593
|
+
{
|
1594
|
+
"name": "sharedDictionaryError",
|
1595
|
+
"$ref": "SharedDictionaryError"
|
1596
|
+
},
|
1597
|
+
{
|
1598
|
+
"name": "request",
|
1599
|
+
"$ref": "AffectedRequest"
|
1600
|
+
}
|
1601
|
+
]
|
1602
|
+
},
|
1560
1603
|
{
|
1561
1604
|
"id": "GenericIssueErrorType",
|
1562
1605
|
"type": "string",
|
@@ -1871,7 +1914,8 @@
|
|
1871
1914
|
"CookieDeprecationMetadataIssue",
|
1872
1915
|
"StylesheetLoadingIssue",
|
1873
1916
|
"FederatedAuthUserInfoRequestIssue",
|
1874
|
-
"PropertyRuleIssue"
|
1917
|
+
"PropertyRuleIssue",
|
1918
|
+
"SharedDictionaryIssue"
|
1875
1919
|
]
|
1876
1920
|
},
|
1877
1921
|
{
|
@@ -1979,6 +2023,11 @@
|
|
1979
2023
|
"name": "federatedAuthUserInfoRequestIssueDetails",
|
1980
2024
|
"optional": true,
|
1981
2025
|
"$ref": "FederatedAuthUserInfoRequestIssueDetails"
|
2026
|
+
},
|
2027
|
+
{
|
2028
|
+
"name": "sharedDictionaryIssueDetails",
|
2029
|
+
"optional": true,
|
2030
|
+
"$ref": "SharedDictionaryIssueDetails"
|
1982
2031
|
}
|
1983
2032
|
]
|
1984
2033
|
},
|
@@ -6595,6 +6644,33 @@
|
|
6595
6644
|
}
|
6596
6645
|
]
|
6597
6646
|
},
|
6647
|
+
{
|
6648
|
+
"name": "getElementByRelation",
|
6649
|
+
"description": "Returns the NodeId of the matched element according to certain relations.",
|
6650
|
+
"experimental": true,
|
6651
|
+
"parameters": [
|
6652
|
+
{
|
6653
|
+
"name": "nodeId",
|
6654
|
+
"description": "Id of the node from which to query the relation.",
|
6655
|
+
"$ref": "NodeId"
|
6656
|
+
},
|
6657
|
+
{
|
6658
|
+
"name": "relation",
|
6659
|
+
"description": "Type of relation to get.",
|
6660
|
+
"type": "string",
|
6661
|
+
"enum": [
|
6662
|
+
"PopoverTarget"
|
6663
|
+
]
|
6664
|
+
}
|
6665
|
+
],
|
6666
|
+
"returns": [
|
6667
|
+
{
|
6668
|
+
"name": "nodeId",
|
6669
|
+
"description": "NodeId of the element matching the queried relation.",
|
6670
|
+
"$ref": "NodeId"
|
6671
|
+
}
|
6672
|
+
]
|
6673
|
+
},
|
6598
6674
|
{
|
6599
6675
|
"name": "redo",
|
6600
6676
|
"description": "Re-does the last undone action.",
|
@@ -18032,7 +18108,8 @@
|
|
18032
18108
|
"EmbedderExtensions",
|
18033
18109
|
"EmbedderExtensionMessaging",
|
18034
18110
|
"EmbedderExtensionMessagingForOpenPort",
|
18035
|
-
"EmbedderExtensionSentMessageToCachedFrame"
|
18111
|
+
"EmbedderExtensionSentMessageToCachedFrame",
|
18112
|
+
"RequestedByWebViewClient"
|
18036
18113
|
]
|
18037
18114
|
},
|
18038
18115
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -741,6 +741,32 @@ experimental domain Audits
|
|
741
741
|
NoRegisterOsSourceHeader
|
742
742
|
NoRegisterOsTriggerHeader
|
743
743
|
|
744
|
+
type SharedDictionaryError extends string
|
745
|
+
enum
|
746
|
+
UseErrorCrossOriginNoCorsRequest
|
747
|
+
UseErrorDictionaryLoadFailure
|
748
|
+
UseErrorMatchingDictionaryNotUsed
|
749
|
+
UseErrorUnexpectedContentDictionaryHeader
|
750
|
+
WriteErrorCossOriginNoCorsRequest
|
751
|
+
WriteErrorDisallowedBySettings
|
752
|
+
WriteErrorExpiredResponse
|
753
|
+
WriteErrorFeatureDisabled
|
754
|
+
WriteErrorInsufficientResources
|
755
|
+
WriteErrorInvalidMatchField
|
756
|
+
WriteErrorInvalidStructuredHeader
|
757
|
+
WriteErrorNavigationRequest
|
758
|
+
WriteErrorNoMatchField
|
759
|
+
WriteErrorNonListMatchDestField
|
760
|
+
WriteErrorNonSecureContext
|
761
|
+
WriteErrorNonStringIdField
|
762
|
+
WriteErrorNonStringInMatchDestList
|
763
|
+
WriteErrorNonStringMatchField
|
764
|
+
WriteErrorNonTokenTypeField
|
765
|
+
WriteErrorRequestAborted
|
766
|
+
WriteErrorShuttingDown
|
767
|
+
WriteErrorTooLongIdField
|
768
|
+
WriteErrorUnsupportedType
|
769
|
+
|
744
770
|
# Details for issues around "Attribution Reporting API" usage.
|
745
771
|
# Explainer: https://github.com/WICG/attribution-reporting-api
|
746
772
|
type AttributionReportingIssueDetails extends object
|
@@ -767,6 +793,11 @@ experimental domain Audits
|
|
767
793
|
string url
|
768
794
|
optional SourceCodeLocation location
|
769
795
|
|
796
|
+
type SharedDictionaryIssueDetails extends object
|
797
|
+
properties
|
798
|
+
SharedDictionaryError sharedDictionaryError
|
799
|
+
AffectedRequest request
|
800
|
+
|
770
801
|
type GenericIssueErrorType extends string
|
771
802
|
enum
|
772
803
|
CrossOriginPortalPostMessageError
|
@@ -972,6 +1003,7 @@ experimental domain Audits
|
|
972
1003
|
StylesheetLoadingIssue
|
973
1004
|
FederatedAuthUserInfoRequestIssue
|
974
1005
|
PropertyRuleIssue
|
1006
|
+
SharedDictionaryIssue
|
975
1007
|
|
976
1008
|
# This struct holds a list of optional fields with additional information
|
977
1009
|
# specific to the kind of issue. When adding a new issue code, please also
|
@@ -998,6 +1030,7 @@ experimental domain Audits
|
|
998
1030
|
optional StylesheetLoadingIssueDetails stylesheetLoadingIssueDetails
|
999
1031
|
optional PropertyRuleIssueDetails propertyRuleIssueDetails
|
1000
1032
|
optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
|
1033
|
+
optional SharedDictionaryIssueDetails sharedDictionaryIssueDetails
|
1001
1034
|
|
1002
1035
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
1003
1036
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
@@ -3099,6 +3132,20 @@ domain DOM
|
|
3099
3132
|
# NodeIds of top layer elements
|
3100
3133
|
array of NodeId nodeIds
|
3101
3134
|
|
3135
|
+
# Returns the NodeId of the matched element according to certain relations.
|
3136
|
+
experimental command getElementByRelation
|
3137
|
+
parameters
|
3138
|
+
# Id of the node from which to query the relation.
|
3139
|
+
NodeId nodeId
|
3140
|
+
# Type of relation to get.
|
3141
|
+
enum relation
|
3142
|
+
# Get the popover target for a given element. In this case, this given
|
3143
|
+
# element can only be an HTMLFormControlElement (<input>, <button>).
|
3144
|
+
PopoverTarget
|
3145
|
+
returns
|
3146
|
+
# NodeId of the element matching the queried relation.
|
3147
|
+
NodeId nodeId
|
3148
|
+
|
3102
3149
|
# Re-does the last undone action.
|
3103
3150
|
experimental command redo
|
3104
3151
|
|
@@ -9234,6 +9281,7 @@ domain Page
|
|
9234
9281
|
EmbedderExtensionMessaging
|
9235
9282
|
EmbedderExtensionMessagingForOpenPort
|
9236
9283
|
EmbedderExtensionSentMessageToCachedFrame
|
9284
|
+
RequestedByWebViewClient
|
9237
9285
|
|
9238
9286
|
# Types of not restored reasons for back-forward cache.
|
9239
9287
|
experimental type BackForwardCacheNotRestoredReasonType extends string
|
@@ -2226,6 +2226,13 @@ export namespace ProtocolMapping {
|
|
2226
2226
|
paramsType: [];
|
2227
2227
|
returnType: Protocol.DOM.GetTopLayerElementsResponse;
|
2228
2228
|
};
|
2229
|
+
/**
|
2230
|
+
* Returns the NodeId of the matched element according to certain relations.
|
2231
|
+
*/
|
2232
|
+
'DOM.getElementByRelation': {
|
2233
|
+
paramsType: [Protocol.DOM.GetElementByRelationRequest];
|
2234
|
+
returnType: Protocol.DOM.GetElementByRelationResponse;
|
2235
|
+
};
|
2229
2236
|
/**
|
2230
2237
|
* Re-does the last undone action.
|
2231
2238
|
*/
|
@@ -1422,6 +1422,11 @@ export namespace ProtocolProxyApi {
|
|
1422
1422
|
*/
|
1423
1423
|
getTopLayerElements(): Promise<Protocol.DOM.GetTopLayerElementsResponse>;
|
1424
1424
|
|
1425
|
+
/**
|
1426
|
+
* Returns the NodeId of the matched element according to certain relations.
|
1427
|
+
*/
|
1428
|
+
getElementByRelation(params: Protocol.DOM.GetElementByRelationRequest): Promise<Protocol.DOM.GetElementByRelationResponse>;
|
1429
|
+
|
1425
1430
|
/**
|
1426
1431
|
* Re-does the last undone action.
|
1427
1432
|
*/
|
@@ -1504,6 +1504,11 @@ export namespace ProtocolTestsProxyApi {
|
|
1504
1504
|
*/
|
1505
1505
|
getTopLayerElements(): Promise<{id: number, result: Protocol.DOM.GetTopLayerElementsResponse, sessionId: string}>;
|
1506
1506
|
|
1507
|
+
/**
|
1508
|
+
* Returns the NodeId of the matched element according to certain relations.
|
1509
|
+
*/
|
1510
|
+
getElementByRelation(params: Protocol.DOM.GetElementByRelationRequest): Promise<{id: number, result: Protocol.DOM.GetElementByRelationResponse, sessionId: string}>;
|
1511
|
+
|
1507
1512
|
/**
|
1508
1513
|
* Re-does the last undone action.
|
1509
1514
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -3474,6 +3474,8 @@ export namespace Protocol {
|
|
3474
3474
|
|
3475
3475
|
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader');
|
3476
3476
|
|
3477
|
+
export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
|
3478
|
+
|
3477
3479
|
/**
|
3478
3480
|
* Details for issues around "Attribution Reporting API" usage.
|
3479
3481
|
* Explainer: https://github.com/WICG/attribution-reporting-api
|
@@ -3506,6 +3508,11 @@ export namespace Protocol {
|
|
3506
3508
|
location?: SourceCodeLocation;
|
3507
3509
|
}
|
3508
3510
|
|
3511
|
+
export interface SharedDictionaryIssueDetails {
|
3512
|
+
sharedDictionaryError: SharedDictionaryError;
|
3513
|
+
request: AffectedRequest;
|
3514
|
+
}
|
3515
|
+
|
3509
3516
|
export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB');
|
3510
3517
|
|
3511
3518
|
/**
|
@@ -3649,7 +3656,7 @@ export namespace Protocol {
|
|
3649
3656
|
* optional fields in InspectorIssueDetails to convey more specific
|
3650
3657
|
* information about the kind of issue.
|
3651
3658
|
*/
|
3652
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue');
|
3659
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue');
|
3653
3660
|
|
3654
3661
|
/**
|
3655
3662
|
* This struct holds a list of optional fields with additional information
|
@@ -3677,6 +3684,7 @@ export namespace Protocol {
|
|
3677
3684
|
stylesheetLoadingIssueDetails?: StylesheetLoadingIssueDetails;
|
3678
3685
|
propertyRuleIssueDetails?: PropertyRuleIssueDetails;
|
3679
3686
|
federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
|
3687
|
+
sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
|
3680
3688
|
}
|
3681
3689
|
|
3682
3690
|
/**
|
@@ -6670,6 +6678,28 @@ export namespace Protocol {
|
|
6670
6678
|
nodeIds: NodeId[];
|
6671
6679
|
}
|
6672
6680
|
|
6681
|
+
export const enum GetElementByRelationRequestRelation {
|
6682
|
+
PopoverTarget = 'PopoverTarget',
|
6683
|
+
}
|
6684
|
+
|
6685
|
+
export interface GetElementByRelationRequest {
|
6686
|
+
/**
|
6687
|
+
* Id of the node from which to query the relation.
|
6688
|
+
*/
|
6689
|
+
nodeId: NodeId;
|
6690
|
+
/**
|
6691
|
+
* Type of relation to get. (GetElementByRelationRequestRelation enum)
|
6692
|
+
*/
|
6693
|
+
relation: ('PopoverTarget');
|
6694
|
+
}
|
6695
|
+
|
6696
|
+
export interface GetElementByRelationResponse {
|
6697
|
+
/**
|
6698
|
+
* NodeId of the element matching the queried relation.
|
6699
|
+
*/
|
6700
|
+
nodeId: NodeId;
|
6701
|
+
}
|
6702
|
+
|
6673
6703
|
export interface RemoveAttributeRequest {
|
6674
6704
|
/**
|
6675
6705
|
* Id of the element to remove attribute from.
|
@@ -13790,7 +13820,7 @@ export namespace Protocol {
|
|
13790
13820
|
/**
|
13791
13821
|
* List of not restored reasons for back-forward cache.
|
13792
13822
|
*/
|
13793
|
-
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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
|
13823
|
+
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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient');
|
13794
13824
|
|
13795
13825
|
/**
|
13796
13826
|
* Types of not restored reasons for back-forward cache.
|