devtools-protocol 0.0.962425 → 0.0.963632
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",
|
|
@@ -11757,7 +11770,8 @@
|
|
|
11757
11770
|
"SameOrigin",
|
|
11758
11771
|
"SameOriginAllowPopups",
|
|
11759
11772
|
"UnsafeNone",
|
|
11760
|
-
"SameOriginPlusCoep"
|
|
11773
|
+
"SameOriginPlusCoep",
|
|
11774
|
+
"SameOriginAllowPopupsPlusCoep"
|
|
11761
11775
|
]
|
|
11762
11776
|
},
|
|
11763
11777
|
{
|
|
@@ -14705,6 +14719,7 @@
|
|
|
14705
14719
|
"ch-ua-platform",
|
|
14706
14720
|
"ch-ua-model",
|
|
14707
14721
|
"ch-ua-mobile",
|
|
14722
|
+
"ch-ua-full",
|
|
14708
14723
|
"ch-ua-full-version",
|
|
14709
14724
|
"ch-ua-full-version-list",
|
|
14710
14725
|
"ch-ua-platform-version",
|
|
@@ -15566,7 +15581,7 @@
|
|
|
15566
15581
|
"experimental": true,
|
|
15567
15582
|
"type": "string",
|
|
15568
15583
|
"enum": [
|
|
15569
|
-
"
|
|
15584
|
+
"NotPrimaryMainFrame",
|
|
15570
15585
|
"BackForwardCacheDisabled",
|
|
15571
15586
|
"RelatedActiveContentsExist",
|
|
15572
15587
|
"HTTPStatusNotOK",
|
|
@@ -18489,7 +18504,7 @@
|
|
|
18489
18504
|
},
|
|
18490
18505
|
{
|
|
18491
18506
|
"name": "expirationTime",
|
|
18492
|
-
"
|
|
18507
|
+
"$ref": "Network.TimeSinceEpoch"
|
|
18493
18508
|
},
|
|
18494
18509
|
{
|
|
18495
18510
|
"name": "joiningOrigin",
|
|
@@ -18842,6 +18857,10 @@
|
|
|
18842
18857
|
"name": "interestGroupAccessed",
|
|
18843
18858
|
"description": "One of the interest groups was accessed by the associated page.",
|
|
18844
18859
|
"parameters": [
|
|
18860
|
+
{
|
|
18861
|
+
"name": "accessTime",
|
|
18862
|
+
"$ref": "Network.TimeSinceEpoch"
|
|
18863
|
+
},
|
|
18845
18864
|
{
|
|
18846
18865
|
"name": "type",
|
|
18847
18866
|
"$ref": "InterestGroupAccessType"
|
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
|
|
@@ -6147,6 +6154,7 @@ domain Network
|
|
|
6147
6154
|
SameOriginAllowPopups
|
|
6148
6155
|
UnsafeNone
|
|
6149
6156
|
SameOriginPlusCoep
|
|
6157
|
+
SameOriginAllowPopupsPlusCoep
|
|
6150
6158
|
|
|
6151
6159
|
experimental type CrossOriginOpenerPolicyStatus extends object
|
|
6152
6160
|
properties
|
|
@@ -6836,6 +6844,7 @@ domain Page
|
|
|
6836
6844
|
ch-ua-platform
|
|
6837
6845
|
ch-ua-model
|
|
6838
6846
|
ch-ua-mobile
|
|
6847
|
+
ch-ua-full
|
|
6839
6848
|
ch-ua-full-version
|
|
6840
6849
|
ch-ua-full-version-list
|
|
6841
6850
|
ch-ua-platform-version
|
|
@@ -7961,7 +7970,7 @@ domain Page
|
|
|
7961
7970
|
# List of not restored reasons for back-forward cache.
|
|
7962
7971
|
experimental type BackForwardCacheNotRestoredReason extends string
|
|
7963
7972
|
enum
|
|
7964
|
-
|
|
7973
|
+
NotPrimaryMainFrame
|
|
7965
7974
|
BackForwardCacheDisabled
|
|
7966
7975
|
RelatedActiveContentsExist
|
|
7967
7976
|
HTTPStatusNotOK
|
|
@@ -8658,7 +8667,7 @@ experimental domain Storage
|
|
|
8658
8667
|
properties
|
|
8659
8668
|
string ownerOrigin
|
|
8660
8669
|
string name
|
|
8661
|
-
|
|
8670
|
+
Network.TimeSinceEpoch expirationTime
|
|
8662
8671
|
string joiningOrigin
|
|
8663
8672
|
optional string biddingUrl
|
|
8664
8673
|
optional string biddingWasmHelperUrl
|
|
@@ -8814,6 +8823,7 @@ experimental domain Storage
|
|
|
8814
8823
|
# One of the interest groups was accessed by the associated page.
|
|
8815
8824
|
event interestGroupAccessed
|
|
8816
8825
|
parameters
|
|
8826
|
+
Network.TimeSinceEpoch accessTime
|
|
8817
8827
|
InterestGroupAccessType type
|
|
8818
8828
|
string ownerOrigin
|
|
8819
8829
|
string name
|
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.
|
|
@@ -9914,7 +9926,7 @@ export namespace Protocol {
|
|
|
9914
9926
|
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy;
|
|
9915
9927
|
}
|
|
9916
9928
|
|
|
9917
|
-
export type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'UnsafeNone' | 'SameOriginPlusCoep');
|
|
9929
|
+
export type CrossOriginOpenerPolicyValue = ('SameOrigin' | 'SameOriginAllowPopups' | 'UnsafeNone' | 'SameOriginPlusCoep' | 'SameOriginAllowPopupsPlusCoep');
|
|
9918
9930
|
|
|
9919
9931
|
export interface CrossOriginOpenerPolicyStatus {
|
|
9920
9932
|
value: CrossOriginOpenerPolicyValue;
|
|
@@ -11877,7 +11889,7 @@ export namespace Protocol {
|
|
|
11877
11889
|
* All Permissions Policy features. This enum should match the one defined
|
|
11878
11890
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
|
11879
11891
|
*/
|
|
11880
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
|
11892
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-rtt' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-full' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-reduced' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'storage-access-api' | 'sync-xhr' | 'trust-token-redemption' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-placement' | 'xr-spatial-tracking');
|
|
11881
11893
|
|
|
11882
11894
|
/**
|
|
11883
11895
|
* Reason for a permissions policy feature to be disabled.
|
|
@@ -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.
|
|
@@ -14101,7 +14113,7 @@ export namespace Protocol {
|
|
|
14101
14113
|
export interface InterestGroupDetails {
|
|
14102
14114
|
ownerOrigin: string;
|
|
14103
14115
|
name: string;
|
|
14104
|
-
expirationTime:
|
|
14116
|
+
expirationTime: Network.TimeSinceEpoch;
|
|
14105
14117
|
joiningOrigin: string;
|
|
14106
14118
|
biddingUrl?: string;
|
|
14107
14119
|
biddingWasmHelperUrl?: string;
|
|
@@ -14311,6 +14323,7 @@ export namespace Protocol {
|
|
|
14311
14323
|
* One of the interest groups was accessed by the associated page.
|
|
14312
14324
|
*/
|
|
14313
14325
|
export interface InterestGroupAccessedEvent {
|
|
14326
|
+
accessTime: Network.TimeSinceEpoch;
|
|
14314
14327
|
type: InterestGroupAccessType;
|
|
14315
14328
|
ownerOrigin: string;
|
|
14316
14329
|
name: string;
|