devtools-protocol 0.0.1292262 → 0.0.1294156
Sign up to get free protection for your applications and to get access to all the features.
@@ -12577,10 +12577,14 @@
|
|
12577
12577
|
"properties": [
|
12578
12578
|
{
|
12579
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,
|
12580
12582
|
"type": "integer"
|
12581
12583
|
},
|
12582
12584
|
{
|
12583
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,
|
12584
12588
|
"$ref": "ServiceWorkerRouterSource"
|
12585
12589
|
}
|
12586
12590
|
]
|
@@ -12688,7 +12692,7 @@
|
|
12688
12692
|
},
|
12689
12693
|
{
|
12690
12694
|
"name": "serviceWorkerRouterInfo",
|
12691
|
-
"description": "Information about how
|
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.",
|
12692
12696
|
"experimental": true,
|
12693
12697
|
"optional": true,
|
12694
12698
|
"$ref": "ServiceWorkerRouterInfo"
|
@@ -16778,7 +16782,6 @@
|
|
16778
16782
|
"web-printing",
|
16779
16783
|
"web-share",
|
16780
16784
|
"window-management",
|
16781
|
-
"window-placement",
|
16782
16785
|
"xr-spatial-tracking"
|
16783
16786
|
]
|
16784
16787
|
},
|
@@ -26150,6 +26153,32 @@
|
|
26150
26153
|
}
|
26151
26154
|
}
|
26152
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
|
+
]
|
26153
26182
|
}
|
26154
26183
|
]
|
26155
26184
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -5864,8 +5864,12 @@ domain Network
|
|
5864
5864
|
|
5865
5865
|
experimental type ServiceWorkerRouterInfo extends object
|
5866
5866
|
properties
|
5867
|
-
|
5868
|
-
|
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
|
5869
5873
|
|
5870
5874
|
# HTTP response data.
|
5871
5875
|
type Response extends object
|
@@ -5904,7 +5908,10 @@ domain Network
|
|
5904
5908
|
optional boolean fromPrefetchCache
|
5905
5909
|
# Specifies that the request was served from the prefetch cache.
|
5906
5910
|
optional boolean fromEarlyHints
|
5907
|
-
# Information about how
|
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.
|
5908
5915
|
experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
|
5909
5916
|
# Total number of bytes received for this request so far.
|
5910
5917
|
number encodedDataLength
|
@@ -7918,9 +7925,7 @@ domain Page
|
|
7918
7925
|
vertical-scroll
|
7919
7926
|
web-printing
|
7920
7927
|
web-share
|
7921
|
-
# Alias for 'window-placement' (crbug.com/1328581).
|
7922
7928
|
window-management
|
7923
|
-
window-placement
|
7924
7929
|
xr-spatial-tracking
|
7925
7930
|
|
7926
7931
|
# Reason for a permissions policy feature to be disabled.
|
@@ -12343,3 +12348,24 @@ experimental domain PWA
|
|
12343
12348
|
integer badgeCount
|
12344
12349
|
array of FileHandler fileHandlers
|
12345
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
|
@@ -4959,6 +4959,29 @@ export namespace ProtocolMapping {
|
|
4959
4959
|
paramsType: [Protocol.PWA.GetOsAppStateRequest];
|
4960
4960
|
returnType: Protocol.PWA.GetOsAppStateResponse;
|
4961
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
|
+
};
|
4962
4985
|
}
|
4963
4986
|
}
|
4964
4987
|
|
@@ -4234,6 +4234,25 @@ export namespace ProtocolProxyApi {
|
|
4234
4234
|
*/
|
4235
4235
|
getOsAppState(params: Protocol.PWA.GetOsAppStateRequest): Promise<Protocol.PWA.GetOsAppStateResponse>;
|
4236
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
|
+
|
4237
4256
|
}
|
4238
4257
|
}
|
4239
4258
|
|
@@ -4618,6 +4618,25 @@ export namespace ProtocolTestsProxyApi {
|
|
4618
4618
|
*/
|
4619
4619
|
getOsAppState(params: Protocol.PWA.GetOsAppStateRequest): Promise<{id: number, result: Protocol.PWA.GetOsAppStateResponse, sessionId: string}>;
|
4620
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
|
+
|
4621
4640
|
}
|
4622
4641
|
}
|
4623
4642
|
|
package/types/protocol.d.ts
CHANGED
@@ -10432,8 +10432,16 @@ export namespace Protocol {
|
|
10432
10432
|
export type ServiceWorkerRouterSource = ('network' | 'cache' | 'fetch-event' | 'race-network-and-fetch-handler');
|
10433
10433
|
|
10434
10434
|
export interface ServiceWorkerRouterInfo {
|
10435
|
-
|
10436
|
-
|
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;
|
10437
10445
|
}
|
10438
10446
|
|
10439
10447
|
/**
|
@@ -10509,7 +10517,10 @@ export namespace Protocol {
|
|
10509
10517
|
*/
|
10510
10518
|
fromEarlyHints?: boolean;
|
10511
10519
|
/**
|
10512
|
-
* Information about how
|
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.
|
10513
10524
|
*/
|
10514
10525
|
serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
|
10515
10526
|
/**
|
@@ -13186,7 +13197,7 @@ export namespace Protocol {
|
|
13186
13197
|
* All Permissions Policy features. This enum should match the one defined
|
13187
13198
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
13188
13199
|
*/
|
13189
|
-
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' | '
|
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');
|
13190
13201
|
|
13191
13202
|
/**
|
13192
13203
|
* Reason for a permissions policy feature to be disabled.
|
@@ -18512,6 +18523,19 @@ export namespace Protocol {
|
|
18512
18523
|
badgeCount: integer;
|
18513
18524
|
fileHandlers: FileHandler[];
|
18514
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
|
+
}
|
18515
18539
|
}
|
18516
18540
|
}
|
18517
18541
|
|