devtools-protocol 0.0.1624250 → 0.0.1627472
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/json/browser_protocol.json +40 -5
- package/package.json +1 -1
- package/pdl/domains/CSS.pdl +18 -2
- package/pdl/domains/Network.pdl +3 -1
- package/types/protocol-mapping.d.ts +9 -0
- package/types/protocol-proxy-api.d.ts +7 -0
- package/types/protocol-tests-proxy-api.d.ts +7 -0
- package/types/protocol.d.ts +27 -4
|
@@ -4891,7 +4891,8 @@
|
|
|
4891
4891
|
"properties": [
|
|
4892
4892
|
{
|
|
4893
4893
|
"name": "text",
|
|
4894
|
-
"description": "Container query text.",
|
|
4894
|
+
"description": "Container query text.\nContains the query part without the container name for a single query.\nDeprecated in favor of conditionText which contains the full prelude\nafter @container.",
|
|
4895
|
+
"deprecated": true,
|
|
4895
4896
|
"type": "string"
|
|
4896
4897
|
},
|
|
4897
4898
|
{
|
|
@@ -4935,6 +4936,11 @@
|
|
|
4935
4936
|
"description": "true if the query contains anchored() queries.",
|
|
4936
4937
|
"optional": true,
|
|
4937
4938
|
"type": "boolean"
|
|
4939
|
+
},
|
|
4940
|
+
{
|
|
4941
|
+
"name": "conditionText",
|
|
4942
|
+
"description": "CSSContainerRule.conditionText",
|
|
4943
|
+
"type": "string"
|
|
4938
4944
|
}
|
|
4939
4945
|
]
|
|
4940
4946
|
},
|
|
@@ -5327,7 +5333,8 @@
|
|
|
5327
5333
|
"enum": [
|
|
5328
5334
|
"font-face",
|
|
5329
5335
|
"font-feature-values",
|
|
5330
|
-
"font-palette-values"
|
|
5336
|
+
"font-palette-values",
|
|
5337
|
+
"counter-style"
|
|
5331
5338
|
]
|
|
5332
5339
|
},
|
|
5333
5340
|
{
|
|
@@ -6253,7 +6260,33 @@
|
|
|
6253
6260
|
},
|
|
6254
6261
|
{
|
|
6255
6262
|
"name": "setContainerQueryText",
|
|
6256
|
-
"description": "Modifies the expression of a container query.",
|
|
6263
|
+
"description": "Modifies the expression of a container query.\nDeprecated. Use setContainerQueryConditionText instead.",
|
|
6264
|
+
"experimental": true,
|
|
6265
|
+
"deprecated": true,
|
|
6266
|
+
"parameters": [
|
|
6267
|
+
{
|
|
6268
|
+
"name": "styleSheetId",
|
|
6269
|
+
"$ref": "DOM.StyleSheetId"
|
|
6270
|
+
},
|
|
6271
|
+
{
|
|
6272
|
+
"name": "range",
|
|
6273
|
+
"$ref": "SourceRange"
|
|
6274
|
+
},
|
|
6275
|
+
{
|
|
6276
|
+
"name": "text",
|
|
6277
|
+
"type": "string"
|
|
6278
|
+
}
|
|
6279
|
+
],
|
|
6280
|
+
"returns": [
|
|
6281
|
+
{
|
|
6282
|
+
"name": "containerQuery",
|
|
6283
|
+
"description": "The resulting CSS container query rule after modification.",
|
|
6284
|
+
"$ref": "CSSContainerQuery"
|
|
6285
|
+
}
|
|
6286
|
+
]
|
|
6287
|
+
},
|
|
6288
|
+
{
|
|
6289
|
+
"name": "setContainerQueryConditionText",
|
|
6257
6290
|
"experimental": true,
|
|
6258
6291
|
"parameters": [
|
|
6259
6292
|
{
|
|
@@ -17786,6 +17819,7 @@
|
|
|
17786
17819
|
"Success",
|
|
17787
17820
|
"KeyError",
|
|
17788
17821
|
"SigningError",
|
|
17822
|
+
"TransientSigningError",
|
|
17789
17823
|
"ServerRequestedTermination",
|
|
17790
17824
|
"InvalidSessionId",
|
|
17791
17825
|
"InvalidChallenge",
|
|
@@ -17921,13 +17955,14 @@
|
|
|
17921
17955
|
"type": "string",
|
|
17922
17956
|
"enum": [
|
|
17923
17957
|
"Refreshed",
|
|
17924
|
-
"RefreshedAsWaiter",
|
|
17925
17958
|
"InitializedService",
|
|
17926
17959
|
"Unreachable",
|
|
17927
17960
|
"ServerError",
|
|
17928
17961
|
"RefreshQuotaExceeded",
|
|
17929
17962
|
"FatalError",
|
|
17930
|
-
"SigningQuotaExceeded"
|
|
17963
|
+
"SigningQuotaExceeded",
|
|
17964
|
+
"RefreshedAsWaiter",
|
|
17965
|
+
"TransientSigningError"
|
|
17931
17966
|
]
|
|
17932
17967
|
},
|
|
17933
17968
|
{
|
package/package.json
CHANGED
package/pdl/domains/CSS.pdl
CHANGED
|
@@ -338,7 +338,10 @@ experimental domain CSS
|
|
|
338
338
|
experimental type CSSContainerQuery extends object
|
|
339
339
|
properties
|
|
340
340
|
# Container query text.
|
|
341
|
-
|
|
341
|
+
# Contains the query part without the container name for a single query.
|
|
342
|
+
# Deprecated in favor of conditionText which contains the full prelude
|
|
343
|
+
# after @container.
|
|
344
|
+
deprecated string text
|
|
342
345
|
# The associated rule header range in the enclosing stylesheet (if
|
|
343
346
|
# available).
|
|
344
347
|
optional SourceRange range
|
|
@@ -354,6 +357,8 @@ experimental domain CSS
|
|
|
354
357
|
optional boolean queriesScrollState
|
|
355
358
|
# true if the query contains anchored() queries.
|
|
356
359
|
optional boolean queriesAnchored
|
|
360
|
+
# CSSContainerRule.conditionText
|
|
361
|
+
string conditionText
|
|
357
362
|
|
|
358
363
|
# CSS Supports at-rule descriptor.
|
|
359
364
|
experimental type CSSSupports extends object
|
|
@@ -523,6 +528,7 @@ experimental domain CSS
|
|
|
523
528
|
font-face
|
|
524
529
|
font-feature-values
|
|
525
530
|
font-palette-values
|
|
531
|
+
counter-style
|
|
526
532
|
# Subsection of font-feature-values, if this is a subsection.
|
|
527
533
|
optional enum subsection
|
|
528
534
|
# LINT.IfChange(FontVariantAlternatesFeatureType)
|
|
@@ -926,7 +932,17 @@ experimental domain CSS
|
|
|
926
932
|
CSSMedia media
|
|
927
933
|
|
|
928
934
|
# Modifies the expression of a container query.
|
|
929
|
-
|
|
935
|
+
# Deprecated. Use setContainerQueryConditionText instead.
|
|
936
|
+
experimental deprecated command setContainerQueryText
|
|
937
|
+
parameters
|
|
938
|
+
DOM.StyleSheetId styleSheetId
|
|
939
|
+
SourceRange range
|
|
940
|
+
string text
|
|
941
|
+
returns
|
|
942
|
+
# The resulting CSS container query rule after modification.
|
|
943
|
+
CSSContainerQuery containerQuery
|
|
944
|
+
|
|
945
|
+
experimental command setContainerQueryConditionText
|
|
930
946
|
parameters
|
|
931
947
|
DOM.StyleSheetId styleSheetId
|
|
932
948
|
SourceRange range
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -2162,6 +2162,7 @@ domain Network
|
|
|
2162
2162
|
Success
|
|
2163
2163
|
KeyError
|
|
2164
2164
|
SigningError
|
|
2165
|
+
TransientSigningError
|
|
2165
2166
|
ServerRequestedTermination
|
|
2166
2167
|
InvalidSessionId
|
|
2167
2168
|
InvalidChallenge
|
|
@@ -2260,13 +2261,14 @@ domain Network
|
|
|
2260
2261
|
# The result of a refresh.
|
|
2261
2262
|
enum refreshResult
|
|
2262
2263
|
Refreshed
|
|
2263
|
-
RefreshedAsWaiter
|
|
2264
2264
|
InitializedService
|
|
2265
2265
|
Unreachable
|
|
2266
2266
|
ServerError
|
|
2267
2267
|
RefreshQuotaExceeded
|
|
2268
2268
|
FatalError
|
|
2269
2269
|
SigningQuotaExceeded
|
|
2270
|
+
RefreshedAsWaiter
|
|
2271
|
+
TransientSigningError
|
|
2270
2272
|
# If there was a fetch attempt, the result of that.
|
|
2271
2273
|
optional DeviceBoundSessionFetchResult fetchResult
|
|
2272
2274
|
# The session display if there was a newly created session. This is populated
|
|
@@ -2446,12 +2446,21 @@ export namespace ProtocolMapping {
|
|
|
2446
2446
|
};
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Modifies the expression of a container query.
|
|
2449
|
+
* Deprecated. Use setContainerQueryConditionText instead.
|
|
2450
|
+
* @deprecated
|
|
2449
2451
|
* @experimental
|
|
2450
2452
|
*/
|
|
2451
2453
|
'CSS.setContainerQueryText': {
|
|
2452
2454
|
paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
|
|
2453
2455
|
returnType: Protocol.CSS.SetContainerQueryTextResponse;
|
|
2454
2456
|
};
|
|
2457
|
+
/**
|
|
2458
|
+
* @experimental
|
|
2459
|
+
*/
|
|
2460
|
+
'CSS.setContainerQueryConditionText': {
|
|
2461
|
+
paramsType: [Protocol.CSS.SetContainerQueryConditionTextRequest];
|
|
2462
|
+
returnType: Protocol.CSS.SetContainerQueryConditionTextResponse;
|
|
2463
|
+
};
|
|
2455
2464
|
/**
|
|
2456
2465
|
* Modifies the expression of a supports at-rule.
|
|
2457
2466
|
* @experimental
|
|
@@ -1344,10 +1344,17 @@ export namespace ProtocolProxyApi {
|
|
|
1344
1344
|
|
|
1345
1345
|
/**
|
|
1346
1346
|
* Modifies the expression of a container query.
|
|
1347
|
+
* Deprecated. Use setContainerQueryConditionText instead.
|
|
1348
|
+
* @deprecated
|
|
1347
1349
|
* @experimental
|
|
1348
1350
|
*/
|
|
1349
1351
|
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<Protocol.CSS.SetContainerQueryTextResponse>;
|
|
1350
1352
|
|
|
1353
|
+
/**
|
|
1354
|
+
* @experimental
|
|
1355
|
+
*/
|
|
1356
|
+
setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<Protocol.CSS.SetContainerQueryConditionTextResponse>;
|
|
1357
|
+
|
|
1351
1358
|
/**
|
|
1352
1359
|
* Modifies the expression of a supports at-rule.
|
|
1353
1360
|
* @experimental
|
|
@@ -1418,10 +1418,17 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1418
1418
|
|
|
1419
1419
|
/**
|
|
1420
1420
|
* Modifies the expression of a container query.
|
|
1421
|
+
* Deprecated. Use setContainerQueryConditionText instead.
|
|
1422
|
+
* @deprecated
|
|
1421
1423
|
* @experimental
|
|
1422
1424
|
*/
|
|
1423
1425
|
setContainerQueryText(params: Protocol.CSS.SetContainerQueryTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryTextResponse, sessionId: string}>;
|
|
1424
1426
|
|
|
1427
|
+
/**
|
|
1428
|
+
* @experimental
|
|
1429
|
+
*/
|
|
1430
|
+
setContainerQueryConditionText(params: Protocol.CSS.SetContainerQueryConditionTextRequest): Promise<{id: number, result: Protocol.CSS.SetContainerQueryConditionTextResponse, sessionId: string}>;
|
|
1431
|
+
|
|
1425
1432
|
/**
|
|
1426
1433
|
* Modifies the expression of a supports at-rule.
|
|
1427
1434
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -5546,6 +5546,10 @@ export namespace Protocol {
|
|
|
5546
5546
|
export interface CSSContainerQuery {
|
|
5547
5547
|
/**
|
|
5548
5548
|
* Container query text.
|
|
5549
|
+
* Contains the query part without the container name for a single query.
|
|
5550
|
+
* Deprecated in favor of conditionText which contains the full prelude
|
|
5551
|
+
* after @container.
|
|
5552
|
+
* @deprecated
|
|
5549
5553
|
*/
|
|
5550
5554
|
text: string;
|
|
5551
5555
|
/**
|
|
@@ -5577,6 +5581,10 @@ export namespace Protocol {
|
|
|
5577
5581
|
* true if the query contains anchored() queries.
|
|
5578
5582
|
*/
|
|
5579
5583
|
queriesAnchored?: boolean;
|
|
5584
|
+
/**
|
|
5585
|
+
* CSSContainerRule.conditionText
|
|
5586
|
+
*/
|
|
5587
|
+
conditionText: string;
|
|
5580
5588
|
}
|
|
5581
5589
|
|
|
5582
5590
|
/**
|
|
@@ -5869,6 +5877,7 @@ export namespace Protocol {
|
|
|
5869
5877
|
FontFace = 'font-face',
|
|
5870
5878
|
FontFeatureValues = 'font-feature-values',
|
|
5871
5879
|
FontPaletteValues = 'font-palette-values',
|
|
5880
|
+
CounterStyle = 'counter-style',
|
|
5872
5881
|
}
|
|
5873
5882
|
|
|
5874
5883
|
export const enum CSSAtRuleSubsection {
|
|
@@ -5887,7 +5896,7 @@ export namespace Protocol {
|
|
|
5887
5896
|
/**
|
|
5888
5897
|
* Type of at-rule.
|
|
5889
5898
|
*/
|
|
5890
|
-
type: ('font-face' | 'font-feature-values' | 'font-palette-values');
|
|
5899
|
+
type: ('font-face' | 'font-feature-values' | 'font-palette-values' | 'counter-style');
|
|
5891
5900
|
/**
|
|
5892
5901
|
* Subsection of font-feature-values, if this is a subsection.
|
|
5893
5902
|
*/
|
|
@@ -6453,6 +6462,19 @@ export namespace Protocol {
|
|
|
6453
6462
|
containerQuery: CSSContainerQuery;
|
|
6454
6463
|
}
|
|
6455
6464
|
|
|
6465
|
+
export interface SetContainerQueryConditionTextRequest {
|
|
6466
|
+
styleSheetId: DOM.StyleSheetId;
|
|
6467
|
+
range: SourceRange;
|
|
6468
|
+
text: string;
|
|
6469
|
+
}
|
|
6470
|
+
|
|
6471
|
+
export interface SetContainerQueryConditionTextResponse {
|
|
6472
|
+
/**
|
|
6473
|
+
* The resulting CSS container query rule after modification.
|
|
6474
|
+
*/
|
|
6475
|
+
containerQuery: CSSContainerQuery;
|
|
6476
|
+
}
|
|
6477
|
+
|
|
6456
6478
|
export interface SetSupportsTextRequest {
|
|
6457
6479
|
styleSheetId: DOM.StyleSheetId;
|
|
6458
6480
|
range: SourceRange;
|
|
@@ -14006,7 +14028,7 @@ export namespace Protocol {
|
|
|
14006
14028
|
* A fetch result for a device bound session creation or refresh.
|
|
14007
14029
|
* @experimental
|
|
14008
14030
|
*/
|
|
14009
|
-
export type DeviceBoundSessionFetchResult = ('Success' | 'KeyError' | 'SigningError' | 'ServerRequestedTermination' | 'InvalidSessionId' | 'InvalidChallenge' | 'TooManyChallenges' | 'InvalidFetcherUrl' | 'InvalidRefreshUrl' | 'TransientHttpError' | 'ScopeOriginSameSiteMismatch' | 'RefreshUrlSameSiteMismatch' | 'MismatchedSessionId' | 'MissingScope' | 'NoCredentials' | 'SubdomainRegistrationWellKnownUnavailable' | 'SubdomainRegistrationUnauthorized' | 'SubdomainRegistrationWellKnownMalformed' | 'SessionProviderWellKnownUnavailable' | 'RelyingPartyWellKnownUnavailable' | 'FederatedKeyThumbprintMismatch' | 'InvalidFederatedSessionUrl' | 'InvalidFederatedKey' | 'TooManyRelyingOriginLabels' | 'BoundCookieSetForbidden' | 'NetError' | 'ProxyError' | 'EmptySessionConfig' | 'InvalidCredentialsConfig' | 'InvalidCredentialsType' | 'InvalidCredentialsEmptyName' | 'InvalidCredentialsCookie' | 'PersistentHttpError' | 'RegistrationAttemptedChallenge' | 'InvalidScopeOrigin' | 'ScopeOriginContainsPath' | 'RefreshInitiatorNotString' | 'RefreshInitiatorInvalidHostPattern' | 'InvalidScopeSpecification' | 'MissingScopeSpecificationType' | 'EmptyScopeSpecificationDomain' | 'EmptyScopeSpecificationPath' | 'InvalidScopeSpecificationType' | 'InvalidScopeIncludeSite' | 'MissingScopeIncludeSite' | 'FederatedNotAuthorizedByProvider' | 'FederatedNotAuthorizedByRelyingParty' | 'SessionProviderWellKnownMalformed' | 'SessionProviderWellKnownHasProviderOrigin' | 'RelyingPartyWellKnownMalformed' | 'RelyingPartyWellKnownHasRelyingOrigins' | 'InvalidFederatedSessionProviderSessionMissing' | 'InvalidFederatedSessionWrongProviderOrigin' | 'InvalidCredentialsCookieCreationTime' | 'InvalidCredentialsCookieName' | 'InvalidCredentialsCookieParsing' | 'InvalidCredentialsCookieUnpermittedAttribute' | 'InvalidCredentialsCookieInvalidDomain' | 'InvalidCredentialsCookiePrefix' | 'InvalidScopeRulePath' | 'InvalidScopeRuleHostPattern' | 'ScopeRuleOriginScopedHostPatternMismatch' | 'ScopeRuleSiteScopedHostPatternMismatch' | 'SigningQuotaExceeded' | 'InvalidConfigJson' | 'InvalidFederatedSessionProviderFailedToRestoreKey' | 'FailedToUnwrapKey' | 'SessionDeletedDuringRefresh');
|
|
14031
|
+
export type DeviceBoundSessionFetchResult = ('Success' | 'KeyError' | 'SigningError' | 'TransientSigningError' | 'ServerRequestedTermination' | 'InvalidSessionId' | 'InvalidChallenge' | 'TooManyChallenges' | 'InvalidFetcherUrl' | 'InvalidRefreshUrl' | 'TransientHttpError' | 'ScopeOriginSameSiteMismatch' | 'RefreshUrlSameSiteMismatch' | 'MismatchedSessionId' | 'MissingScope' | 'NoCredentials' | 'SubdomainRegistrationWellKnownUnavailable' | 'SubdomainRegistrationUnauthorized' | 'SubdomainRegistrationWellKnownMalformed' | 'SessionProviderWellKnownUnavailable' | 'RelyingPartyWellKnownUnavailable' | 'FederatedKeyThumbprintMismatch' | 'InvalidFederatedSessionUrl' | 'InvalidFederatedKey' | 'TooManyRelyingOriginLabels' | 'BoundCookieSetForbidden' | 'NetError' | 'ProxyError' | 'EmptySessionConfig' | 'InvalidCredentialsConfig' | 'InvalidCredentialsType' | 'InvalidCredentialsEmptyName' | 'InvalidCredentialsCookie' | 'PersistentHttpError' | 'RegistrationAttemptedChallenge' | 'InvalidScopeOrigin' | 'ScopeOriginContainsPath' | 'RefreshInitiatorNotString' | 'RefreshInitiatorInvalidHostPattern' | 'InvalidScopeSpecification' | 'MissingScopeSpecificationType' | 'EmptyScopeSpecificationDomain' | 'EmptyScopeSpecificationPath' | 'InvalidScopeSpecificationType' | 'InvalidScopeIncludeSite' | 'MissingScopeIncludeSite' | 'FederatedNotAuthorizedByProvider' | 'FederatedNotAuthorizedByRelyingParty' | 'SessionProviderWellKnownMalformed' | 'SessionProviderWellKnownHasProviderOrigin' | 'RelyingPartyWellKnownMalformed' | 'RelyingPartyWellKnownHasRelyingOrigins' | 'InvalidFederatedSessionProviderSessionMissing' | 'InvalidFederatedSessionWrongProviderOrigin' | 'InvalidCredentialsCookieCreationTime' | 'InvalidCredentialsCookieName' | 'InvalidCredentialsCookieParsing' | 'InvalidCredentialsCookieUnpermittedAttribute' | 'InvalidCredentialsCookieInvalidDomain' | 'InvalidCredentialsCookiePrefix' | 'InvalidScopeRulePath' | 'InvalidScopeRuleHostPattern' | 'ScopeRuleOriginScopedHostPatternMismatch' | 'ScopeRuleSiteScopedHostPatternMismatch' | 'SigningQuotaExceeded' | 'InvalidConfigJson' | 'InvalidFederatedSessionProviderFailedToRestoreKey' | 'FailedToUnwrapKey' | 'SessionDeletedDuringRefresh');
|
|
14010
14032
|
|
|
14011
14033
|
/**
|
|
14012
14034
|
* Details about a failed device bound session network request.
|
|
@@ -14056,13 +14078,14 @@ export namespace Protocol {
|
|
|
14056
14078
|
|
|
14057
14079
|
export const enum RefreshEventDetailsRefreshResult {
|
|
14058
14080
|
Refreshed = 'Refreshed',
|
|
14059
|
-
RefreshedAsWaiter = 'RefreshedAsWaiter',
|
|
14060
14081
|
InitializedService = 'InitializedService',
|
|
14061
14082
|
Unreachable = 'Unreachable',
|
|
14062
14083
|
ServerError = 'ServerError',
|
|
14063
14084
|
RefreshQuotaExceeded = 'RefreshQuotaExceeded',
|
|
14064
14085
|
FatalError = 'FatalError',
|
|
14065
14086
|
SigningQuotaExceeded = 'SigningQuotaExceeded',
|
|
14087
|
+
RefreshedAsWaiter = 'RefreshedAsWaiter',
|
|
14088
|
+
TransientSigningError = 'TransientSigningError',
|
|
14066
14089
|
}
|
|
14067
14090
|
|
|
14068
14091
|
/**
|
|
@@ -14073,7 +14096,7 @@ export namespace Protocol {
|
|
|
14073
14096
|
/**
|
|
14074
14097
|
* The result of a refresh.
|
|
14075
14098
|
*/
|
|
14076
|
-
refreshResult: ('Refreshed' | '
|
|
14099
|
+
refreshResult: ('Refreshed' | 'InitializedService' | 'Unreachable' | 'ServerError' | 'RefreshQuotaExceeded' | 'FatalError' | 'SigningQuotaExceeded' | 'RefreshedAsWaiter' | 'TransientSigningError');
|
|
14077
14100
|
/**
|
|
14078
14101
|
* If there was a fetch attempt, the result of that.
|
|
14079
14102
|
*/
|