devtools-protocol 0.0.1514079 → 0.0.1515996
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 +5 -2
- package/json/js_protocol.json +6 -0
- package/package.json +1 -1
- package/pdl/domains/IndexedDB.pdl +2 -2
- package/pdl/domains/Network.pdl +3 -0
- package/pdl/domains/Page.pdl +2 -0
- package/pdl/js_protocol.pdl +2 -0
- package/types/protocol-mapping.d.ts +5 -1
- package/types/protocol-proxy-api.d.ts +5 -1
- package/types/protocol-tests-proxy-api.d.ts +5 -1
- package/types/protocol.d.ts +15 -4
@@ -12858,7 +12858,8 @@
|
|
12858
12858
|
},
|
12859
12859
|
{
|
12860
12860
|
"name": "indexName",
|
12861
|
-
"description": "Index name,
|
12861
|
+
"description": "Index name. If not specified, it performs an object store data request.",
|
12862
|
+
"optional": true,
|
12862
12863
|
"type": "string"
|
12863
12864
|
},
|
12864
12865
|
{
|
@@ -15926,7 +15927,7 @@
|
|
15926
15927
|
},
|
15927
15928
|
{
|
15928
15929
|
"name": "expires",
|
15929
|
-
"description": "Cookie expiration date as the number of seconds since the UNIX epoch.",
|
15930
|
+
"description": "Cookie expiration date as the number of seconds since the UNIX epoch.\nThe value is set to -1 if the expiry date is not set.\nThe value can be null for values that cannot be represented in\nJSON (\u00b1Inf).",
|
15930
15931
|
"type": "number"
|
15931
15932
|
},
|
15932
15933
|
{
|
@@ -21765,8 +21766,10 @@
|
|
21765
21766
|
"WebXR",
|
21766
21767
|
"SharedWorker",
|
21767
21768
|
"SharedWorkerMessage",
|
21769
|
+
"SharedWorkerWithNoActiveClient",
|
21768
21770
|
"WebLocks",
|
21769
21771
|
"WebHID",
|
21772
|
+
"WebBluetooth",
|
21770
21773
|
"WebShare",
|
21771
21774
|
"RequestedStorageAccessGrant",
|
21772
21775
|
"WebNfc",
|
package/json/js_protocol.json
CHANGED
@@ -1694,6 +1694,12 @@
|
|
1694
1694
|
"optional": true,
|
1695
1695
|
"type": "number"
|
1696
1696
|
},
|
1697
|
+
{
|
1698
|
+
"name": "stackDepth",
|
1699
|
+
"description": "Maximum stack depth. The default value is 128.",
|
1700
|
+
"optional": true,
|
1701
|
+
"type": "number"
|
1702
|
+
},
|
1697
1703
|
{
|
1698
1704
|
"name": "includeObjectsCollectedByMajorGC",
|
1699
1705
|
"description": "By default, the sampling heap profiler reports only objects which are\nstill alive when the profile is returned via getSamplingProfile or\nstopSampling, which is useful for determining what functions contribute\nthe most to steady-state memory usage. This flag instructs the sampling\nheap profiler to also include information about objects discarded by\nmajor GC, which will show which functions cause large temporary memory\nusage or long GC pauses.",
|
package/package.json
CHANGED
@@ -159,8 +159,8 @@ experimental domain IndexedDB
|
|
159
159
|
string databaseName
|
160
160
|
# Object store name.
|
161
161
|
string objectStoreName
|
162
|
-
# Index name,
|
163
|
-
string indexName
|
162
|
+
# Index name. If not specified, it performs an object store data request.
|
163
|
+
optional string indexName
|
164
164
|
# Number of records to skip.
|
165
165
|
integer skipCount
|
166
166
|
# Number of records to fetch.
|
package/pdl/domains/Network.pdl
CHANGED
@@ -622,6 +622,9 @@ domain Network
|
|
622
622
|
# Cookie path.
|
623
623
|
string path
|
624
624
|
# Cookie expiration date as the number of seconds since the UNIX epoch.
|
625
|
+
# The value is set to -1 if the expiry date is not set.
|
626
|
+
# The value can be null for values that cannot be represented in
|
627
|
+
# JSON (±Inf).
|
625
628
|
number expires
|
626
629
|
# Cookie size.
|
627
630
|
integer size
|
package/pdl/domains/Page.pdl
CHANGED
package/pdl/js_protocol.pdl
CHANGED
@@ -794,6 +794,8 @@ experimental domain HeapProfiler
|
|
794
794
|
# Average sample interval in bytes. Poisson distribution is used for the intervals. The
|
795
795
|
# default value is 32768 bytes.
|
796
796
|
optional number samplingInterval
|
797
|
+
# Maximum stack depth. The default value is 128.
|
798
|
+
optional number stackDepth
|
797
799
|
# By default, the sampling heap profiler reports only objects which are
|
798
800
|
# still alive when the profile is returned via getSamplingProfile or
|
799
801
|
# stopSampling, which is useful for determining what functions contribute
|
@@ -1,5 +1,9 @@
|
|
1
|
+
// Copyright (c) 2025 The Chromium Authors. All rights reserved.
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
3
|
+
// found in the LICENSE file.
|
4
|
+
|
1
5
|
/**********************************************************************
|
2
|
-
* Auto-generated by protocol-dts-generator.ts
|
6
|
+
* Auto-generated by protocol-dts-generator.ts. Do not edit manually. *
|
3
7
|
**********************************************************************/
|
4
8
|
|
5
9
|
import Protocol from './protocol'
|
@@ -1,5 +1,9 @@
|
|
1
|
+
// Copyright (c) 2025 The Chromium Authors. All rights reserved.
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
3
|
+
// found in the LICENSE file.
|
4
|
+
|
1
5
|
/**********************************************************************
|
2
|
-
* Auto-generated by protocol-dts-generator.ts
|
6
|
+
* Auto-generated by protocol-dts-generator.ts. Do not edit manually. *
|
3
7
|
**********************************************************************/
|
4
8
|
|
5
9
|
import Protocol from './protocol'
|
@@ -1,5 +1,9 @@
|
|
1
|
+
// Copyright (c) 2025 The Chromium Authors. All rights reserved.
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
3
|
+
// found in the LICENSE file.
|
4
|
+
|
1
5
|
/**********************************************************************
|
2
|
-
* Auto-generated by protocol-dts-generator.ts
|
6
|
+
* Auto-generated by protocol-dts-generator.ts. Do not edit manually. *
|
3
7
|
**********************************************************************/
|
4
8
|
|
5
9
|
import Protocol from './protocol'
|
package/types/protocol.d.ts
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
+
// Copyright (c) 2025 The Chromium Authors. All rights reserved.
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
3
|
+
// found in the LICENSE file.
|
4
|
+
|
1
5
|
/**********************************************************************
|
2
|
-
* Auto-generated by protocol-dts-generator.ts
|
6
|
+
* Auto-generated by protocol-dts-generator.ts. Do not edit manually. *
|
3
7
|
**********************************************************************/
|
4
8
|
|
5
9
|
/**
|
@@ -1211,6 +1215,10 @@ export namespace Protocol {
|
|
1211
1215
|
* default value is 32768 bytes.
|
1212
1216
|
*/
|
1213
1217
|
samplingInterval?: number;
|
1218
|
+
/**
|
1219
|
+
* Maximum stack depth. The default value is 128.
|
1220
|
+
*/
|
1221
|
+
stackDepth?: number;
|
1214
1222
|
/**
|
1215
1223
|
* By default, the sampling heap profiler reports only objects which are
|
1216
1224
|
* still alive when the profile is returned via getSamplingProfile or
|
@@ -10655,9 +10663,9 @@ export namespace Protocol {
|
|
10655
10663
|
*/
|
10656
10664
|
objectStoreName: string;
|
10657
10665
|
/**
|
10658
|
-
* Index name,
|
10666
|
+
* Index name. If not specified, it performs an object store data request.
|
10659
10667
|
*/
|
10660
|
-
indexName
|
10668
|
+
indexName?: string;
|
10661
10669
|
/**
|
10662
10670
|
* Number of records to skip.
|
10663
10671
|
*/
|
@@ -12740,6 +12748,9 @@ export namespace Protocol {
|
|
12740
12748
|
path: string;
|
12741
12749
|
/**
|
12742
12750
|
* Cookie expiration date as the number of seconds since the UNIX epoch.
|
12751
|
+
* The value is set to -1 if the expiry date is not set.
|
12752
|
+
* The value can be null for values that cannot be represented in
|
12753
|
+
* JSON (±Inf).
|
12743
12754
|
*/
|
12744
12755
|
expires: number;
|
12745
12756
|
/**
|
@@ -16468,7 +16479,7 @@ export namespace Protocol {
|
|
16468
16479
|
* List of not restored reasons for back-forward cache.
|
16469
16480
|
* @experimental
|
16470
16481
|
*/
|
16471
|
-
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' | 'WebLocks' | 'WebHID' | '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');
|
16482
|
+
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');
|
16472
16483
|
|
16473
16484
|
/**
|
16474
16485
|
* Types of not restored reasons for back-forward cache.
|