devtools-protocol 0.0.1317198 → 0.0.1319565
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.
@@ -1754,7 +1754,9 @@
|
|
1754
1754
|
"ClientMetadataNoResponse",
|
1755
1755
|
"ClientMetadataInvalidResponse",
|
1756
1756
|
"ClientMetadataInvalidContentType",
|
1757
|
+
"IdpNotPotentiallyTrustworthy",
|
1757
1758
|
"DisabledInSettings",
|
1759
|
+
"DisabledInFlags",
|
1758
1760
|
"ErrorFetchingSignin",
|
1759
1761
|
"InvalidSigninResponse",
|
1760
1762
|
"AccountsHttpNotFound",
|
@@ -1777,6 +1779,7 @@
|
|
1777
1779
|
"NotSignedInWithIdp",
|
1778
1780
|
"MissingTransientUserActivation",
|
1779
1781
|
"ReplacedByButtonMode",
|
1782
|
+
"InvalidFieldsSpecified",
|
1780
1783
|
"RelyingPartyOriginIsOpaque",
|
1781
1784
|
"TypeNotMatching"
|
1782
1785
|
]
|
@@ -15417,6 +15420,11 @@
|
|
15417
15420
|
}
|
15418
15421
|
]
|
15419
15422
|
},
|
15423
|
+
{
|
15424
|
+
"name": "policyUpdated",
|
15425
|
+
"description": "Fired once security policy has been updated.",
|
15426
|
+
"experimental": true
|
15427
|
+
},
|
15420
15428
|
{
|
15421
15429
|
"name": "subresourceWebBundleMetadataReceived",
|
15422
15430
|
"description": "Fired once when parsing the .wbn file has succeeded.\nThe event contains the information about the web bundle contents.",
|
@@ -26236,6 +26244,15 @@
|
|
26236
26244
|
"type": "string"
|
26237
26245
|
}
|
26238
26246
|
]
|
26247
|
+
},
|
26248
|
+
{
|
26249
|
+
"id": "DisplayMode",
|
26250
|
+
"description": "If user prefers opening the app in browser or an app window.",
|
26251
|
+
"type": "string",
|
26252
|
+
"enum": [
|
26253
|
+
"standalone",
|
26254
|
+
"browser"
|
26255
|
+
]
|
26239
26256
|
}
|
26240
26257
|
],
|
26241
26258
|
"commands": [
|
@@ -26281,7 +26298,7 @@
|
|
26281
26298
|
},
|
26282
26299
|
{
|
26283
26300
|
"name": "uninstall",
|
26284
|
-
"description": "
|
26301
|
+
"description": "Uninstalls the given manifest_id and closes any opened app windows.",
|
26285
26302
|
"parameters": [
|
26286
26303
|
{
|
26287
26304
|
"name": "manifestId",
|
@@ -26313,7 +26330,7 @@
|
|
26313
26330
|
},
|
26314
26331
|
{
|
26315
26332
|
"name": "launchFilesInApp",
|
26316
|
-
"description": "Opens one or more local files from an installed web app identified by its\nmanifestId. The web app needs to have file handlers registered to process\nthe files. The API returns one or more page Target.TargetIDs which can be\nused to attach to via Target.attachToTarget or similar APIs.\nIf some files in the parameters cannot be handled by the web app, they will\nbe ignored. If none of the files can be handled, this API returns an error.\nIf no files provided as the parameter, this API also returns an error.\n\nAccording to the definition of the file handlers in the manifest file, one\nTarget.TargetID may represent a page handling one or more files. The order\nof the returned Target.TargetIDs is not guaranteed.\n\nTODO(crbug.com/339454034): Check the existences of the input files.",
|
26333
|
+
"description": "Opens one or more local files from an installed web app identified by its\nmanifestId. The web app needs to have file handlers registered to process\nthe files. The API returns one or more page Target.TargetIDs which can be\nused to attach to via Target.attachToTarget or similar APIs.\nIf some files in the parameters cannot be handled by the web app, they will\nbe ignored. If none of the files can be handled, this API returns an error.\nIf no files are provided as the parameter, this API also returns an error.\n\nAccording to the definition of the file handlers in the manifest file, one\nTarget.TargetID may represent a page handling one or more files. The order\nof the returned Target.TargetIDs is not guaranteed.\n\nTODO(crbug.com/339454034): Check the existences of the input files.",
|
26317
26334
|
"parameters": [
|
26318
26335
|
{
|
26319
26336
|
"name": "manifestId",
|
@@ -26340,13 +26357,34 @@
|
|
26340
26357
|
},
|
26341
26358
|
{
|
26342
26359
|
"name": "openCurrentPageInApp",
|
26343
|
-
"description": "Opens the current page in its web app identified by the manifest id, needs\nto be called on a page target. This function returns immediately without\nwaiting for the app
|
26360
|
+
"description": "Opens the current page in its web app identified by the manifest id, needs\nto be called on a page target. This function returns immediately without\nwaiting for the app to finish loading.",
|
26344
26361
|
"parameters": [
|
26345
26362
|
{
|
26346
26363
|
"name": "manifestId",
|
26347
26364
|
"type": "string"
|
26348
26365
|
}
|
26349
26366
|
]
|
26367
|
+
},
|
26368
|
+
{
|
26369
|
+
"name": "changeAppUserSettings",
|
26370
|
+
"description": "Changes user settings of the web app identified by its manifestId. If the\napp was not installed, this command returns an error. Unset parameters will\nbe ignored; unrecognized values will cause an error.\n\nUnlike the ones defined in the manifest files of the web apps, these\nsettings are provided by the browser and controlled by the users, they\nimpact the way the browser handling the web apps.\n\nSee the comment of each parameter.",
|
26371
|
+
"parameters": [
|
26372
|
+
{
|
26373
|
+
"name": "manifestId",
|
26374
|
+
"type": "string"
|
26375
|
+
},
|
26376
|
+
{
|
26377
|
+
"name": "linkCapturing",
|
26378
|
+
"description": "If user allows the links clicked on by the user in the app's scope, or\nextended scope if the manifest has scope extensions and the flags\n`DesktopPWAsLinkCapturingWithScopeExtensions` and\n`WebAppEnableScopeExtensions` are enabled.\n\nNote, the API does not support resetting the linkCapturing to the\ninitial value, uninstalling and installing the web app again will reset\nit.\n\nTODO(crbug.com/339453269): Setting this value on ChromeOS is not\nsupported yet.",
|
26379
|
+
"optional": true,
|
26380
|
+
"type": "boolean"
|
26381
|
+
},
|
26382
|
+
{
|
26383
|
+
"name": "displayMode",
|
26384
|
+
"optional": true,
|
26385
|
+
"$ref": "DisplayMode"
|
26386
|
+
}
|
26387
|
+
]
|
26350
26388
|
}
|
26351
26389
|
]
|
26352
26390
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -892,7 +892,9 @@ experimental domain Audits
|
|
892
892
|
ClientMetadataNoResponse
|
893
893
|
ClientMetadataInvalidResponse
|
894
894
|
ClientMetadataInvalidContentType
|
895
|
+
IdpNotPotentiallyTrustworthy
|
895
896
|
DisabledInSettings
|
897
|
+
DisabledInFlags
|
896
898
|
ErrorFetchingSignin
|
897
899
|
InvalidSigninResponse
|
898
900
|
AccountsHttpNotFound
|
@@ -915,6 +917,7 @@ experimental domain Audits
|
|
915
917
|
NotSignedInWithIdp
|
916
918
|
MissingTransientUserActivation
|
917
919
|
ReplacedByButtonMode
|
920
|
+
InvalidFieldsSpecified
|
918
921
|
RelyingPartyOriginIsOpaque
|
919
922
|
TypeNotMatching
|
920
923
|
|
@@ -7121,6 +7124,9 @@ domain Network
|
|
7121
7124
|
# The number of obtained Trust Tokens on a successful "Issuance" operation.
|
7122
7125
|
optional integer issuedTokenCount
|
7123
7126
|
|
7127
|
+
# Fired once security policy has been updated.
|
7128
|
+
experimental event policyUpdated
|
7129
|
+
|
7124
7130
|
# Fired once when parsing the .wbn file has succeeded.
|
7125
7131
|
# The event contains the information about the web bundle contents.
|
7126
7132
|
experimental event subresourceWebBundleMetadataReceived
|
@@ -12420,7 +12426,7 @@ experimental domain PWA
|
|
12420
12426
|
# manifestId.
|
12421
12427
|
optional string installUrlOrBundleUrl
|
12422
12428
|
|
12423
|
-
#
|
12429
|
+
# Uninstalls the given manifest_id and closes any opened app windows.
|
12424
12430
|
command uninstall
|
12425
12431
|
parameters
|
12426
12432
|
string manifestId
|
@@ -12442,7 +12448,7 @@ experimental domain PWA
|
|
12442
12448
|
# used to attach to via Target.attachToTarget or similar APIs.
|
12443
12449
|
# If some files in the parameters cannot be handled by the web app, they will
|
12444
12450
|
# be ignored. If none of the files can be handled, this API returns an error.
|
12445
|
-
# If no files provided as the parameter, this API also returns an error.
|
12451
|
+
# If no files are provided as the parameter, this API also returns an error.
|
12446
12452
|
#
|
12447
12453
|
# According to the definition of the file handlers in the manifest file, one
|
12448
12454
|
# Target.TargetID may represent a page handling one or more files. The order
|
@@ -12459,7 +12465,39 @@ experimental domain PWA
|
|
12459
12465
|
|
12460
12466
|
# Opens the current page in its web app identified by the manifest id, needs
|
12461
12467
|
# to be called on a page target. This function returns immediately without
|
12462
|
-
# waiting for the app
|
12468
|
+
# waiting for the app to finish loading.
|
12463
12469
|
command openCurrentPageInApp
|
12464
12470
|
parameters
|
12465
12471
|
string manifestId
|
12472
|
+
|
12473
|
+
# If user prefers opening the app in browser or an app window.
|
12474
|
+
type DisplayMode extends string
|
12475
|
+
enum
|
12476
|
+
standalone
|
12477
|
+
browser
|
12478
|
+
|
12479
|
+
# Changes user settings of the web app identified by its manifestId. If the
|
12480
|
+
# app was not installed, this command returns an error. Unset parameters will
|
12481
|
+
# be ignored; unrecognized values will cause an error.
|
12482
|
+
#
|
12483
|
+
# Unlike the ones defined in the manifest files of the web apps, these
|
12484
|
+
# settings are provided by the browser and controlled by the users, they
|
12485
|
+
# impact the way the browser handling the web apps.
|
12486
|
+
#
|
12487
|
+
# See the comment of each parameter.
|
12488
|
+
command changeAppUserSettings
|
12489
|
+
parameters
|
12490
|
+
string manifestId
|
12491
|
+
# If user allows the links clicked on by the user in the app's scope, or
|
12492
|
+
# extended scope if the manifest has scope extensions and the flags
|
12493
|
+
# `DesktopPWAsLinkCapturingWithScopeExtensions` and
|
12494
|
+
# `WebAppEnableScopeExtensions` are enabled.
|
12495
|
+
#
|
12496
|
+
# Note, the API does not support resetting the linkCapturing to the
|
12497
|
+
# initial value, uninstalling and installing the web app again will reset
|
12498
|
+
# it.
|
12499
|
+
#
|
12500
|
+
# TODO(crbug.com/339453269): Setting this value on ChromeOS is not
|
12501
|
+
# supported yet.
|
12502
|
+
optional boolean linkCapturing
|
12503
|
+
optional DisplayMode displayMode
|
@@ -372,6 +372,10 @@ export namespace ProtocolMapping {
|
|
372
372
|
* or after the response was received.
|
373
373
|
*/
|
374
374
|
'Network.trustTokenOperationDone': [Protocol.Network.TrustTokenOperationDoneEvent];
|
375
|
+
/**
|
376
|
+
* Fired once security policy has been updated.
|
377
|
+
*/
|
378
|
+
'Network.policyUpdated': [];
|
375
379
|
/**
|
376
380
|
* Fired once when parsing the .wbn file has succeeded.
|
377
381
|
* The event contains the information about the web bundle contents.
|
@@ -4984,7 +4988,7 @@ export namespace ProtocolMapping {
|
|
4984
4988
|
returnType: void;
|
4985
4989
|
};
|
4986
4990
|
/**
|
4987
|
-
*
|
4991
|
+
* Uninstalls the given manifest_id and closes any opened app windows.
|
4988
4992
|
*/
|
4989
4993
|
'PWA.uninstall': {
|
4990
4994
|
paramsType: [Protocol.PWA.UninstallRequest];
|
@@ -5006,7 +5010,7 @@ export namespace ProtocolMapping {
|
|
5006
5010
|
* used to attach to via Target.attachToTarget or similar APIs.
|
5007
5011
|
* If some files in the parameters cannot be handled by the web app, they will
|
5008
5012
|
* be ignored. If none of the files can be handled, this API returns an error.
|
5009
|
-
* If no files provided as the parameter, this API also returns an error.
|
5013
|
+
* If no files are provided as the parameter, this API also returns an error.
|
5010
5014
|
*
|
5011
5015
|
* According to the definition of the file handlers in the manifest file, one
|
5012
5016
|
* Target.TargetID may represent a page handling one or more files. The order
|
@@ -5021,12 +5025,27 @@ export namespace ProtocolMapping {
|
|
5021
5025
|
/**
|
5022
5026
|
* Opens the current page in its web app identified by the manifest id, needs
|
5023
5027
|
* to be called on a page target. This function returns immediately without
|
5024
|
-
* waiting for the app
|
5028
|
+
* waiting for the app to finish loading.
|
5025
5029
|
*/
|
5026
5030
|
'PWA.openCurrentPageInApp': {
|
5027
5031
|
paramsType: [Protocol.PWA.OpenCurrentPageInAppRequest];
|
5028
5032
|
returnType: void;
|
5029
5033
|
};
|
5034
|
+
/**
|
5035
|
+
* Changes user settings of the web app identified by its manifestId. If the
|
5036
|
+
* app was not installed, this command returns an error. Unset parameters will
|
5037
|
+
* be ignored; unrecognized values will cause an error.
|
5038
|
+
*
|
5039
|
+
* Unlike the ones defined in the manifest files of the web apps, these
|
5040
|
+
* settings are provided by the browser and controlled by the users, they
|
5041
|
+
* impact the way the browser handling the web apps.
|
5042
|
+
*
|
5043
|
+
* See the comment of each parameter.
|
5044
|
+
*/
|
5045
|
+
'PWA.changeAppUserSettings': {
|
5046
|
+
paramsType: [Protocol.PWA.ChangeAppUserSettingsRequest];
|
5047
|
+
returnType: void;
|
5048
|
+
};
|
5030
5049
|
}
|
5031
5050
|
}
|
5032
5051
|
|
@@ -2604,6 +2604,11 @@ export namespace ProtocolProxyApi {
|
|
2604
2604
|
*/
|
2605
2605
|
on(event: 'trustTokenOperationDone', listener: (params: Protocol.Network.TrustTokenOperationDoneEvent) => void): void;
|
2606
2606
|
|
2607
|
+
/**
|
2608
|
+
* Fired once security policy has been updated.
|
2609
|
+
*/
|
2610
|
+
on(event: 'policyUpdated', listener: () => void): void;
|
2611
|
+
|
2607
2612
|
/**
|
2608
2613
|
* Fired once when parsing the .wbn file has succeeded.
|
2609
2614
|
* The event contains the information about the web bundle contents.
|
@@ -4255,7 +4260,7 @@ export namespace ProtocolProxyApi {
|
|
4255
4260
|
install(params: Protocol.PWA.InstallRequest): Promise<void>;
|
4256
4261
|
|
4257
4262
|
/**
|
4258
|
-
*
|
4263
|
+
* Uninstalls the given manifest_id and closes any opened app windows.
|
4259
4264
|
*/
|
4260
4265
|
uninstall(params: Protocol.PWA.UninstallRequest): Promise<void>;
|
4261
4266
|
|
@@ -4273,7 +4278,7 @@ export namespace ProtocolProxyApi {
|
|
4273
4278
|
* used to attach to via Target.attachToTarget or similar APIs.
|
4274
4279
|
* If some files in the parameters cannot be handled by the web app, they will
|
4275
4280
|
* be ignored. If none of the files can be handled, this API returns an error.
|
4276
|
-
* If no files provided as the parameter, this API also returns an error.
|
4281
|
+
* If no files are provided as the parameter, this API also returns an error.
|
4277
4282
|
*
|
4278
4283
|
* According to the definition of the file handlers in the manifest file, one
|
4279
4284
|
* Target.TargetID may represent a page handling one or more files. The order
|
@@ -4286,10 +4291,23 @@ export namespace ProtocolProxyApi {
|
|
4286
4291
|
/**
|
4287
4292
|
* Opens the current page in its web app identified by the manifest id, needs
|
4288
4293
|
* to be called on a page target. This function returns immediately without
|
4289
|
-
* waiting for the app
|
4294
|
+
* waiting for the app to finish loading.
|
4290
4295
|
*/
|
4291
4296
|
openCurrentPageInApp(params: Protocol.PWA.OpenCurrentPageInAppRequest): Promise<void>;
|
4292
4297
|
|
4298
|
+
/**
|
4299
|
+
* Changes user settings of the web app identified by its manifestId. If the
|
4300
|
+
* app was not installed, this command returns an error. Unset parameters will
|
4301
|
+
* be ignored; unrecognized values will cause an error.
|
4302
|
+
*
|
4303
|
+
* Unlike the ones defined in the manifest files of the web apps, these
|
4304
|
+
* settings are provided by the browser and controlled by the users, they
|
4305
|
+
* impact the way the browser handling the web apps.
|
4306
|
+
*
|
4307
|
+
* See the comment of each parameter.
|
4308
|
+
*/
|
4309
|
+
changeAppUserSettings(params: Protocol.PWA.ChangeAppUserSettingsRequest): Promise<void>;
|
4310
|
+
|
4293
4311
|
}
|
4294
4312
|
}
|
4295
4313
|
|
@@ -2790,6 +2790,13 @@ export namespace ProtocolTestsProxyApi {
|
|
2790
2790
|
offTrustTokenOperationDone(listener: (event: { params: Protocol.Network.TrustTokenOperationDoneEvent }) => void): void;
|
2791
2791
|
onceTrustTokenOperationDone(eventMatcher?: (event: { params: Protocol.Network.TrustTokenOperationDoneEvent }) => boolean): Promise<{ params: Protocol.Network.TrustTokenOperationDoneEvent }>;
|
2792
2792
|
|
2793
|
+
/**
|
2794
|
+
* Fired once security policy has been updated.
|
2795
|
+
*/
|
2796
|
+
onPolicyUpdated(listener: (event: ) => void): void;
|
2797
|
+
offPolicyUpdated(listener: (event: ) => void): void;
|
2798
|
+
oncePolicyUpdated(eventMatcher?: (event: ) => boolean): Promise<>;
|
2799
|
+
|
2793
2800
|
/**
|
2794
2801
|
* Fired once when parsing the .wbn file has succeeded.
|
2795
2802
|
* The event contains the information about the web bundle contents.
|
@@ -4639,7 +4646,7 @@ export namespace ProtocolTestsProxyApi {
|
|
4639
4646
|
install(params: Protocol.PWA.InstallRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4640
4647
|
|
4641
4648
|
/**
|
4642
|
-
*
|
4649
|
+
* Uninstalls the given manifest_id and closes any opened app windows.
|
4643
4650
|
*/
|
4644
4651
|
uninstall(params: Protocol.PWA.UninstallRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4645
4652
|
|
@@ -4657,7 +4664,7 @@ export namespace ProtocolTestsProxyApi {
|
|
4657
4664
|
* used to attach to via Target.attachToTarget or similar APIs.
|
4658
4665
|
* If some files in the parameters cannot be handled by the web app, they will
|
4659
4666
|
* be ignored. If none of the files can be handled, this API returns an error.
|
4660
|
-
* If no files provided as the parameter, this API also returns an error.
|
4667
|
+
* If no files are provided as the parameter, this API also returns an error.
|
4661
4668
|
*
|
4662
4669
|
* According to the definition of the file handlers in the manifest file, one
|
4663
4670
|
* Target.TargetID may represent a page handling one or more files. The order
|
@@ -4670,10 +4677,23 @@ export namespace ProtocolTestsProxyApi {
|
|
4670
4677
|
/**
|
4671
4678
|
* Opens the current page in its web app identified by the manifest id, needs
|
4672
4679
|
* to be called on a page target. This function returns immediately without
|
4673
|
-
* waiting for the app
|
4680
|
+
* waiting for the app to finish loading.
|
4674
4681
|
*/
|
4675
4682
|
openCurrentPageInApp(params: Protocol.PWA.OpenCurrentPageInAppRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4676
4683
|
|
4684
|
+
/**
|
4685
|
+
* Changes user settings of the web app identified by its manifestId. If the
|
4686
|
+
* app was not installed, this command returns an error. Unset parameters will
|
4687
|
+
* be ignored; unrecognized values will cause an error.
|
4688
|
+
*
|
4689
|
+
* Unlike the ones defined in the manifest files of the web apps, these
|
4690
|
+
* settings are provided by the browser and controlled by the users, they
|
4691
|
+
* impact the way the browser handling the web apps.
|
4692
|
+
*
|
4693
|
+
* See the comment of each parameter.
|
4694
|
+
*/
|
4695
|
+
changeAppUserSettings(params: Protocol.PWA.ChangeAppUserSettingsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4696
|
+
|
4677
4697
|
}
|
4678
4698
|
}
|
4679
4699
|
|
package/types/protocol.d.ts
CHANGED
@@ -3579,7 +3579,7 @@ export namespace Protocol {
|
|
3579
3579
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3580
3580
|
* all cases except for success.
|
3581
3581
|
*/
|
3582
|
-
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching');
|
3582
|
+
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching');
|
3583
3583
|
|
3584
3584
|
export interface FederatedAuthUserInfoRequestIssueDetails {
|
3585
3585
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
@@ -18567,6 +18567,11 @@ export namespace Protocol {
|
|
18567
18567
|
displayName: string;
|
18568
18568
|
}
|
18569
18569
|
|
18570
|
+
/**
|
18571
|
+
* If user prefers opening the app in browser or an app window.
|
18572
|
+
*/
|
18573
|
+
export type DisplayMode = ('standalone' | 'browser');
|
18574
|
+
|
18570
18575
|
export interface GetOsAppStateRequest {
|
18571
18576
|
/**
|
18572
18577
|
* The id from the webapp's manifest file, commonly it's the url of the
|
@@ -18621,6 +18626,25 @@ export namespace Protocol {
|
|
18621
18626
|
export interface OpenCurrentPageInAppRequest {
|
18622
18627
|
manifestId: string;
|
18623
18628
|
}
|
18629
|
+
|
18630
|
+
export interface ChangeAppUserSettingsRequest {
|
18631
|
+
manifestId: string;
|
18632
|
+
/**
|
18633
|
+
* If user allows the links clicked on by the user in the app's scope, or
|
18634
|
+
* extended scope if the manifest has scope extensions and the flags
|
18635
|
+
* `DesktopPWAsLinkCapturingWithScopeExtensions` and
|
18636
|
+
* `WebAppEnableScopeExtensions` are enabled.
|
18637
|
+
*
|
18638
|
+
* Note, the API does not support resetting the linkCapturing to the
|
18639
|
+
* initial value, uninstalling and installing the web app again will reset
|
18640
|
+
* it.
|
18641
|
+
*
|
18642
|
+
* TODO(crbug.com/339453269): Setting this value on ChromeOS is not
|
18643
|
+
* supported yet.
|
18644
|
+
*/
|
18645
|
+
linkCapturing?: boolean;
|
18646
|
+
displayMode?: DisplayMode;
|
18647
|
+
}
|
18624
18648
|
}
|
18625
18649
|
}
|
18626
18650
|
|