devtools-protocol 0.0.1151065 → 0.0.1152884
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 +38 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +14 -1
- package/types/protocol.d.ts +11 -2
@@ -8738,7 +8738,7 @@
|
|
8738
8738
|
},
|
8739
8739
|
{
|
8740
8740
|
"name": "quality",
|
8741
|
-
"description": "Compression quality from range [0..100] (jpeg only).",
|
8741
|
+
"description": "Compression quality from range [0..100] (jpeg and webp only).",
|
8742
8742
|
"optional": true,
|
8743
8743
|
"type": "integer"
|
8744
8744
|
},
|
@@ -12608,6 +12608,34 @@
|
|
12608
12608
|
}
|
12609
12609
|
]
|
12610
12610
|
},
|
12611
|
+
{
|
12612
|
+
"id": "ContentSecurityPolicySource",
|
12613
|
+
"experimental": true,
|
12614
|
+
"type": "string",
|
12615
|
+
"enum": [
|
12616
|
+
"HTTP",
|
12617
|
+
"Meta"
|
12618
|
+
]
|
12619
|
+
},
|
12620
|
+
{
|
12621
|
+
"id": "ContentSecurityPolicyStatus",
|
12622
|
+
"experimental": true,
|
12623
|
+
"type": "object",
|
12624
|
+
"properties": [
|
12625
|
+
{
|
12626
|
+
"name": "effectiveDirectives",
|
12627
|
+
"type": "string"
|
12628
|
+
},
|
12629
|
+
{
|
12630
|
+
"name": "isEnforced",
|
12631
|
+
"type": "boolean"
|
12632
|
+
},
|
12633
|
+
{
|
12634
|
+
"name": "source",
|
12635
|
+
"$ref": "ContentSecurityPolicySource"
|
12636
|
+
}
|
12637
|
+
]
|
12638
|
+
},
|
12611
12639
|
{
|
12612
12640
|
"id": "SecurityIsolationStatus",
|
12613
12641
|
"experimental": true,
|
@@ -12622,6 +12650,14 @@
|
|
12622
12650
|
"name": "coep",
|
12623
12651
|
"optional": true,
|
12624
12652
|
"$ref": "CrossOriginEmbedderPolicyStatus"
|
12653
|
+
},
|
12654
|
+
{
|
12655
|
+
"name": "csp",
|
12656
|
+
"optional": true,
|
12657
|
+
"type": "array",
|
12658
|
+
"items": {
|
12659
|
+
"$ref": "ContentSecurityPolicyStatus"
|
12660
|
+
}
|
12625
12661
|
}
|
12626
12662
|
]
|
12627
12663
|
},
|
@@ -16522,6 +16558,7 @@
|
|
16522
16558
|
"IndexedDBEvent",
|
16523
16559
|
"Dummy",
|
16524
16560
|
"AuthorizationHeader",
|
16561
|
+
"WebSerial",
|
16525
16562
|
"ContentSecurityHandler",
|
16526
16563
|
"ContentWebAuthenticationAPI",
|
16527
16564
|
"ContentFileChooser",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -3984,7 +3984,7 @@ experimental domain HeadlessExperimental
|
|
3984
3984
|
jpeg
|
3985
3985
|
png
|
3986
3986
|
webp
|
3987
|
-
# Compression quality from range [0..100] (jpeg only).
|
3987
|
+
# Compression quality from range [0..100] (jpeg and webp only).
|
3988
3988
|
optional integer quality
|
3989
3989
|
# Optimize image encoding for speed, not for resulting size (defaults to false)
|
3990
3990
|
optional boolean optimizeForSpeed
|
@@ -6560,10 +6560,22 @@ domain Network
|
|
6560
6560
|
optional string reportingEndpoint
|
6561
6561
|
optional string reportOnlyReportingEndpoint
|
6562
6562
|
|
6563
|
+
experimental type ContentSecurityPolicySource extends string
|
6564
|
+
enum
|
6565
|
+
HTTP
|
6566
|
+
Meta
|
6567
|
+
|
6568
|
+
experimental type ContentSecurityPolicyStatus extends object
|
6569
|
+
properties
|
6570
|
+
string effectiveDirectives
|
6571
|
+
boolean isEnforced
|
6572
|
+
ContentSecurityPolicySource source
|
6573
|
+
|
6563
6574
|
experimental type SecurityIsolationStatus extends object
|
6564
6575
|
properties
|
6565
6576
|
optional CrossOriginOpenerPolicyStatus coop
|
6566
6577
|
optional CrossOriginEmbedderPolicyStatus coep
|
6578
|
+
optional array of ContentSecurityPolicyStatus csp
|
6567
6579
|
|
6568
6580
|
# Returns information about the COEP/COOP isolation status.
|
6569
6581
|
experimental command getSecurityIsolationStatus
|
@@ -8511,6 +8523,7 @@ domain Page
|
|
8511
8523
|
IndexedDBEvent
|
8512
8524
|
Dummy
|
8513
8525
|
AuthorizationHeader
|
8526
|
+
WebSerial
|
8514
8527
|
# Disabled for RenderFrameHost reasons
|
8515
8528
|
# See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
|
8516
8529
|
ContentSecurityHandler
|
package/types/protocol.d.ts
CHANGED
@@ -8021,7 +8021,7 @@ export namespace Protocol {
|
|
8021
8021
|
*/
|
8022
8022
|
format?: ('jpeg' | 'png' | 'webp');
|
8023
8023
|
/**
|
8024
|
-
* Compression quality from range [0..100] (jpeg only).
|
8024
|
+
* Compression quality from range [0..100] (jpeg and webp only).
|
8025
8025
|
*/
|
8026
8026
|
quality?: integer;
|
8027
8027
|
/**
|
@@ -10579,9 +10579,18 @@ export namespace Protocol {
|
|
10579
10579
|
reportOnlyReportingEndpoint?: string;
|
10580
10580
|
}
|
10581
10581
|
|
10582
|
+
export type ContentSecurityPolicySource = ('HTTP' | 'Meta');
|
10583
|
+
|
10584
|
+
export interface ContentSecurityPolicyStatus {
|
10585
|
+
effectiveDirectives: string;
|
10586
|
+
isEnforced: boolean;
|
10587
|
+
source: ContentSecurityPolicySource;
|
10588
|
+
}
|
10589
|
+
|
10582
10590
|
export interface SecurityIsolationStatus {
|
10583
10591
|
coop?: CrossOriginOpenerPolicyStatus;
|
10584
10592
|
coep?: CrossOriginEmbedderPolicyStatus;
|
10593
|
+
csp?: ContentSecurityPolicyStatus[];
|
10585
10594
|
}
|
10586
10595
|
|
10587
10596
|
/**
|
@@ -13058,7 +13067,7 @@ export namespace Protocol {
|
|
13058
13067
|
/**
|
13059
13068
|
* List of not restored reasons for back-forward cache.
|
13060
13069
|
*/
|
13061
|
-
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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | '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' | 'AuthorizationHeader' | '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');
|
13070
|
+
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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | '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' | 'AuthorizationHeader' | 'WebSerial' | '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');
|
13062
13071
|
|
13063
13072
|
/**
|
13064
13073
|
* Types of not restored reasons for back-forward cache.
|