devtools-protocol 0.0.900033 → 0.0.901419

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/changelog.md CHANGED
@@ -1,5 +1,34 @@
1
1
 
2
2
 
3
+ ## Roll protocol to r901394
4
+ ###### _2021-07-14 00:16:11_ | Diff: [2609869...f94c0d3](https://github.com/ChromeDevTools/devtools-protocol/compare/2609869...f94c0d3)
5
+ #### `Page`: modified type
6
+ * [`Page.BackForwardCacheNotRestoredReason`](https://chromedevtools.github.io/devtools-protocol/tot/Page/#type-BackForwardCacheNotRestoredReason) - The enum's `WebSocket` _updated_. The enum's `WebRTC` _updated_. The enum's `MainResourceHasCacheControlNoStore` _updated_. The enum's `MainResourceHasCacheControlNoCache` _updated_. The enum's `SubresourceHasCacheControlNoStore` _updated_. The enum's `SubresourceHasCacheControlNoCache` _updated_. The enum's `ContainsPlugins` _updated_. The enum's `DocumentLoaded` _updated_. The enum's `DedicatedWorkerOrWorklet` _updated_. The enum's `OutstandingNetworkRequestOthers` _updated_. The enum's `OutstandingIndexedDBTransaction` _updated_. The enum's `RequestedNotificationsPermission` _updated_. The enum's `RequestedMIDIPermission` _updated_. The enum's `RequestedAudioCapturePermission` _updated_. The enum's `RequestedVideoCapturePermission` _updated_. The enum's `RequestedBackForwardCacheBlockedSensors` _updated_. The enum's `RequestedBackgroundWorkPermission` _updated_. The enum's `BroadcastChannel` _updated_. The enum's `IndexedDBConnection` _updated_. The enum's `WebXR` _updated_. The enum's `SharedWorker` _updated_. The enum's `WebLocks` _updated_. The enum's `WebHID` _updated_. The enum's `WebShare` _updated_. The enum's `RequestedStorageAccessGrant` _updated_. The enum's `WebNfc` _updated_. The enum's `WebFileSystem` _updated_. The enum's `OutstandingNetworkRequestFetch` _updated_. The enum's `OutstandingNetworkRequestXHR` _updated_. The enum's `AppBanner` _updated_. The enum's `Printing` _updated_. The enum's `WebDatabase` _updated_. The enum's `PictureInPicture` _updated_. The enum's `Portal` _updated_. The enum's `SpeechRecognizer` _updated_. The enum's `IdleManager` _updated_. The enum's `PaymentManager` _updated_. The enum's `SpeechSynthesis` _updated_. The enum's `KeyboardLock` _updated_. The enum's `WebOTPService` _updated_. The enum's `OutstandingNetworkRequestDirectSocket` _updated_. The enum's `IsolatedWorldScript` _updated_. The enum's `InjectedStyleSheet` _updated_. The enum's `MediaSessionImplOnServiceCreated` _updated_. The enum's `Unknown` _updated_. The enum's `InjectedStyleSheet` _added_. The enum's `MediaSessionImplOnServiceCreated` _added_. The enum's `Unknown` _added_.
7
+
8
+
9
+ ## Roll protocol to r900855
10
+ ###### _2021-07-12 23:16:27_ | Diff: [56bb0ce...2609869](https://github.com/ChromeDevTools/devtools-protocol/compare/56bb0ce...2609869)
11
+ #### `Page`: modified type
12
+ * [`Page.BackForwardCacheNotRestoredReason`](https://chromedevtools.github.io/devtools-protocol/tot/Page/#type-BackForwardCacheNotRestoredReason) - The enum's `Unknown` _removed_. The enum's `RequestedGeolocationPermission` _updated_. The enum's `RequestedNotificationsPermission` _updated_. The enum's `RequestedMIDIPermission` _updated_. The enum's `RequestedAudioCapturePermission` _updated_. The enum's `RequestedVideoCapturePermission` _updated_. The enum's `RequestedBackForwardCacheBlockedSensors` _updated_. The enum's `RequestedBackgroundWorkPermission` _updated_. The enum's `BroadcastChannel` _updated_. The enum's `IndexedDBConnection` _updated_. The enum's `WebXR` _updated_. The enum's `SharedWorker` _updated_. The enum's `WebLocks` _updated_. The enum's `WebHID` _updated_. The enum's `WebShare` _updated_. The enum's `RequestedStorageAccessGrant` _updated_. The enum's `WebNfc` _updated_. The enum's `WebFileSystem` _updated_. The enum's `OutstandingNetworkRequestFetch` _updated_. The enum's `OutstandingNetworkRequestXHR` _updated_. The enum's `AppBanner` _updated_. The enum's `Printing` _updated_. The enum's `WebDatabase` _updated_. The enum's `PictureInPicture` _updated_. The enum's `Portal` _updated_. The enum's `SpeechRecognizer` _updated_. The enum's `IdleManager` _updated_. The enum's `PaymentManager` _updated_. The enum's `SpeechSynthesis` _updated_. The enum's `KeyboardLock` _updated_. The enum's `WebOTPService` _updated_. The enum's `OutstandingNetworkRequestDirectSocket` _updated_. The enum's `IsolatedWorldScript` _updated_. The enum's `InjectedStyleSheet` _updated_. The enum's `MediaSessionImplOnServiceCreated` _updated_.
13
+
14
+
15
+ ## Roll protocol to r900357
16
+ ###### _2021-07-11 23:16:08_ | Diff: [db8965f...56bb0ce](https://github.com/ChromeDevTools/devtools-protocol/compare/db8965f...56bb0ce)
17
+ #### `DOMSnapshot`: modified type
18
+ * [`DOMSnapshot.NodeTreeSnapshot`](https://chromedevtools.github.io/devtools-protocol/tot/DOMSnapshot/#type-NodeTreeSnapshot) - The `nodeName` in the properties had `type` _removed_. The `nodeName` in the properties had `items` _removed_. The `textValue` in the properties had `$ref` _removed_. The `nodeName` in the properties had `name` _updated_. The `nodeName` in the properties had `description` _updated_. The `nodeValue` in the properties had `name` _updated_. The `nodeValue` in the properties had `description` _updated_. The `backendNodeId` in the properties had `name` _updated_. The `backendNodeId` in the properties had `description` _updated_. The `backendNodeId` in the properties had `$ref` _updated_. The `attributes` in the properties had `name` _updated_. The `attributes` in the properties had `description` _updated_. The `attributes` in the properties had `$ref` _updated_. The `textValue` in the properties had `name` _updated_. The `textValue` in the properties had `description` _updated_. The `inputValue` in the properties had `name` _updated_. The `inputValue` in the properties had `description` _updated_. The `inputChecked` in the properties had `name` _updated_. The `inputChecked` in the properties had `description` _updated_. The `inputChecked` in the properties had `$ref` _updated_. The `optionSelected` in the properties had `name` _updated_. The `optionSelected` in the properties had `description` _updated_. The `contentDocumentIndex` in the properties had `name` _updated_. The `contentDocumentIndex` in the properties had `description` _updated_. The `contentDocumentIndex` in the properties had `$ref` _updated_. The `pseudoType` in the properties had `name` _updated_. The `pseudoType` in the properties had `description` _updated_. The `pseudoType` in the properties had `$ref` _updated_. The `isClickable` in the properties had `name` _updated_. The `isClickable` in the properties had `description` _updated_. The `isClickable` in the properties had `$ref` _updated_. The `currentSourceURL` in the properties had `name` _updated_. The `currentSourceURL` in the properties had `description` _updated_. The `currentSourceURL` in the properties had `$ref` _updated_. The `originURL` in the properties had `name` _updated_. The `originURL` in the properties had `description` _updated_. The properties's `$ref` _added_. The properties's `type` _added_. The properties's `items` _added_. The properties's `originURL` _added_.
19
+
20
+
21
+ ## Roll protocol to r900033
22
+ ###### _2021-07-09 09:16:22_ | Diff: [cbb20a9...db8965f](https://github.com/ChromeDevTools/devtools-protocol/compare/cbb20a9...db8965f)
23
+ #### `Overlay`: new command
24
+ * [`Overlay.setShowContainerQueryOverlays`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#method-setShowContainerQueryOverlays)
25
+ #### `Overlay`: new types
26
+ * [`Overlay.ContainerQueryHighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-ContainerQueryHighlightConfig)
27
+ * [`Overlay.ContainerQueryContainerHighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-ContainerQueryContainerHighlightConfig)
28
+ #### `Overlay`: modified type
29
+ * [`Overlay.HighlightConfig`](https://chromedevtools.github.io/devtools-protocol/tot/Overlay/#type-HighlightConfig) - The properties's `containerQueryContainerHighlightConfig` _added_.
30
+
31
+
3
32
  ## Roll protocol to r898382
4
33
  ###### _2021-07-02 16:16:12_ | Diff: [b531de2...c935633](https://github.com/ChromeDevTools/devtools-protocol/compare/b531de2...c935633)
5
34
  #### `DOM`: modified type
@@ -6647,6 +6647,12 @@
6647
6647
  "type": "integer"
6648
6648
  }
6649
6649
  },
6650
+ {
6651
+ "name": "shadowRootType",
6652
+ "description": "Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.",
6653
+ "optional": true,
6654
+ "$ref": "RareStringData"
6655
+ },
6650
6656
  {
6651
6657
  "name": "nodeName",
6652
6658
  "description": "`Node`'s nodeName.",
@@ -13787,7 +13793,8 @@
13787
13793
  },
13788
13794
  {
13789
13795
  "name": "highlightFrame",
13790
- "description": "Highlights owner element of the frame with given id.",
13796
+ "description": "Highlights owner element of the frame with given id.\nDeprecated: Doesn't work reliablity and cannot be fixed due to process\nseparatation (the owner node might be in a different process). Determine\nthe owner node in the client and use highlightNode.",
13797
+ "deprecated": true,
13791
13798
  "parameters": [
13792
13799
  {
13793
13800
  "name": "frameId",
@@ -15170,6 +15177,9 @@
15170
15177
  "OptInUnloadHeaderNotPresent",
15171
15178
  "UnloadHandlerExistsInSubFrame",
15172
15179
  "ServiceWorkerUnregistration",
15180
+ "CacheControlNoStore",
15181
+ "CacheControlNoStoreCookieModified",
15182
+ "CacheControlNoStoreHTTPOnlyCookieModified",
15173
15183
  "WebSocket",
15174
15184
  "WebRTC",
15175
15185
  "MainResourceHasCacheControlNoStore",
@@ -15181,7 +15191,6 @@
15181
15191
  "DedicatedWorkerOrWorklet",
15182
15192
  "OutstandingNetworkRequestOthers",
15183
15193
  "OutstandingIndexedDBTransaction",
15184
- "RequestedGeolocationPermission",
15185
15194
  "RequestedNotificationsPermission",
15186
15195
  "RequestedMIDIPermission",
15187
15196
  "RequestedAudioCapturePermission",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.900033",
3
+ "version": "0.0.901419",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -3050,6 +3050,8 @@ experimental domain DOMSnapshot
3050
3050
  optional array of integer parentIndex
3051
3051
  # `Node`'s nodeType.
3052
3052
  optional array of integer nodeType
3053
+ # Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.
3054
+ optional RareStringData shadowRootType
3053
3055
  # `Node`'s nodeName.
3054
3056
  optional array of StringIndex nodeName
3055
3057
  # `Node`'s nodeValue.
@@ -6340,7 +6342,10 @@ experimental domain Overlay
6340
6342
  command hideHighlight
6341
6343
 
6342
6344
  # Highlights owner element of the frame with given id.
6343
- command highlightFrame
6345
+ # Deprecated: Doesn't work reliablity and cannot be fixed due to process
6346
+ # separatation (the owner node might be in a different process). Determine
6347
+ # the owner node in the client and use highlightNode.
6348
+ deprecated command highlightFrame
6344
6349
  parameters
6345
6350
  # Identifier of the frame to highlight.
6346
6351
  Page.FrameId frameId
@@ -7740,6 +7745,9 @@ domain Page
7740
7745
  OptInUnloadHeaderNotPresent
7741
7746
  UnloadHandlerExistsInSubFrame
7742
7747
  ServiceWorkerUnregistration
7748
+ CacheControlNoStore
7749
+ CacheControlNoStoreCookieModified
7750
+ CacheControlNoStoreHTTPOnlyCookieModified
7743
7751
  #Blocklisted features
7744
7752
  WebSocket
7745
7753
  WebRTC
@@ -7752,7 +7760,6 @@ domain Page
7752
7760
  DedicatedWorkerOrWorklet
7753
7761
  OutstandingNetworkRequestOthers
7754
7762
  OutstandingIndexedDBTransaction
7755
- RequestedGeolocationPermission
7756
7763
  RequestedNotificationsPermission
7757
7764
  RequestedMIDIPermission
7758
7765
  RequestedAudioCapturePermission
@@ -3185,6 +3185,9 @@ export namespace ProtocolMapping {
3185
3185
  };
3186
3186
  /**
3187
3187
  * Highlights owner element of the frame with given id.
3188
+ * Deprecated: Doesn't work reliablity and cannot be fixed due to process
3189
+ * separatation (the owner node might be in a different process). Determine
3190
+ * the owner node in the client and use highlightNode.
3188
3191
  */
3189
3192
  'Overlay.highlightFrame': {
3190
3193
  paramsType: [Protocol.Overlay.HighlightFrameRequest];
@@ -2454,6 +2454,9 @@ export namespace ProtocolProxyApi {
2454
2454
 
2455
2455
  /**
2456
2456
  * Highlights owner element of the frame with given id.
2457
+ * Deprecated: Doesn't work reliablity and cannot be fixed due to process
2458
+ * separatation (the owner node might be in a different process). Determine
2459
+ * the owner node in the client and use highlightNode.
2457
2460
  */
2458
2461
  highlightFrame(params: Protocol.Overlay.HighlightFrameRequest): Promise<void>;
2459
2462
 
@@ -6669,6 +6669,10 @@ export namespace Protocol {
6669
6669
  * `Node`'s nodeType.
6670
6670
  */
6671
6671
  nodeType?: integer[];
6672
+ /**
6673
+ * Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.
6674
+ */
6675
+ shadowRootType?: RareStringData;
6672
6676
  /**
6673
6677
  * `Node`'s nodeName.
6674
6678
  */
@@ -12132,7 +12136,7 @@ export namespace Protocol {
12132
12136
  /**
12133
12137
  * List of not restored reasons for back-forward cache.
12134
12138
  */
12135
- export type BackForwardCacheNotRestoredReason = ('NotMainFrame' | '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' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'WebSocket' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedGeolocationPermission' | 'RequestedNotificationsPermission' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'WebFileSystem' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'IsolatedWorldScript' | 'InjectedStyleSheet' | 'MediaSessionImplOnServiceCreated' | 'Unknown');
12139
+ export type BackForwardCacheNotRestoredReason = ('NotMainFrame' | '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' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'WebSocket' | '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' | 'WebFileSystem' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'IsolatedWorldScript' | 'InjectedStyleSheet' | 'MediaSessionImplOnServiceCreated' | 'Unknown');
12136
12140
 
12137
12141
  /**
12138
12142
  * Types of not restored reasons for back-forward cache.