devtools-protocol 0.0.1291694 → 0.0.1294156

Sign up to get free protection for your applications and to get access to all the features.
@@ -6644,6 +6644,33 @@
6644
6644
  }
6645
6645
  ]
6646
6646
  },
6647
+ {
6648
+ "name": "getElementByRelation",
6649
+ "description": "Returns the NodeId of the matched element according to certain relations.",
6650
+ "experimental": true,
6651
+ "parameters": [
6652
+ {
6653
+ "name": "nodeId",
6654
+ "description": "Id of the node from which to query the relation.",
6655
+ "$ref": "NodeId"
6656
+ },
6657
+ {
6658
+ "name": "relation",
6659
+ "description": "Type of relation to get.",
6660
+ "type": "string",
6661
+ "enum": [
6662
+ "PopoverTarget"
6663
+ ]
6664
+ }
6665
+ ],
6666
+ "returns": [
6667
+ {
6668
+ "name": "nodeId",
6669
+ "description": "NodeId of the element matching the queried relation.",
6670
+ "$ref": "NodeId"
6671
+ }
6672
+ ]
6673
+ },
6647
6674
  {
6648
6675
  "name": "redo",
6649
6676
  "description": "Re-does the last undone action.",
@@ -12550,10 +12577,14 @@
12550
12577
  "properties": [
12551
12578
  {
12552
12579
  "name": "ruleIdMatched",
12580
+ "description": "ID of the rule matched. If there is a matched rule, this field will\nbe set, otherwiser no value will be set.",
12581
+ "optional": true,
12553
12582
  "type": "integer"
12554
12583
  },
12555
12584
  {
12556
12585
  "name": "matchedSourceType",
12586
+ "description": "The router source of the matched rule. If there is a matched rule, this\nfield will be set, otherwise no value will be set.",
12587
+ "optional": true,
12557
12588
  "$ref": "ServiceWorkerRouterSource"
12558
12589
  }
12559
12590
  ]
@@ -12661,7 +12692,7 @@
12661
12692
  },
12662
12693
  {
12663
12694
  "name": "serviceWorkerRouterInfo",
12664
- "description": "Information about how Service Worker Static Router was used.",
12695
+ "description": "Information about how ServiceWorker Static Router API was used. If this\nfield is set with `matchedSourceType` field, a matching rule is found.\nIf this field is set without `matchedSource`, no matching rule is found.\nOtherwise, the API is not used.",
12665
12696
  "experimental": true,
12666
12697
  "optional": true,
12667
12698
  "$ref": "ServiceWorkerRouterInfo"
@@ -16751,7 +16782,6 @@
16751
16782
  "web-printing",
16752
16783
  "web-share",
16753
16784
  "window-management",
16754
- "window-placement",
16755
16785
  "xr-spatial-tracking"
16756
16786
  ]
16757
16787
  },
@@ -18081,7 +18111,8 @@
18081
18111
  "EmbedderExtensions",
18082
18112
  "EmbedderExtensionMessaging",
18083
18113
  "EmbedderExtensionMessagingForOpenPort",
18084
- "EmbedderExtensionSentMessageToCachedFrame"
18114
+ "EmbedderExtensionSentMessageToCachedFrame",
18115
+ "RequestedByWebViewClient"
18085
18116
  ]
18086
18117
  },
18087
18118
  {
@@ -26122,6 +26153,32 @@
26122
26153
  }
26123
26154
  }
26124
26155
  ]
26156
+ },
26157
+ {
26158
+ "name": "install",
26159
+ "description": "Installs the given manifest identity, optionally using the given install_url\nor IWA bundle location.\n\nTODO(crbug.com/337872319) Support IWA to meet the following specific\nrequirement.\nIWA-specific install description: If the manifest_id is isolated-app://,\ninstall_url_or_bundle_url is required, and can be either an http(s) URL or\nfile:// URL pointing to a signed web bundle (.swbn). The .swbn file\u2019s\nsigning key must correspond to manifest_id. If Chrome is not in IWA dev\nmode, the installation will fail, regardless of the state of the allowlist.",
26160
+ "parameters": [
26161
+ {
26162
+ "name": "manifestId",
26163
+ "type": "string"
26164
+ },
26165
+ {
26166
+ "name": "installUrlOrBundleUrl",
26167
+ "description": "The location of the app or bundle overriding the one derived from the\nmanifestId.",
26168
+ "optional": true,
26169
+ "type": "string"
26170
+ }
26171
+ ]
26172
+ },
26173
+ {
26174
+ "name": "uninstall",
26175
+ "description": "Uninstals the given manifest_id and closes any opened app windows.",
26176
+ "parameters": [
26177
+ {
26178
+ "name": "manifestId",
26179
+ "type": "string"
26180
+ }
26181
+ ]
26125
26182
  }
26126
26183
  ]
26127
26184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1291694",
3
+ "version": "0.0.1294156",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -3132,6 +3132,20 @@ domain DOM
3132
3132
  # NodeIds of top layer elements
3133
3133
  array of NodeId nodeIds
3134
3134
 
3135
+ # Returns the NodeId of the matched element according to certain relations.
3136
+ experimental command getElementByRelation
3137
+ parameters
3138
+ # Id of the node from which to query the relation.
3139
+ NodeId nodeId
3140
+ # Type of relation to get.
3141
+ enum relation
3142
+ # Get the popover target for a given element. In this case, this given
3143
+ # element can only be an HTMLFormControlElement (<input>, <button>).
3144
+ PopoverTarget
3145
+ returns
3146
+ # NodeId of the element matching the queried relation.
3147
+ NodeId nodeId
3148
+
3135
3149
  # Re-does the last undone action.
3136
3150
  experimental command redo
3137
3151
 
@@ -5850,8 +5864,12 @@ domain Network
5850
5864
 
5851
5865
  experimental type ServiceWorkerRouterInfo extends object
5852
5866
  properties
5853
- integer ruleIdMatched
5854
- ServiceWorkerRouterSource matchedSourceType
5867
+ # ID of the rule matched. If there is a matched rule, this field will
5868
+ # be set, otherwiser no value will be set.
5869
+ optional integer ruleIdMatched
5870
+ # The router source of the matched rule. If there is a matched rule, this
5871
+ # field will be set, otherwise no value will be set.
5872
+ optional ServiceWorkerRouterSource matchedSourceType
5855
5873
 
5856
5874
  # HTTP response data.
5857
5875
  type Response extends object
@@ -5890,7 +5908,10 @@ domain Network
5890
5908
  optional boolean fromPrefetchCache
5891
5909
  # Specifies that the request was served from the prefetch cache.
5892
5910
  optional boolean fromEarlyHints
5893
- # Information about how Service Worker Static Router was used.
5911
+ # Information about how ServiceWorker Static Router API was used. If this
5912
+ # field is set with `matchedSourceType` field, a matching rule is found.
5913
+ # If this field is set without `matchedSource`, no matching rule is found.
5914
+ # Otherwise, the API is not used.
5894
5915
  experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
5895
5916
  # Total number of bytes received for this request so far.
5896
5917
  number encodedDataLength
@@ -7904,9 +7925,7 @@ domain Page
7904
7925
  vertical-scroll
7905
7926
  web-printing
7906
7927
  web-share
7907
- # Alias for 'window-placement' (crbug.com/1328581).
7908
7928
  window-management
7909
- window-placement
7910
7929
  xr-spatial-tracking
7911
7930
 
7912
7931
  # Reason for a permissions policy feature to be disabled.
@@ -9267,6 +9286,7 @@ domain Page
9267
9286
  EmbedderExtensionMessaging
9268
9287
  EmbedderExtensionMessagingForOpenPort
9269
9288
  EmbedderExtensionSentMessageToCachedFrame
9289
+ RequestedByWebViewClient
9270
9290
 
9271
9291
  # Types of not restored reasons for back-forward cache.
9272
9292
  experimental type BackForwardCacheNotRestoredReasonType extends string
@@ -12328,3 +12348,24 @@ experimental domain PWA
12328
12348
  integer badgeCount
12329
12349
  array of FileHandler fileHandlers
12330
12350
 
12351
+ # Installs the given manifest identity, optionally using the given install_url
12352
+ # or IWA bundle location.
12353
+ #
12354
+ # TODO(crbug.com/337872319) Support IWA to meet the following specific
12355
+ # requirement.
12356
+ # IWA-specific install description: If the manifest_id is isolated-app://,
12357
+ # install_url_or_bundle_url is required, and can be either an http(s) URL or
12358
+ # file:// URL pointing to a signed web bundle (.swbn). The .swbn file’s
12359
+ # signing key must correspond to manifest_id. If Chrome is not in IWA dev
12360
+ # mode, the installation will fail, regardless of the state of the allowlist.
12361
+ command install
12362
+ parameters
12363
+ string manifestId
12364
+ # The location of the app or bundle overriding the one derived from the
12365
+ # manifestId.
12366
+ optional string installUrlOrBundleUrl
12367
+
12368
+ # Uninstals the given manifest_id and closes any opened app windows.
12369
+ command uninstall
12370
+ parameters
12371
+ string manifestId
@@ -2226,6 +2226,13 @@ export namespace ProtocolMapping {
2226
2226
  paramsType: [];
2227
2227
  returnType: Protocol.DOM.GetTopLayerElementsResponse;
2228
2228
  };
2229
+ /**
2230
+ * Returns the NodeId of the matched element according to certain relations.
2231
+ */
2232
+ 'DOM.getElementByRelation': {
2233
+ paramsType: [Protocol.DOM.GetElementByRelationRequest];
2234
+ returnType: Protocol.DOM.GetElementByRelationResponse;
2235
+ };
2229
2236
  /**
2230
2237
  * Re-does the last undone action.
2231
2238
  */
@@ -4952,6 +4959,29 @@ export namespace ProtocolMapping {
4952
4959
  paramsType: [Protocol.PWA.GetOsAppStateRequest];
4953
4960
  returnType: Protocol.PWA.GetOsAppStateResponse;
4954
4961
  };
4962
+ /**
4963
+ * Installs the given manifest identity, optionally using the given install_url
4964
+ * or IWA bundle location.
4965
+ *
4966
+ * TODO(crbug.com/337872319) Support IWA to meet the following specific
4967
+ * requirement.
4968
+ * IWA-specific install description: If the manifest_id is isolated-app://,
4969
+ * install_url_or_bundle_url is required, and can be either an http(s) URL or
4970
+ * file:// URL pointing to a signed web bundle (.swbn). The .swbn file’s
4971
+ * signing key must correspond to manifest_id. If Chrome is not in IWA dev
4972
+ * mode, the installation will fail, regardless of the state of the allowlist.
4973
+ */
4974
+ 'PWA.install': {
4975
+ paramsType: [Protocol.PWA.InstallRequest];
4976
+ returnType: void;
4977
+ };
4978
+ /**
4979
+ * Uninstals the given manifest_id and closes any opened app windows.
4980
+ */
4981
+ 'PWA.uninstall': {
4982
+ paramsType: [Protocol.PWA.UninstallRequest];
4983
+ returnType: void;
4984
+ };
4955
4985
  }
4956
4986
  }
4957
4987
 
@@ -1422,6 +1422,11 @@ export namespace ProtocolProxyApi {
1422
1422
  */
1423
1423
  getTopLayerElements(): Promise<Protocol.DOM.GetTopLayerElementsResponse>;
1424
1424
 
1425
+ /**
1426
+ * Returns the NodeId of the matched element according to certain relations.
1427
+ */
1428
+ getElementByRelation(params: Protocol.DOM.GetElementByRelationRequest): Promise<Protocol.DOM.GetElementByRelationResponse>;
1429
+
1425
1430
  /**
1426
1431
  * Re-does the last undone action.
1427
1432
  */
@@ -4229,6 +4234,25 @@ export namespace ProtocolProxyApi {
4229
4234
  */
4230
4235
  getOsAppState(params: Protocol.PWA.GetOsAppStateRequest): Promise<Protocol.PWA.GetOsAppStateResponse>;
4231
4236
 
4237
+ /**
4238
+ * Installs the given manifest identity, optionally using the given install_url
4239
+ * or IWA bundle location.
4240
+ *
4241
+ * TODO(crbug.com/337872319) Support IWA to meet the following specific
4242
+ * requirement.
4243
+ * IWA-specific install description: If the manifest_id is isolated-app://,
4244
+ * install_url_or_bundle_url is required, and can be either an http(s) URL or
4245
+ * file:// URL pointing to a signed web bundle (.swbn). The .swbn file’s
4246
+ * signing key must correspond to manifest_id. If Chrome is not in IWA dev
4247
+ * mode, the installation will fail, regardless of the state of the allowlist.
4248
+ */
4249
+ install(params: Protocol.PWA.InstallRequest): Promise<void>;
4250
+
4251
+ /**
4252
+ * Uninstals the given manifest_id and closes any opened app windows.
4253
+ */
4254
+ uninstall(params: Protocol.PWA.UninstallRequest): Promise<void>;
4255
+
4232
4256
  }
4233
4257
  }
4234
4258
 
@@ -1504,6 +1504,11 @@ export namespace ProtocolTestsProxyApi {
1504
1504
  */
1505
1505
  getTopLayerElements(): Promise<{id: number, result: Protocol.DOM.GetTopLayerElementsResponse, sessionId: string}>;
1506
1506
 
1507
+ /**
1508
+ * Returns the NodeId of the matched element according to certain relations.
1509
+ */
1510
+ getElementByRelation(params: Protocol.DOM.GetElementByRelationRequest): Promise<{id: number, result: Protocol.DOM.GetElementByRelationResponse, sessionId: string}>;
1511
+
1507
1512
  /**
1508
1513
  * Re-does the last undone action.
1509
1514
  */
@@ -4613,6 +4618,25 @@ export namespace ProtocolTestsProxyApi {
4613
4618
  */
4614
4619
  getOsAppState(params: Protocol.PWA.GetOsAppStateRequest): Promise<{id: number, result: Protocol.PWA.GetOsAppStateResponse, sessionId: string}>;
4615
4620
 
4621
+ /**
4622
+ * Installs the given manifest identity, optionally using the given install_url
4623
+ * or IWA bundle location.
4624
+ *
4625
+ * TODO(crbug.com/337872319) Support IWA to meet the following specific
4626
+ * requirement.
4627
+ * IWA-specific install description: If the manifest_id is isolated-app://,
4628
+ * install_url_or_bundle_url is required, and can be either an http(s) URL or
4629
+ * file:// URL pointing to a signed web bundle (.swbn). The .swbn file’s
4630
+ * signing key must correspond to manifest_id. If Chrome is not in IWA dev
4631
+ * mode, the installation will fail, regardless of the state of the allowlist.
4632
+ */
4633
+ install(params: Protocol.PWA.InstallRequest): Promise<{id: number, result: void, sessionId: string}>;
4634
+
4635
+ /**
4636
+ * Uninstals the given manifest_id and closes any opened app windows.
4637
+ */
4638
+ uninstall(params: Protocol.PWA.UninstallRequest): Promise<{id: number, result: void, sessionId: string}>;
4639
+
4616
4640
  }
4617
4641
  }
4618
4642
 
@@ -6678,6 +6678,28 @@ export namespace Protocol {
6678
6678
  nodeIds: NodeId[];
6679
6679
  }
6680
6680
 
6681
+ export const enum GetElementByRelationRequestRelation {
6682
+ PopoverTarget = 'PopoverTarget',
6683
+ }
6684
+
6685
+ export interface GetElementByRelationRequest {
6686
+ /**
6687
+ * Id of the node from which to query the relation.
6688
+ */
6689
+ nodeId: NodeId;
6690
+ /**
6691
+ * Type of relation to get. (GetElementByRelationRequestRelation enum)
6692
+ */
6693
+ relation: ('PopoverTarget');
6694
+ }
6695
+
6696
+ export interface GetElementByRelationResponse {
6697
+ /**
6698
+ * NodeId of the element matching the queried relation.
6699
+ */
6700
+ nodeId: NodeId;
6701
+ }
6702
+
6681
6703
  export interface RemoveAttributeRequest {
6682
6704
  /**
6683
6705
  * Id of the element to remove attribute from.
@@ -10410,8 +10432,16 @@ export namespace Protocol {
10410
10432
  export type ServiceWorkerRouterSource = ('network' | 'cache' | 'fetch-event' | 'race-network-and-fetch-handler');
10411
10433
 
10412
10434
  export interface ServiceWorkerRouterInfo {
10413
- ruleIdMatched: integer;
10414
- matchedSourceType: ServiceWorkerRouterSource;
10435
+ /**
10436
+ * ID of the rule matched. If there is a matched rule, this field will
10437
+ * be set, otherwiser no value will be set.
10438
+ */
10439
+ ruleIdMatched?: integer;
10440
+ /**
10441
+ * The router source of the matched rule. If there is a matched rule, this
10442
+ * field will be set, otherwise no value will be set.
10443
+ */
10444
+ matchedSourceType?: ServiceWorkerRouterSource;
10415
10445
  }
10416
10446
 
10417
10447
  /**
@@ -10487,7 +10517,10 @@ export namespace Protocol {
10487
10517
  */
10488
10518
  fromEarlyHints?: boolean;
10489
10519
  /**
10490
- * Information about how Service Worker Static Router was used.
10520
+ * Information about how ServiceWorker Static Router API was used. If this
10521
+ * field is set with `matchedSourceType` field, a matching rule is found.
10522
+ * If this field is set without `matchedSource`, no matching rule is found.
10523
+ * Otherwise, the API is not used.
10491
10524
  */
10492
10525
  serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
10493
10526
  /**
@@ -13164,7 +13197,7 @@ export namespace Protocol {
13164
13197
  * All Permissions Policy features. This enum should match the one defined
13165
13198
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
13166
13199
  */
13167
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | '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' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
13200
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | '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' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
13168
13201
 
13169
13202
  /**
13170
13203
  * Reason for a permissions policy feature to be disabled.
@@ -13798,7 +13831,7 @@ export namespace Protocol {
13798
13831
  /**
13799
13832
  * List of not restored reasons for back-forward cache.
13800
13833
  */
13801
- 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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | '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' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | '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');
13834
+ 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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | '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' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | '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' | 'RequestedByWebViewClient');
13802
13835
 
13803
13836
  /**
13804
13837
  * Types of not restored reasons for back-forward cache.
@@ -18490,6 +18523,19 @@ export namespace Protocol {
18490
18523
  badgeCount: integer;
18491
18524
  fileHandlers: FileHandler[];
18492
18525
  }
18526
+
18527
+ export interface InstallRequest {
18528
+ manifestId: string;
18529
+ /**
18530
+ * The location of the app or bundle overriding the one derived from the
18531
+ * manifestId.
18532
+ */
18533
+ installUrlOrBundleUrl?: string;
18534
+ }
18535
+
18536
+ export interface UninstallRequest {
18537
+ manifestId: string;
18538
+ }
18493
18539
  }
18494
18540
  }
18495
18541