devtools-protocol 0.0.963043 → 0.0.963409
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.
|
@@ -4844,7 +4844,20 @@
|
|
|
4844
4844
|
},
|
|
4845
4845
|
{
|
|
4846
4846
|
"name": "enable",
|
|
4847
|
-
"description": "Enables DOM agent for the given page."
|
|
4847
|
+
"description": "Enables DOM agent for the given page.",
|
|
4848
|
+
"parameters": [
|
|
4849
|
+
{
|
|
4850
|
+
"name": "includeWhitespace",
|
|
4851
|
+
"description": "Whether to include whitespaces in the children array of returned Nodes.",
|
|
4852
|
+
"experimental": true,
|
|
4853
|
+
"optional": true,
|
|
4854
|
+
"type": "string",
|
|
4855
|
+
"enum": [
|
|
4856
|
+
"none",
|
|
4857
|
+
"all"
|
|
4858
|
+
]
|
|
4859
|
+
}
|
|
4860
|
+
]
|
|
4848
4861
|
},
|
|
4849
4862
|
{
|
|
4850
4863
|
"name": "focus",
|
|
@@ -15566,7 +15579,7 @@
|
|
|
15566
15579
|
"experimental": true,
|
|
15567
15580
|
"type": "string",
|
|
15568
15581
|
"enum": [
|
|
15569
|
-
"
|
|
15582
|
+
"NotPrimaryMainFrame",
|
|
15570
15583
|
"BackForwardCacheDisabled",
|
|
15571
15584
|
"RelatedActiveContentsExist",
|
|
15572
15585
|
"HTTPStatusNotOK",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -2259,6 +2259,13 @@ domain DOM
|
|
|
2259
2259
|
|
|
2260
2260
|
# Enables DOM agent for the given page.
|
|
2261
2261
|
command enable
|
|
2262
|
+
parameters
|
|
2263
|
+
# Whether to include whitespaces in the children array of returned Nodes.
|
|
2264
|
+
experimental optional enum includeWhitespace
|
|
2265
|
+
# Strip whitespaces from child arrays (default).
|
|
2266
|
+
none
|
|
2267
|
+
# Return all children including block-level whitespace nodes.
|
|
2268
|
+
all
|
|
2262
2269
|
|
|
2263
2270
|
# Focuses the given element.
|
|
2264
2271
|
command focus
|
|
@@ -7961,7 +7968,7 @@ domain Page
|
|
|
7961
7968
|
# List of not restored reasons for back-forward cache.
|
|
7962
7969
|
experimental type BackForwardCacheNotRestoredReason extends string
|
|
7963
7970
|
enum
|
|
7964
|
-
|
|
7971
|
+
NotPrimaryMainFrame
|
|
7965
7972
|
BackForwardCacheDisabled
|
|
7966
7973
|
RelatedActiveContentsExist
|
|
7967
7974
|
HTTPStatusNotOK
|
package/types/protocol.d.ts
CHANGED
|
@@ -5412,6 +5412,18 @@ export namespace Protocol {
|
|
|
5412
5412
|
searchId: string;
|
|
5413
5413
|
}
|
|
5414
5414
|
|
|
5415
|
+
export const enum EnableRequestIncludeWhitespace {
|
|
5416
|
+
None = 'none',
|
|
5417
|
+
All = 'all',
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
export interface EnableRequest {
|
|
5421
|
+
/**
|
|
5422
|
+
* Whether to include whitespaces in the children array of returned Nodes. (EnableRequestIncludeWhitespace enum)
|
|
5423
|
+
*/
|
|
5424
|
+
includeWhitespace?: ('none' | 'all');
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5415
5427
|
export interface FocusRequest {
|
|
5416
5428
|
/**
|
|
5417
5429
|
* Identifier of the node.
|
|
@@ -12376,7 +12388,7 @@ export namespace Protocol {
|
|
|
12376
12388
|
/**
|
|
12377
12389
|
* List of not restored reasons for back-forward cache.
|
|
12378
12390
|
*/
|
|
12379
|
-
export type BackForwardCacheNotRestoredReason = ('
|
|
12391
|
+
export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'GrantedMediaStreamAccess' | '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' | 'OptInUnloadHeaderNotPresent' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedNotificationsPermission' | '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' | 'Dummy' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSession' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
|
|
12380
12392
|
|
|
12381
12393
|
/**
|
|
12382
12394
|
* Types of not restored reasons for back-forward cache.
|