devtools-protocol 0.0.1341448 → 0.0.1343927
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.
@@ -2281,6 +2281,27 @@
|
|
2281
2281
|
"$ref": "StorageArea"
|
2282
2282
|
}
|
2283
2283
|
]
|
2284
|
+
},
|
2285
|
+
{
|
2286
|
+
"name": "setStorageItems",
|
2287
|
+
"description": "Sets `values` in extension storage in the given `storageArea`. The provided `values`\nwill be merged with existing values in the storage area.",
|
2288
|
+
"parameters": [
|
2289
|
+
{
|
2290
|
+
"name": "id",
|
2291
|
+
"description": "ID of extension.",
|
2292
|
+
"type": "string"
|
2293
|
+
},
|
2294
|
+
{
|
2295
|
+
"name": "storageArea",
|
2296
|
+
"description": "StorageArea to set data in.",
|
2297
|
+
"$ref": "StorageArea"
|
2298
|
+
},
|
2299
|
+
{
|
2300
|
+
"name": "values",
|
2301
|
+
"description": "Values to set.",
|
2302
|
+
"type": "object"
|
2303
|
+
}
|
2304
|
+
]
|
2284
2305
|
}
|
2285
2306
|
]
|
2286
2307
|
},
|
@@ -18474,6 +18495,7 @@
|
|
18474
18495
|
"ContentWebUSB",
|
18475
18496
|
"ContentMediaSessionService",
|
18476
18497
|
"ContentScreenReader",
|
18498
|
+
"ContentDiscarded",
|
18477
18499
|
"EmbedderPopupBlockerTabHelper",
|
18478
18500
|
"EmbedderSafeBrowsingTriggeredPopupBlocker",
|
18479
18501
|
"EmbedderSafeBrowsingThreatDetails",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1151,6 +1151,16 @@ experimental domain Extensions
|
|
1151
1151
|
string id
|
1152
1152
|
# StorageArea to remove data from.
|
1153
1153
|
StorageArea storageArea
|
1154
|
+
# Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
1155
|
+
# will be merged with existing values in the storage area.
|
1156
|
+
command setStorageItems
|
1157
|
+
parameters
|
1158
|
+
# ID of extension.
|
1159
|
+
string id
|
1160
|
+
# StorageArea to set data in.
|
1161
|
+
StorageArea storageArea
|
1162
|
+
# Values to set.
|
1163
|
+
object values
|
1154
1164
|
|
1155
1165
|
# Defines commands and events for Autofill.
|
1156
1166
|
experimental domain Autofill
|
@@ -9443,6 +9453,7 @@ domain Page
|
|
9443
9453
|
ContentWebUSB
|
9444
9454
|
ContentMediaSessionService
|
9445
9455
|
ContentScreenReader
|
9456
|
+
ContentDiscarded
|
9446
9457
|
|
9447
9458
|
# See components/back_forward_cache/back_forward_cache_disable.h for explanations.
|
9448
9459
|
EmbedderPopupBlockerTabHelper
|
@@ -1539,6 +1539,14 @@ export namespace ProtocolMapping {
|
|
1539
1539
|
paramsType: [Protocol.Extensions.ClearStorageItemsRequest];
|
1540
1540
|
returnType: void;
|
1541
1541
|
};
|
1542
|
+
/**
|
1543
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
1544
|
+
* will be merged with existing values in the storage area.
|
1545
|
+
*/
|
1546
|
+
'Extensions.setStorageItems': {
|
1547
|
+
paramsType: [Protocol.Extensions.SetStorageItemsRequest];
|
1548
|
+
returnType: void;
|
1549
|
+
};
|
1542
1550
|
/**
|
1543
1551
|
* Trigger autofill on a form identified by the fieldId.
|
1544
1552
|
* If the field and related form cannot be autofilled, returns an error.
|
@@ -837,6 +837,12 @@ export namespace ProtocolProxyApi {
|
|
837
837
|
*/
|
838
838
|
clearStorageItems(params: Protocol.Extensions.ClearStorageItemsRequest): Promise<void>;
|
839
839
|
|
840
|
+
/**
|
841
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
842
|
+
* will be merged with existing values in the storage area.
|
843
|
+
*/
|
844
|
+
setStorageItems(params: Protocol.Extensions.SetStorageItemsRequest): Promise<void>;
|
845
|
+
|
840
846
|
}
|
841
847
|
|
842
848
|
export interface AutofillApi {
|
@@ -895,6 +895,12 @@ export namespace ProtocolTestsProxyApi {
|
|
895
895
|
*/
|
896
896
|
clearStorageItems(params: Protocol.Extensions.ClearStorageItemsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
897
897
|
|
898
|
+
/**
|
899
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
900
|
+
* will be merged with existing values in the storage area.
|
901
|
+
*/
|
902
|
+
setStorageItems(params: Protocol.Extensions.SetStorageItemsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
903
|
+
|
898
904
|
}
|
899
905
|
|
900
906
|
export interface AutofillApi {
|
package/types/protocol.d.ts
CHANGED
@@ -3833,6 +3833,21 @@ export namespace Protocol {
|
|
3833
3833
|
*/
|
3834
3834
|
storageArea: StorageArea;
|
3835
3835
|
}
|
3836
|
+
|
3837
|
+
export interface SetStorageItemsRequest {
|
3838
|
+
/**
|
3839
|
+
* ID of extension.
|
3840
|
+
*/
|
3841
|
+
id: string;
|
3842
|
+
/**
|
3843
|
+
* StorageArea to set data in.
|
3844
|
+
*/
|
3845
|
+
storageArea: StorageArea;
|
3846
|
+
/**
|
3847
|
+
* Values to set.
|
3848
|
+
*/
|
3849
|
+
values: any;
|
3850
|
+
}
|
3836
3851
|
}
|
3837
3852
|
|
3838
3853
|
/**
|
@@ -14006,7 +14021,7 @@ export namespace Protocol {
|
|
14006
14021
|
/**
|
14007
14022
|
* List of not restored reasons for back-forward cache.
|
14008
14023
|
*/
|
14009
|
-
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' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | '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');
|
14024
|
+
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' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | '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' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient');
|
14010
14025
|
|
14011
14026
|
/**
|
14012
14027
|
* Types of not restored reasons for back-forward cache.
|