devtools-protocol 0.0.1648091 → 0.0.1651496
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 +83 -4
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +1 -0
- package/pdl/domains/Network.pdl +0 -8
- package/pdl/domains/Overlay.pdl +36 -0
- package/types/protocol-mapping.d.ts +7 -0
- package/types/protocol-proxy-api.d.ts +5 -0
- package/types/protocol-tests-proxy-api.d.ts +5 -0
- package/types/protocol.d.ts +56 -2
|
@@ -2082,6 +2082,7 @@
|
|
|
2082
2082
|
"JwksHttpNotFound",
|
|
2083
2083
|
"JwksInvalidResponse",
|
|
2084
2084
|
"TokenVerificationSdJwtUnsupportedHeaderAlg",
|
|
2085
|
+
"TokenVerificationSdJwtInvalidTyp",
|
|
2085
2086
|
"TokenVerificationSdJwtMissingIss",
|
|
2086
2087
|
"TokenVerificationSdJwtMissingIat",
|
|
2087
2088
|
"TokenVerificationSdJwtMissingCnf",
|
|
@@ -16797,10 +16798,6 @@
|
|
|
16797
16798
|
"enum": [
|
|
16798
16799
|
"None",
|
|
16799
16800
|
"UserSetting",
|
|
16800
|
-
"TPCDMetadata",
|
|
16801
|
-
"TPCDDeprecationTrial",
|
|
16802
|
-
"TopLevelTPCDDeprecationTrial",
|
|
16803
|
-
"TPCDHeuristics",
|
|
16804
16801
|
"EnterprisePolicy",
|
|
16805
16802
|
"StorageAccess",
|
|
16806
16803
|
"TopLevelStorageAccess",
|
|
@@ -20872,6 +20869,76 @@
|
|
|
20872
20869
|
}
|
|
20873
20870
|
]
|
|
20874
20871
|
},
|
|
20872
|
+
{
|
|
20873
|
+
"id": "DisplayCutoutShape",
|
|
20874
|
+
"description": "Supported display cutout shapes.",
|
|
20875
|
+
"type": "string",
|
|
20876
|
+
"enum": [
|
|
20877
|
+
"pill",
|
|
20878
|
+
"notch",
|
|
20879
|
+
"circle",
|
|
20880
|
+
"rectangle"
|
|
20881
|
+
]
|
|
20882
|
+
},
|
|
20883
|
+
{
|
|
20884
|
+
"id": "DisplayCutoutConfig",
|
|
20885
|
+
"description": "Configuration for a display cutout.",
|
|
20886
|
+
"type": "object",
|
|
20887
|
+
"properties": [
|
|
20888
|
+
{
|
|
20889
|
+
"name": "rect",
|
|
20890
|
+
"description": "A rectangle representing the cutout bounds.",
|
|
20891
|
+
"$ref": "DOM.Rect"
|
|
20892
|
+
},
|
|
20893
|
+
{
|
|
20894
|
+
"name": "shape",
|
|
20895
|
+
"description": "Shape used to draw the cutout.",
|
|
20896
|
+
"$ref": "DisplayCutoutShape"
|
|
20897
|
+
},
|
|
20898
|
+
{
|
|
20899
|
+
"name": "borderRadius",
|
|
20900
|
+
"description": "Border radius for rounded cutout shapes.",
|
|
20901
|
+
"optional": true,
|
|
20902
|
+
"type": "integer"
|
|
20903
|
+
},
|
|
20904
|
+
{
|
|
20905
|
+
"name": "upperRadius",
|
|
20906
|
+
"description": "Upper shoulder radius for notch cutout shapes.",
|
|
20907
|
+
"optional": true,
|
|
20908
|
+
"type": "integer"
|
|
20909
|
+
},
|
|
20910
|
+
{
|
|
20911
|
+
"name": "lowerRadius",
|
|
20912
|
+
"description": "Lower transition radius for notch cutout shapes.",
|
|
20913
|
+
"optional": true,
|
|
20914
|
+
"type": "integer"
|
|
20915
|
+
},
|
|
20916
|
+
{
|
|
20917
|
+
"name": "cx",
|
|
20918
|
+
"description": "Center x coordinate for circle cutout shapes.",
|
|
20919
|
+
"optional": true,
|
|
20920
|
+
"type": "integer"
|
|
20921
|
+
},
|
|
20922
|
+
{
|
|
20923
|
+
"name": "cy",
|
|
20924
|
+
"description": "Center y coordinate for circle cutout shapes.",
|
|
20925
|
+
"optional": true,
|
|
20926
|
+
"type": "integer"
|
|
20927
|
+
},
|
|
20928
|
+
{
|
|
20929
|
+
"name": "radius",
|
|
20930
|
+
"description": "Radius for circle cutout shapes.",
|
|
20931
|
+
"optional": true,
|
|
20932
|
+
"type": "integer"
|
|
20933
|
+
},
|
|
20934
|
+
{
|
|
20935
|
+
"name": "contentColor",
|
|
20936
|
+
"description": "The cutout fill color (default: black).",
|
|
20937
|
+
"optional": true,
|
|
20938
|
+
"$ref": "DOM.RGBA"
|
|
20939
|
+
}
|
|
20940
|
+
]
|
|
20941
|
+
},
|
|
20875
20942
|
{
|
|
20876
20943
|
"id": "WindowControlsOverlayConfig",
|
|
20877
20944
|
"description": "Configuration for Window Controls Overlay",
|
|
@@ -21443,6 +21510,18 @@
|
|
|
21443
21510
|
}
|
|
21444
21511
|
]
|
|
21445
21512
|
},
|
|
21513
|
+
{
|
|
21514
|
+
"name": "setShowDisplayCutout",
|
|
21515
|
+
"description": "Add a display cutout overlay.",
|
|
21516
|
+
"parameters": [
|
|
21517
|
+
{
|
|
21518
|
+
"name": "displayCutoutConfig",
|
|
21519
|
+
"description": "display cutout data, null means hide display cutout",
|
|
21520
|
+
"optional": true,
|
|
21521
|
+
"$ref": "DisplayCutoutConfig"
|
|
21522
|
+
}
|
|
21523
|
+
]
|
|
21524
|
+
},
|
|
21446
21525
|
{
|
|
21447
21526
|
"name": "setShowIsolatedElements",
|
|
21448
21527
|
"description": "Show elements in isolation mode with overlays.",
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -604,6 +604,7 @@ experimental domain Audits
|
|
|
604
604
|
JwksHttpNotFound
|
|
605
605
|
JwksInvalidResponse
|
|
606
606
|
TokenVerificationSdJwtUnsupportedHeaderAlg
|
|
607
|
+
TokenVerificationSdJwtInvalidTyp
|
|
607
608
|
TokenVerificationSdJwtMissingIss
|
|
608
609
|
TokenVerificationSdJwtMissingIat
|
|
609
610
|
TokenVerificationSdJwtMissingCnf
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -738,14 +738,6 @@ domain Network
|
|
|
738
738
|
None
|
|
739
739
|
# The cookie should have been blocked by 3PCD but is exempted by explicit user setting.
|
|
740
740
|
UserSetting
|
|
741
|
-
# The cookie should have been blocked by 3PCD but is exempted by metadata mitigation.
|
|
742
|
-
TPCDMetadata
|
|
743
|
-
# The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
|
|
744
|
-
TPCDDeprecationTrial
|
|
745
|
-
# The cookie should have been blocked by 3PCD but is exempted by Top-level Deprecation Trial mitigation.
|
|
746
|
-
TopLevelTPCDDeprecationTrial
|
|
747
|
-
# The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
|
|
748
|
-
TPCDHeuristics
|
|
749
741
|
# The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
|
|
750
742
|
EnterprisePolicy
|
|
751
743
|
# The cookie should have been blocked by 3PCD but is exempted by Storage Access API.
|
package/pdl/domains/Overlay.pdl
CHANGED
|
@@ -208,6 +208,36 @@ experimental domain Overlay
|
|
|
208
208
|
# The content box highlight outline color (default: transparent).
|
|
209
209
|
optional DOM.RGBA outlineColor
|
|
210
210
|
|
|
211
|
+
# Supported display cutout shapes.
|
|
212
|
+
type DisplayCutoutShape extends string
|
|
213
|
+
enum
|
|
214
|
+
pill
|
|
215
|
+
notch
|
|
216
|
+
circle
|
|
217
|
+
rectangle
|
|
218
|
+
|
|
219
|
+
# Configuration for a display cutout.
|
|
220
|
+
type DisplayCutoutConfig extends object
|
|
221
|
+
properties
|
|
222
|
+
# A rectangle representing the cutout bounds.
|
|
223
|
+
DOM.Rect rect
|
|
224
|
+
# Shape used to draw the cutout.
|
|
225
|
+
DisplayCutoutShape shape
|
|
226
|
+
# Border radius for rounded cutout shapes.
|
|
227
|
+
optional integer borderRadius
|
|
228
|
+
# Upper shoulder radius for notch cutout shapes.
|
|
229
|
+
optional integer upperRadius
|
|
230
|
+
# Lower transition radius for notch cutout shapes.
|
|
231
|
+
optional integer lowerRadius
|
|
232
|
+
# Center x coordinate for circle cutout shapes.
|
|
233
|
+
optional integer cx
|
|
234
|
+
# Center y coordinate for circle cutout shapes.
|
|
235
|
+
optional integer cy
|
|
236
|
+
# Radius for circle cutout shapes.
|
|
237
|
+
optional integer radius
|
|
238
|
+
# The cutout fill color (default: black).
|
|
239
|
+
optional DOM.RGBA contentColor
|
|
240
|
+
|
|
211
241
|
# Configuration for Window Controls Overlay
|
|
212
242
|
type WindowControlsOverlayConfig extends object
|
|
213
243
|
properties
|
|
@@ -476,6 +506,12 @@ experimental domain Overlay
|
|
|
476
506
|
# hinge data, null means hideHinge
|
|
477
507
|
optional HingeConfig hingeConfig
|
|
478
508
|
|
|
509
|
+
# Add a display cutout overlay.
|
|
510
|
+
command setShowDisplayCutout
|
|
511
|
+
parameters
|
|
512
|
+
# display cutout data, null means hide display cutout
|
|
513
|
+
optional DisplayCutoutConfig displayCutoutConfig
|
|
514
|
+
|
|
479
515
|
# Show elements in isolation mode with overlays.
|
|
480
516
|
command setShowIsolatedElements
|
|
481
517
|
parameters
|
|
@@ -4779,6 +4779,13 @@ export namespace ProtocolMapping {
|
|
|
4779
4779
|
paramsType: [Protocol.Overlay.SetShowHingeRequest?];
|
|
4780
4780
|
returnType: void;
|
|
4781
4781
|
};
|
|
4782
|
+
/**
|
|
4783
|
+
* Add a display cutout overlay.
|
|
4784
|
+
*/
|
|
4785
|
+
'Overlay.setShowDisplayCutout': {
|
|
4786
|
+
paramsType: [Protocol.Overlay.SetShowDisplayCutoutRequest?];
|
|
4787
|
+
returnType: void;
|
|
4788
|
+
};
|
|
4782
4789
|
/**
|
|
4783
4790
|
* Show elements in isolation mode with overlays.
|
|
4784
4791
|
*/
|
|
@@ -3681,6 +3681,11 @@ export namespace ProtocolProxyApi {
|
|
|
3681
3681
|
*/
|
|
3682
3682
|
setShowHinge(params: Protocol.Overlay.SetShowHingeRequest): Promise<void>;
|
|
3683
3683
|
|
|
3684
|
+
/**
|
|
3685
|
+
* Add a display cutout overlay.
|
|
3686
|
+
*/
|
|
3687
|
+
setShowDisplayCutout(params: Protocol.Overlay.SetShowDisplayCutoutRequest): Promise<void>;
|
|
3688
|
+
|
|
3684
3689
|
/**
|
|
3685
3690
|
* Show elements in isolation mode with overlays.
|
|
3686
3691
|
*/
|
|
@@ -3945,6 +3945,11 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3945
3945
|
*/
|
|
3946
3946
|
setShowHinge(params: Protocol.Overlay.SetShowHingeRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3947
3947
|
|
|
3948
|
+
/**
|
|
3949
|
+
* Add a display cutout overlay.
|
|
3950
|
+
*/
|
|
3951
|
+
setShowDisplayCutout(params: Protocol.Overlay.SetShowDisplayCutoutRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3952
|
+
|
|
3948
3953
|
/**
|
|
3949
3954
|
* Show elements in isolation mode with overlays.
|
|
3950
3955
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -3837,7 +3837,7 @@ export namespace Protocol {
|
|
|
3837
3837
|
* Should be updated alongside EmailVerificationRequestResult in
|
|
3838
3838
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom.
|
|
3839
3839
|
*/
|
|
3840
|
-
export type EmailVerificationRequestIssueReason = ('InvalidEmail' | 'DnsFetchFailed' | 'DnsInvalidRecord' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'WellKnownMissingIssuanceEndpoint' | 'WellKnownIssuanceEndpointCrossOrigin' | 'WellKnownUnsupportedSigningAlgorithm' | 'TokenHttpNotFound' | 'TokenNoResponse' | 'TokenInvalidResponse' | 'TokenInvalidContentType' | 'TokenMalformedSdJwt' | 'TokenInvalidSdJwt' | 'KeyBindingSigningFailed' | 'RpOriginIsOpaque' | 'WellKnownMissingAccountsEndpoint' | 'UserLoggedOut' | 'WellKnownAccountsEndpointCrossOrigin' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsInvalidContentType' | 'AccountsEmptyList' | 'EmailVerificationWellKnownHttpNotFound' | 'EmailVerificationWellKnownNoResponse' | 'EmailVerificationWellKnownInvalidResponse' | 'EmailVerificationWellKnownInvalidContentType' | 'JwksHttpNotFound' | 'JwksInvalidResponse' | 'TokenVerificationSdJwtUnsupportedHeaderAlg' | 'TokenVerificationSdJwtMissingIss' | 'TokenVerificationSdJwtMissingIat' | 'TokenVerificationSdJwtMissingCnf' | 'TokenVerificationSdJwtMissingEmail' | 'TokenVerificationSdJwtInvalidIssuedAt' | 'TokenVerificationSdJwtInvalidIssuer' | 'TokenVerificationSdJwtJwksMissingKeys' | 'TokenVerificationSdJwtSignatureFailed' | 'TokenVerificationSdJwtInvalidEmailVerified' | 'TokenVerificationSdJwtInvalidEmail' | 'TokenVerificationSdJwtInvalidHolderKey' | 'TokenVerificationKbInvalidTyp' | 'TokenVerificationKbMissingAud' | 'TokenVerificationKbMissingNonce' | 'TokenVerificationKbMissingIat' | 'TokenVerificationKbMissingSdHash' | 'TokenVerificationKbInvalidIssuedAt' | 'TokenVerificationKbInvalidAudience' | 'TokenVerificationKbInvalidNonce' | 'TokenVerificationKbInvalidSdHash' | 'TokenVerificationKbMissingCnf' | 'TokenVerificationKbSignatureFailed');
|
|
3840
|
+
export type EmailVerificationRequestIssueReason = ('InvalidEmail' | 'DnsFetchFailed' | 'DnsInvalidRecord' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'WellKnownMissingIssuanceEndpoint' | 'WellKnownIssuanceEndpointCrossOrigin' | 'WellKnownUnsupportedSigningAlgorithm' | 'TokenHttpNotFound' | 'TokenNoResponse' | 'TokenInvalidResponse' | 'TokenInvalidContentType' | 'TokenMalformedSdJwt' | 'TokenInvalidSdJwt' | 'KeyBindingSigningFailed' | 'RpOriginIsOpaque' | 'WellKnownMissingAccountsEndpoint' | 'UserLoggedOut' | 'WellKnownAccountsEndpointCrossOrigin' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsInvalidContentType' | 'AccountsEmptyList' | 'EmailVerificationWellKnownHttpNotFound' | 'EmailVerificationWellKnownNoResponse' | 'EmailVerificationWellKnownInvalidResponse' | 'EmailVerificationWellKnownInvalidContentType' | 'JwksHttpNotFound' | 'JwksInvalidResponse' | 'TokenVerificationSdJwtUnsupportedHeaderAlg' | 'TokenVerificationSdJwtInvalidTyp' | 'TokenVerificationSdJwtMissingIss' | 'TokenVerificationSdJwtMissingIat' | 'TokenVerificationSdJwtMissingCnf' | 'TokenVerificationSdJwtMissingEmail' | 'TokenVerificationSdJwtInvalidIssuedAt' | 'TokenVerificationSdJwtInvalidIssuer' | 'TokenVerificationSdJwtJwksMissingKeys' | 'TokenVerificationSdJwtSignatureFailed' | 'TokenVerificationSdJwtInvalidEmailVerified' | 'TokenVerificationSdJwtInvalidEmail' | 'TokenVerificationSdJwtInvalidHolderKey' | 'TokenVerificationKbInvalidTyp' | 'TokenVerificationKbMissingAud' | 'TokenVerificationKbMissingNonce' | 'TokenVerificationKbMissingIat' | 'TokenVerificationKbMissingSdHash' | 'TokenVerificationKbInvalidIssuedAt' | 'TokenVerificationKbInvalidAudience' | 'TokenVerificationKbInvalidNonce' | 'TokenVerificationKbInvalidSdHash' | 'TokenVerificationKbMissingCnf' | 'TokenVerificationKbSignatureFailed');
|
|
3841
3841
|
|
|
3842
3842
|
/**
|
|
3843
3843
|
* This issue tracks client hints related issues. It's used to deprecate old
|
|
@@ -13268,7 +13268,7 @@ export namespace Protocol {
|
|
|
13268
13268
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
|
13269
13269
|
* @experimental
|
|
13270
13270
|
*/
|
|
13271
|
-
export type CookieExemptionReason = ('None' | 'UserSetting' | '
|
|
13271
|
+
export type CookieExemptionReason = ('None' | 'UserSetting' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'Scheme' | 'SameSiteNoneCookiesInSandbox');
|
|
13272
13272
|
|
|
13273
13273
|
/**
|
|
13274
13274
|
* A cookie which was not stored from a response with the corresponding reason.
|
|
@@ -16102,6 +16102,53 @@ export namespace Protocol {
|
|
|
16102
16102
|
outlineColor?: DOM.RGBA;
|
|
16103
16103
|
}
|
|
16104
16104
|
|
|
16105
|
+
/**
|
|
16106
|
+
* Supported display cutout shapes.
|
|
16107
|
+
*/
|
|
16108
|
+
export type DisplayCutoutShape = ('pill' | 'notch' | 'circle' | 'rectangle');
|
|
16109
|
+
|
|
16110
|
+
/**
|
|
16111
|
+
* Configuration for a display cutout.
|
|
16112
|
+
*/
|
|
16113
|
+
export interface DisplayCutoutConfig {
|
|
16114
|
+
/**
|
|
16115
|
+
* A rectangle representing the cutout bounds.
|
|
16116
|
+
*/
|
|
16117
|
+
rect: DOM.Rect;
|
|
16118
|
+
/**
|
|
16119
|
+
* Shape used to draw the cutout.
|
|
16120
|
+
*/
|
|
16121
|
+
shape: DisplayCutoutShape;
|
|
16122
|
+
/**
|
|
16123
|
+
* Border radius for rounded cutout shapes.
|
|
16124
|
+
*/
|
|
16125
|
+
borderRadius?: integer;
|
|
16126
|
+
/**
|
|
16127
|
+
* Upper shoulder radius for notch cutout shapes.
|
|
16128
|
+
*/
|
|
16129
|
+
upperRadius?: integer;
|
|
16130
|
+
/**
|
|
16131
|
+
* Lower transition radius for notch cutout shapes.
|
|
16132
|
+
*/
|
|
16133
|
+
lowerRadius?: integer;
|
|
16134
|
+
/**
|
|
16135
|
+
* Center x coordinate for circle cutout shapes.
|
|
16136
|
+
*/
|
|
16137
|
+
cx?: integer;
|
|
16138
|
+
/**
|
|
16139
|
+
* Center y coordinate for circle cutout shapes.
|
|
16140
|
+
*/
|
|
16141
|
+
cy?: integer;
|
|
16142
|
+
/**
|
|
16143
|
+
* Radius for circle cutout shapes.
|
|
16144
|
+
*/
|
|
16145
|
+
radius?: integer;
|
|
16146
|
+
/**
|
|
16147
|
+
* The cutout fill color (default: black).
|
|
16148
|
+
*/
|
|
16149
|
+
contentColor?: DOM.RGBA;
|
|
16150
|
+
}
|
|
16151
|
+
|
|
16105
16152
|
/**
|
|
16106
16153
|
* Configuration for Window Controls Overlay
|
|
16107
16154
|
*/
|
|
@@ -16459,6 +16506,13 @@ export namespace Protocol {
|
|
|
16459
16506
|
hingeConfig?: HingeConfig;
|
|
16460
16507
|
}
|
|
16461
16508
|
|
|
16509
|
+
export interface SetShowDisplayCutoutRequest {
|
|
16510
|
+
/**
|
|
16511
|
+
* display cutout data, null means hide display cutout
|
|
16512
|
+
*/
|
|
16513
|
+
displayCutoutConfig?: DisplayCutoutConfig;
|
|
16514
|
+
}
|
|
16515
|
+
|
|
16462
16516
|
export interface SetShowIsolatedElementsRequest {
|
|
16463
16517
|
/**
|
|
16464
16518
|
* An array of node identifiers and descriptors for the highlight appearance.
|