devtools-protocol 0.0.815575 → 0.0.818844
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 +31 -0
- package/json/browser_protocol.json +42 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +48 -0
- package/types/protocol-mapping.d.ts +7 -0
- package/types/protocol-proxy-api.d.ts +5 -0
- package/types/protocol.d.ts +29 -3
package/changelog.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## Roll protocol to r818814
|
|
4
|
+
###### _2020-10-20 00:15:59_ | Diff: [f72d9f7...e1b8740](https://github.com/ChromeDevTools/devtools-protocol/compare/f72d9f7...e1b8740)
|
|
5
|
+
#### `Storage`: new command
|
|
6
|
+
* [`Storage.overrideQuotaForOrigin`](https://chromedevtools.github.io/devtools-protocol/tot/Storage/#method-overrideQuotaForOrigin)
|
|
7
|
+
#### `Storage`: modified command
|
|
8
|
+
* [`Storage.getUsageAndQuota`](https://chromedevtools.github.io/devtools-protocol/tot/Storage/#method-getUsageAndQuota) - The `usageBreakdown` in the return value had `items` _removed_. The `usageBreakdown` in the return value had `name` _updated_. The `usageBreakdown` in the return value had `description` _updated_. The `usageBreakdown` in the return value had `type` _updated_. The return value's `usageBreakdown` _added_.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Roll protocol to r816699
|
|
12
|
+
###### _2020-10-13 12:16:04_ | Diff: [d268e57...f72d9f7](https://github.com/ChromeDevTools/devtools-protocol/compare/d268e57...f72d9f7)
|
|
13
|
+
#### `Network`: modified types
|
|
14
|
+
* [`Network.SetCookieBlockedReason`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-SetCookieBlockedReason) - The enum's `SchemefulSameSiteStrict` _added_. The enum's `SchemefulSameSiteLax` _added_. The enum's `SchemefulSameSiteUnspecifiedTreatedAsLax` _added_.
|
|
15
|
+
* [`Network.CookieBlockedReason`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-CookieBlockedReason) - The enum's `SchemefulSameSiteStrict` _added_. The enum's `SchemefulSameSiteLax` _added_. The enum's `SchemefulSameSiteUnspecifiedTreatedAsLax` _added_.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## Roll protocol to r816501
|
|
19
|
+
###### _2020-10-13 03:16:04_ | Diff: [b72ea89...d268e57](https://github.com/ChromeDevTools/devtools-protocol/compare/b72ea89...d268e57)
|
|
20
|
+
#### `Browser`: modified types
|
|
21
|
+
* [`Browser.PermissionType`](https://chromedevtools.github.io/devtools-protocol/tot/Browser/#type-PermissionType) - The enum's `idleDetection` _updated_. The enum's `wakeLockScreen` _updated_. The enum's `wakeLockSystem` _updated_. The enum's `wakeLockSystem` _added_.
|
|
22
|
+
* [`Browser.PermissionDescriptor`](https://chromedevtools.github.io/devtools-protocol/tot/Browser/#type-PermissionDescriptor) - The properties's `panTiltZoom` _added_.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Roll protocol to r815575
|
|
26
|
+
###### _2020-10-09 05:16:03_ | Diff: [5c44cf2...b72ea89](https://github.com/ChromeDevTools/devtools-protocol/compare/5c44cf2...b72ea89)
|
|
27
|
+
#### `Network`: new types
|
|
28
|
+
* [`Network.TrustTokenParams`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-TrustTokenParams)
|
|
29
|
+
* [`Network.TrustTokenOperationType`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-TrustTokenOperationType)
|
|
30
|
+
#### `Network`: modified type
|
|
31
|
+
* [`Network.Request`](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-Request) - The properties's `trustTokenParams` _added_.
|
|
32
|
+
|
|
33
|
+
|
|
3
34
|
## Roll protocol to r814213
|
|
4
35
|
###### _2020-10-06 08:18:01_ | Diff: [f99d711...5c44cf2](https://github.com/ChromeDevTools/devtools-protocol/compare/f99d711...5c44cf2)
|
|
5
36
|
#### `Console`: new domains
|
|
@@ -1291,6 +1291,10 @@
|
|
|
1291
1291
|
"description": "Specific directive that is violated, causing the CSP issue.",
|
|
1292
1292
|
"type": "string"
|
|
1293
1293
|
},
|
|
1294
|
+
{
|
|
1295
|
+
"name": "isReportOnly",
|
|
1296
|
+
"type": "boolean"
|
|
1297
|
+
},
|
|
1294
1298
|
{
|
|
1295
1299
|
"name": "contentSecurityPolicyViolationType",
|
|
1296
1300
|
"$ref": "ContentSecurityPolicyViolationType"
|
|
@@ -1683,6 +1687,7 @@
|
|
|
1683
1687
|
"protectedMediaIdentifier",
|
|
1684
1688
|
"sensors",
|
|
1685
1689
|
"videoCapture",
|
|
1690
|
+
"videoCapturePanTiltZoom",
|
|
1686
1691
|
"idleDetection",
|
|
1687
1692
|
"wakeLockScreen",
|
|
1688
1693
|
"wakeLockSystem"
|
|
@@ -1726,6 +1731,12 @@
|
|
|
1726
1731
|
"description": "For \"clipboard\" permission, may specify allowWithoutSanitization.",
|
|
1727
1732
|
"optional": true,
|
|
1728
1733
|
"type": "boolean"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"name": "panTiltZoom",
|
|
1737
|
+
"description": "For \"camera\" permission, may specify panTiltZoom.",
|
|
1738
|
+
"optional": true,
|
|
1739
|
+
"type": "boolean"
|
|
1729
1740
|
}
|
|
1730
1741
|
]
|
|
1731
1742
|
},
|
|
@@ -10129,7 +10140,10 @@
|
|
|
10129
10140
|
"OverwriteSecure",
|
|
10130
10141
|
"InvalidDomain",
|
|
10131
10142
|
"InvalidPrefix",
|
|
10132
|
-
"UnknownError"
|
|
10143
|
+
"UnknownError",
|
|
10144
|
+
"SchemefulSameSiteStrict",
|
|
10145
|
+
"SchemefulSameSiteLax",
|
|
10146
|
+
"SchemefulSameSiteUnspecifiedTreatedAsLax"
|
|
10133
10147
|
]
|
|
10134
10148
|
},
|
|
10135
10149
|
{
|
|
@@ -10146,7 +10160,10 @@
|
|
|
10146
10160
|
"SameSiteUnspecifiedTreatedAsLax",
|
|
10147
10161
|
"SameSiteNoneInsecure",
|
|
10148
10162
|
"UserPreferences",
|
|
10149
|
-
"UnknownError"
|
|
10163
|
+
"UnknownError",
|
|
10164
|
+
"SchemefulSameSiteStrict",
|
|
10165
|
+
"SchemefulSameSiteLax",
|
|
10166
|
+
"SchemefulSameSiteUnspecifiedTreatedAsLax"
|
|
10150
10167
|
]
|
|
10151
10168
|
},
|
|
10152
10169
|
{
|
|
@@ -15678,6 +15695,11 @@
|
|
|
15678
15695
|
"description": "Storage quota (bytes).",
|
|
15679
15696
|
"type": "number"
|
|
15680
15697
|
},
|
|
15698
|
+
{
|
|
15699
|
+
"name": "overrideActive",
|
|
15700
|
+
"description": "Whether or not the origin has an active storage quota override",
|
|
15701
|
+
"type": "boolean"
|
|
15702
|
+
},
|
|
15681
15703
|
{
|
|
15682
15704
|
"name": "usageBreakdown",
|
|
15683
15705
|
"description": "Storage usage per type (bytes).",
|
|
@@ -15688,6 +15710,24 @@
|
|
|
15688
15710
|
}
|
|
15689
15711
|
]
|
|
15690
15712
|
},
|
|
15713
|
+
{
|
|
15714
|
+
"name": "overrideQuotaForOrigin",
|
|
15715
|
+
"description": "Override quota for the specified origin",
|
|
15716
|
+
"experimental": true,
|
|
15717
|
+
"parameters": [
|
|
15718
|
+
{
|
|
15719
|
+
"name": "origin",
|
|
15720
|
+
"description": "Security origin.",
|
|
15721
|
+
"type": "string"
|
|
15722
|
+
},
|
|
15723
|
+
{
|
|
15724
|
+
"name": "quotaSize",
|
|
15725
|
+
"description": "The quota size (in bytes) to override the original quota with.\nIf this is called multiple times, the overriden quota will be equal to\nthe quotaSize provided in the final call. If this is called without\nspecifying a quotaSize, the quota will be reset to the default value for\nthe specified origin. If this is called multiple times with different\norigins, the override will be maintained for each origin until it is\ndisabled (called without a quotaSize).",
|
|
15726
|
+
"optional": true,
|
|
15727
|
+
"type": "number"
|
|
15728
|
+
}
|
|
15729
|
+
]
|
|
15730
|
+
},
|
|
15691
15731
|
{
|
|
15692
15732
|
"name": "trackCacheStorageForOrigin",
|
|
15693
15733
|
"description": "Registers origin to be notified when an update occurs to its cache storage list.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -642,6 +642,7 @@ experimental domain Audits
|
|
|
642
642
|
optional string blockedURL
|
|
643
643
|
# Specific directive that is violated, causing the CSP issue.
|
|
644
644
|
string violatedDirective
|
|
645
|
+
boolean isReportOnly
|
|
645
646
|
ContentSecurityPolicyViolationType contentSecurityPolicyViolationType
|
|
646
647
|
optional AffectedFrame frameAncestor
|
|
647
648
|
optional SourceCodeLocation sourceCodeLocation
|
|
@@ -826,6 +827,7 @@ domain Browser
|
|
|
826
827
|
protectedMediaIdentifier
|
|
827
828
|
sensors
|
|
828
829
|
videoCapture
|
|
830
|
+
videoCapturePanTiltZoom
|
|
829
831
|
idleDetection
|
|
830
832
|
wakeLockScreen
|
|
831
833
|
wakeLockSystem
|
|
@@ -850,6 +852,8 @@ domain Browser
|
|
|
850
852
|
optional boolean userVisibleOnly
|
|
851
853
|
# For "clipboard" permission, may specify allowWithoutSanitization.
|
|
852
854
|
optional boolean allowWithoutSanitization
|
|
855
|
+
# For "camera" permission, may specify panTiltZoom.
|
|
856
|
+
optional boolean panTiltZoom
|
|
853
857
|
|
|
854
858
|
# Set permission settings for given origin.
|
|
855
859
|
experimental command setPermission
|
|
@@ -4661,6 +4665,20 @@ domain Network
|
|
|
4661
4665
|
InvalidPrefix
|
|
4662
4666
|
# An unknown error was encountered when trying to store this cookie.
|
|
4663
4667
|
UnknownError
|
|
4668
|
+
# The cookie had the "SameSite=Strict" attribute but came from a response
|
|
4669
|
+
# with the same registrable domain but a different scheme.
|
|
4670
|
+
# This includes navigation requests intitiated by other origins.
|
|
4671
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
4672
|
+
SchemefulSameSiteStrict
|
|
4673
|
+
# The cookie had the "SameSite=Lax" attribute but came from a response
|
|
4674
|
+
# with the same registrable domain but a different scheme.
|
|
4675
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
4676
|
+
SchemefulSameSiteLax
|
|
4677
|
+
# The cookie didn't specify a "SameSite" attribute and was defaulted to
|
|
4678
|
+
# "SameSite=Lax" and broke the same rules specified in the SchemefulSameSiteLax
|
|
4679
|
+
# value.
|
|
4680
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
4681
|
+
SchemefulSameSiteUnspecifiedTreatedAsLax
|
|
4664
4682
|
|
|
4665
4683
|
# Types of reasons why a cookie may not be sent with a request.
|
|
4666
4684
|
experimental type CookieBlockedReason extends string
|
|
@@ -4689,6 +4707,20 @@ domain Network
|
|
|
4689
4707
|
UserPreferences
|
|
4690
4708
|
# An unknown error was encountered when trying to send this cookie.
|
|
4691
4709
|
UnknownError
|
|
4710
|
+
# The cookie had the "SameSite=Strict" attribute but came from a response
|
|
4711
|
+
# with the same registrable domain but a different scheme.
|
|
4712
|
+
# This includes navigation requests intitiated by other origins.
|
|
4713
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
4714
|
+
SchemefulSameSiteStrict
|
|
4715
|
+
# The cookie had the "SameSite=Lax" attribute but came from a response
|
|
4716
|
+
# with the same registrable domain but a different scheme.
|
|
4717
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
4718
|
+
SchemefulSameSiteLax
|
|
4719
|
+
# The cookie didn't specify a "SameSite" attribute and was defaulted to
|
|
4720
|
+
# "SameSite=Lax" and broke the same rules specified in the SchemefulSameSiteLax
|
|
4721
|
+
# value.
|
|
4722
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
4723
|
+
SchemefulSameSiteUnspecifiedTreatedAsLax
|
|
4692
4724
|
|
|
4693
4725
|
# A cookie which was not stored from a response with the corresponding reason.
|
|
4694
4726
|
experimental type BlockedSetCookieWithReason extends object
|
|
@@ -7220,9 +7252,25 @@ experimental domain Storage
|
|
|
7220
7252
|
number usage
|
|
7221
7253
|
# Storage quota (bytes).
|
|
7222
7254
|
number quota
|
|
7255
|
+
# Whether or not the origin has an active storage quota override
|
|
7256
|
+
boolean overrideActive
|
|
7223
7257
|
# Storage usage per type (bytes).
|
|
7224
7258
|
array of UsageForType usageBreakdown
|
|
7225
7259
|
|
|
7260
|
+
# Override quota for the specified origin
|
|
7261
|
+
experimental command overrideQuotaForOrigin
|
|
7262
|
+
parameters
|
|
7263
|
+
# Security origin.
|
|
7264
|
+
string origin
|
|
7265
|
+
# The quota size (in bytes) to override the original quota with.
|
|
7266
|
+
# If this is called multiple times, the overriden quota will be equal to
|
|
7267
|
+
# the quotaSize provided in the final call. If this is called without
|
|
7268
|
+
# specifying a quotaSize, the quota will be reset to the default value for
|
|
7269
|
+
# the specified origin. If this is called multiple times with different
|
|
7270
|
+
# origins, the override will be maintained for each origin until it is
|
|
7271
|
+
# disabled (called without a quotaSize).
|
|
7272
|
+
optional number quotaSize
|
|
7273
|
+
|
|
7226
7274
|
# Registers origin to be notified when an update occurs to its cache storage list.
|
|
7227
7275
|
command trackCacheStorageForOrigin
|
|
7228
7276
|
parameters
|
|
@@ -3697,6 +3697,13 @@ export namespace ProtocolMapping {
|
|
|
3697
3697
|
paramsType: [Protocol.Storage.GetUsageAndQuotaRequest];
|
|
3698
3698
|
returnType: Protocol.Storage.GetUsageAndQuotaResponse;
|
|
3699
3699
|
};
|
|
3700
|
+
/**
|
|
3701
|
+
* Override quota for the specified origin
|
|
3702
|
+
*/
|
|
3703
|
+
'Storage.overrideQuotaForOrigin': {
|
|
3704
|
+
paramsType: [Protocol.Storage.OverrideQuotaForOriginRequest];
|
|
3705
|
+
returnType: void;
|
|
3706
|
+
};
|
|
3700
3707
|
/**
|
|
3701
3708
|
* Registers origin to be notified when an update occurs to its cache storage list.
|
|
3702
3709
|
*/
|
|
@@ -2975,6 +2975,11 @@ export namespace ProtocolProxyApi {
|
|
|
2975
2975
|
*/
|
|
2976
2976
|
getUsageAndQuota(params: Protocol.Storage.GetUsageAndQuotaRequest): Promise<Protocol.Storage.GetUsageAndQuotaResponse>;
|
|
2977
2977
|
|
|
2978
|
+
/**
|
|
2979
|
+
* Override quota for the specified origin
|
|
2980
|
+
*/
|
|
2981
|
+
overrideQuotaForOrigin(params: Protocol.Storage.OverrideQuotaForOriginRequest): Promise<void>;
|
|
2982
|
+
|
|
2978
2983
|
/**
|
|
2979
2984
|
* Registers origin to be notified when an update occurs to its cache storage list.
|
|
2980
2985
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -3218,6 +3218,7 @@ export namespace Protocol {
|
|
|
3218
3218
|
* Specific directive that is violated, causing the CSP issue.
|
|
3219
3219
|
*/
|
|
3220
3220
|
violatedDirective: string;
|
|
3221
|
+
isReportOnly: boolean;
|
|
3221
3222
|
contentSecurityPolicyViolationType: ContentSecurityPolicyViolationType;
|
|
3222
3223
|
frameAncestor?: AffectedFrame;
|
|
3223
3224
|
sourceCodeLocation?: SourceCodeLocation;
|
|
@@ -3422,7 +3423,7 @@ export namespace Protocol {
|
|
|
3422
3423
|
windowState?: WindowState;
|
|
3423
3424
|
}
|
|
3424
3425
|
|
|
3425
|
-
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'durableStorage' | 'flash' | 'geolocation' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'videoCapture' | 'idleDetection' | 'wakeLockScreen' | 'wakeLockSystem');
|
|
3426
|
+
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'durableStorage' | 'flash' | 'geolocation' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'idleDetection' | 'wakeLockScreen' | 'wakeLockSystem');
|
|
3426
3427
|
|
|
3427
3428
|
export type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
|
3428
3429
|
|
|
@@ -3449,6 +3450,10 @@ export namespace Protocol {
|
|
|
3449
3450
|
* For "clipboard" permission, may specify allowWithoutSanitization.
|
|
3450
3451
|
*/
|
|
3451
3452
|
allowWithoutSanitization?: boolean;
|
|
3453
|
+
/**
|
|
3454
|
+
* For "camera" permission, may specify panTiltZoom.
|
|
3455
|
+
*/
|
|
3456
|
+
panTiltZoom?: boolean;
|
|
3452
3457
|
}
|
|
3453
3458
|
|
|
3454
3459
|
/**
|
|
@@ -9007,12 +9012,12 @@ export namespace Protocol {
|
|
|
9007
9012
|
/**
|
|
9008
9013
|
* Types of reasons why a cookie may not be stored from a response.
|
|
9009
9014
|
*/
|
|
9010
|
-
export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError');
|
|
9015
|
+
export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax');
|
|
9011
9016
|
|
|
9012
9017
|
/**
|
|
9013
9018
|
* Types of reasons why a cookie may not be sent with a request.
|
|
9014
9019
|
*/
|
|
9015
|
-
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'UnknownError');
|
|
9020
|
+
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax');
|
|
9016
9021
|
|
|
9017
9022
|
/**
|
|
9018
9023
|
* A cookie which was not stored from a response with the corresponding reason.
|
|
@@ -12635,12 +12640,33 @@ export namespace Protocol {
|
|
|
12635
12640
|
* Storage quota (bytes).
|
|
12636
12641
|
*/
|
|
12637
12642
|
quota: number;
|
|
12643
|
+
/**
|
|
12644
|
+
* Whether or not the origin has an active storage quota override
|
|
12645
|
+
*/
|
|
12646
|
+
overrideActive: boolean;
|
|
12638
12647
|
/**
|
|
12639
12648
|
* Storage usage per type (bytes).
|
|
12640
12649
|
*/
|
|
12641
12650
|
usageBreakdown: UsageForType[];
|
|
12642
12651
|
}
|
|
12643
12652
|
|
|
12653
|
+
export interface OverrideQuotaForOriginRequest {
|
|
12654
|
+
/**
|
|
12655
|
+
* Security origin.
|
|
12656
|
+
*/
|
|
12657
|
+
origin: string;
|
|
12658
|
+
/**
|
|
12659
|
+
* The quota size (in bytes) to override the original quota with.
|
|
12660
|
+
* If this is called multiple times, the overriden quota will be equal to
|
|
12661
|
+
* the quotaSize provided in the final call. If this is called without
|
|
12662
|
+
* specifying a quotaSize, the quota will be reset to the default value for
|
|
12663
|
+
* the specified origin. If this is called multiple times with different
|
|
12664
|
+
* origins, the override will be maintained for each origin until it is
|
|
12665
|
+
* disabled (called without a quotaSize).
|
|
12666
|
+
*/
|
|
12667
|
+
quotaSize?: number;
|
|
12668
|
+
}
|
|
12669
|
+
|
|
12644
12670
|
export interface TrackCacheStorageForOriginRequest {
|
|
12645
12671
|
/**
|
|
12646
12672
|
* Security origin.
|