Skip to content

Commit 47b9187

Browse files
committed
Roll protocol to r1551306
1 parent f64a130 commit 47b9187

File tree

12 files changed

+863
-124
lines changed

12 files changed

+863
-124
lines changed

changelog.md

Lines changed: 432 additions & 15 deletions
Large diffs are not rendered by default.

json/browser_protocol.json

Lines changed: 174 additions & 37 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1550230",
3+
"version": "0.0.1551306",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/Audits.pdl

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,51 @@ experimental domain Audits
632632
# Applies to NoisedCanvasReadback issue type.
633633
optional SourceCodeLocation sourceCodeLocation
634634

635+
type PermissionElementIssueType extends string
636+
enum
637+
InvalidType
638+
FencedFrameDisallowed
639+
CspFrameAncestorsMissing
640+
PermissionsPolicyBlocked
641+
PaddingRightUnsupported
642+
PaddingBottomUnsupported
643+
InsetBoxShadowUnsupported
644+
RequestInProgress
645+
UntrustedEvent
646+
RegistrationFailed
647+
TypeNotSupported
648+
InvalidTypeActivation
649+
SecurityChecksFailed
650+
ActivationDisabled
651+
GeolocationDeprecated
652+
InvalidDisplayStyle
653+
NonOpaqueColor
654+
LowContrast
655+
FontSizeTooSmall
656+
FontSizeTooLarge
657+
InvalidSizeValue
658+
659+
# This issue warns about improper usage of the <permission> element.
660+
type PermissionElementIssueDetails extends object
661+
properties
662+
PermissionElementIssueType issueType
663+
# The value of the type attribute.
664+
optional string type
665+
# The node ID of the <permission> element.
666+
optional DOM.BackendNodeId nodeId
667+
# True if the issue is a warning, false if it is an error.
668+
optional boolean isWarning
669+
670+
# Fields for message construction:
671+
# Used for messages that reference a specific permission name
672+
optional string permissionName
673+
# Used for messages about occlusion
674+
optional string occluderNodeInfo
675+
# Used for messages about occluder's parent
676+
optional string occluderParentNodeInfo
677+
# Used for messages about activation disabled reason
678+
optional string disableReason
679+
635680
# A unique identifier for the type of issue. Each type may use one of the
636681
# optional fields in InspectorIssueDetails to convey more specific
637682
# information about the kind of issue.
@@ -664,6 +709,7 @@ experimental domain Audits
664709
SRIMessageSignatureIssue
665710
UnencodedDigestIssue
666711
UserReidentificationIssue
712+
PermissionElementIssue
667713

668714
# This struct holds a list of optional fields with additional information
669715
# specific to the kind of issue. When adding a new issue code, please also
@@ -696,6 +742,7 @@ experimental domain Audits
696742
optional SRIMessageSignatureIssueDetails sriMessageSignatureIssueDetails
697743
optional UnencodedDigestIssueDetails unencodedDigestIssueDetails
698744
optional UserReidentificationIssueDetails userReidentificationIssueDetails
745+
optional PermissionElementIssueDetails permissionElementIssueDetails
699746

700747
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
701748
# exceptions, CDP message, console messages, etc.) to reference an issue.

pdl/domains/CSS.pdl

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ experimental domain CSS
1414
depends on DOM
1515
depends on Page
1616

17-
type StyleSheetId extends string
18-
1917
# Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
2018
# stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
2119
# inspector" rules), "regular" for regular stylesheets.
@@ -108,7 +106,7 @@ experimental domain CSS
108106
type CSSStyleSheetHeader extends object
109107
properties
110108
# The stylesheet identifier.
111-
StyleSheetId styleSheetId
109+
DOM.StyleSheetId styleSheetId
112110
# Owner frame identifier.
113111
Page.FrameId frameId
114112
# Stylesheet resource URL. Empty if this is a constructed stylesheet created using
@@ -156,7 +154,7 @@ experimental domain CSS
156154
properties
157155
# The css style sheet identifier (absent for user agent stylesheet and user-specified
158156
# stylesheet rules) this rule came from.
159-
optional StyleSheetId styleSheetId
157+
optional DOM.StyleSheetId styleSheetId
160158
# Rule selector data.
161159
SelectorList selectorList
162160
# Array of selectors from ancestor style rules, sorted by distance from the current rule.
@@ -205,7 +203,7 @@ experimental domain CSS
205203
properties
206204
# The css style sheet identifier (absent for user agent stylesheet and user-specified
207205
# stylesheet rules) this rule came from.
208-
StyleSheetId styleSheetId
206+
DOM.StyleSheetId styleSheetId
209207
# Offset of the start of the rule (including selector) from the beginning of the stylesheet.
210208
number startOffset
211209
# Offset of the end of the rule body from the beginning of the stylesheet.
@@ -253,7 +251,7 @@ experimental domain CSS
253251
properties
254252
# The css style sheet identifier (absent for user agent stylesheet and user-specified
255253
# stylesheet rules) this rule came from.
256-
optional StyleSheetId styleSheetId
254+
optional DOM.StyleSheetId styleSheetId
257255
# CSS properties in the style.
258256
array of CSSProperty cssProperties
259257
# Computed values for all shorthands found in the style.
@@ -306,7 +304,7 @@ experimental domain CSS
306304
# available).
307305
optional SourceRange range
308306
# Identifier of the stylesheet containing this object (if exists).
309-
optional StyleSheetId styleSheetId
307+
optional DOM.StyleSheetId styleSheetId
310308
# Array of media queries.
311309
optional array of MediaQuery mediaList
312310

@@ -341,7 +339,7 @@ experimental domain CSS
341339
# available).
342340
optional SourceRange range
343341
# Identifier of the stylesheet containing this object (if exists).
344-
optional StyleSheetId styleSheetId
342+
optional DOM.StyleSheetId styleSheetId
345343
# Optional name for the container.
346344
optional string name
347345
# Optional physical axes queried for the container.
@@ -364,7 +362,7 @@ experimental domain CSS
364362
# available).
365363
optional SourceRange range
366364
# Identifier of the stylesheet containing this object (if exists).
367-
optional StyleSheetId styleSheetId
365+
optional DOM.StyleSheetId styleSheetId
368366

369367
# CSS Scope at-rule descriptor.
370368
experimental type CSSScope extends object
@@ -375,7 +373,7 @@ experimental domain CSS
375373
# available).
376374
optional SourceRange range
377375
# Identifier of the stylesheet containing this object (if exists).
378-
optional StyleSheetId styleSheetId
376+
optional DOM.StyleSheetId styleSheetId
379377

380378
# CSS Layer at-rule descriptor.
381379
experimental type CSSLayer extends object
@@ -386,7 +384,7 @@ experimental domain CSS
386384
# available).
387385
optional SourceRange range
388386
# Identifier of the stylesheet containing this object (if exists).
389-
optional StyleSheetId styleSheetId
387+
optional DOM.StyleSheetId styleSheetId
390388

391389
# CSS Starting Style at-rule descriptor.
392390
experimental type CSSStartingStyle extends object
@@ -395,7 +393,7 @@ experimental domain CSS
395393
# available).
396394
optional SourceRange range
397395
# Identifier of the stylesheet containing this object (if exists).
398-
optional StyleSheetId styleSheetId
396+
optional DOM.StyleSheetId styleSheetId
399397

400398
# CSS Layer data.
401399
experimental type CSSLayerData extends object
@@ -464,7 +462,7 @@ experimental domain CSS
464462
properties
465463
# The css style sheet identifier (absent for user agent stylesheet and user-specified
466464
# stylesheet rules) this rule came from.
467-
optional StyleSheetId styleSheetId
465+
optional DOM.StyleSheetId styleSheetId
468466
# Parent stylesheet's origin.
469467
StyleSheetOrigin origin
470468
# Associated style declaration.
@@ -477,7 +475,7 @@ experimental domain CSS
477475
Value name
478476
# The css style sheet identifier (absent for user agent stylesheet and user-specified
479477
# stylesheet rules) this rule came from.
480-
optional StyleSheetId styleSheetId
478+
optional DOM.StyleSheetId styleSheetId
481479
# Parent stylesheet's origin.
482480
StyleSheetOrigin origin
483481
# Associated style declaration.
@@ -522,7 +520,7 @@ experimental domain CSS
522520
optional Value name
523521
# The css style sheet identifier (absent for user agent stylesheet and user-specified
524522
# stylesheet rules) this rule came from.
525-
optional StyleSheetId styleSheetId
523+
optional DOM.StyleSheetId styleSheetId
526524
# Parent stylesheet's origin.
527525
StyleSheetOrigin origin
528526
# Associated style declaration.
@@ -533,7 +531,7 @@ experimental domain CSS
533531
properties
534532
# The css style sheet identifier (absent for user agent stylesheet and user-specified
535533
# stylesheet rules) this rule came from.
536-
optional StyleSheetId styleSheetId
534+
optional DOM.StyleSheetId styleSheetId
537535
# Parent stylesheet's origin.
538536
StyleSheetOrigin origin
539537
# Associated property name.
@@ -578,7 +576,7 @@ experimental domain CSS
578576
Value name
579577
# The css style sheet identifier (absent for user agent stylesheet and user-specified
580578
# stylesheet rules) this rule came from.
581-
optional StyleSheetId styleSheetId
579+
optional DOM.StyleSheetId styleSheetId
582580
# Parent stylesheet's origin.
583581
StyleSheetOrigin origin
584582
# List of parameters.
@@ -591,7 +589,7 @@ experimental domain CSS
591589
properties
592590
# The css style sheet identifier (absent for user agent stylesheet and user-specified
593591
# stylesheet rules) this rule came from.
594-
optional StyleSheetId styleSheetId
592+
optional DOM.StyleSheetId styleSheetId
595593
# Parent stylesheet's origin.
596594
StyleSheetOrigin origin
597595
# Associated key text.
@@ -603,7 +601,7 @@ experimental domain CSS
603601
type StyleDeclarationEdit extends object
604602
properties
605603
# The css style sheet identifier.
606-
StyleSheetId styleSheetId
604+
DOM.StyleSheetId styleSheetId
607605
# The range of the style text in the enclosing stylesheet.
608606
SourceRange range
609607
# New style text.
@@ -614,7 +612,7 @@ experimental domain CSS
614612
command addRule
615613
parameters
616614
# The css style sheet identifier where a new rule should be inserted.
617-
StyleSheetId styleSheetId
615+
DOM.StyleSheetId styleSheetId
618616
# The text of a new rule.
619617
string ruleText
620618
# Text position of a new rule in the target style sheet.
@@ -630,7 +628,7 @@ experimental domain CSS
630628
# Returns all class names from specified stylesheet.
631629
command collectClassNames
632630
parameters
633-
StyleSheetId styleSheetId
631+
DOM.StyleSheetId styleSheetId
634632
returns
635633
# Class name list.
636634
array of string classNames
@@ -647,7 +645,7 @@ experimental domain CSS
647645
optional boolean force
648646
returns
649647
# Identifier of the created "via-inspector" stylesheet.
650-
StyleSheetId styleSheetId
648+
DOM.StyleSheetId styleSheetId
651649

652650
# Disables the CSS agent for the given page.
653651
command disable
@@ -815,7 +813,7 @@ experimental domain CSS
815813
# Returns the current textual content for a stylesheet.
816814
command getStyleSheetText
817815
parameters
818-
StyleSheetId styleSheetId
816+
DOM.StyleSheetId styleSheetId
819817
returns
820818
# The stylesheet text.
821819
string text
@@ -834,7 +832,7 @@ experimental domain CSS
834832
# returns an array of locations of the CSS selector in the style sheet.
835833
experimental command getLocationForSelector
836834
parameters
837-
StyleSheetId styleSheetId
835+
DOM.StyleSheetId styleSheetId
838836
string selectorText
839837
returns
840838
array of SourceRange ranges
@@ -877,7 +875,7 @@ experimental domain CSS
877875
# Modifies the property rule property name.
878876
command setPropertyRulePropertyName
879877
parameters
880-
StyleSheetId styleSheetId
878+
DOM.StyleSheetId styleSheetId
881879
SourceRange range
882880
string propertyName
883881
returns
@@ -887,7 +885,7 @@ experimental domain CSS
887885
# Modifies the keyframe rule key text.
888886
command setKeyframeKey
889887
parameters
890-
StyleSheetId styleSheetId
888+
DOM.StyleSheetId styleSheetId
891889
SourceRange range
892890
string keyText
893891
returns
@@ -897,7 +895,7 @@ experimental domain CSS
897895
# Modifies the rule selector.
898896
command setMediaText
899897
parameters
900-
StyleSheetId styleSheetId
898+
DOM.StyleSheetId styleSheetId
901899
SourceRange range
902900
string text
903901
returns
@@ -907,7 +905,7 @@ experimental domain CSS
907905
# Modifies the expression of a container query.
908906
experimental command setContainerQueryText
909907
parameters
910-
StyleSheetId styleSheetId
908+
DOM.StyleSheetId styleSheetId
911909
SourceRange range
912910
string text
913911
returns
@@ -917,7 +915,7 @@ experimental domain CSS
917915
# Modifies the expression of a supports at-rule.
918916
experimental command setSupportsText
919917
parameters
920-
StyleSheetId styleSheetId
918+
DOM.StyleSheetId styleSheetId
921919
SourceRange range
922920
string text
923921
returns
@@ -927,7 +925,7 @@ experimental domain CSS
927925
# Modifies the expression of a scope at-rule.
928926
experimental command setScopeText
929927
parameters
930-
StyleSheetId styleSheetId
928+
DOM.StyleSheetId styleSheetId
931929
SourceRange range
932930
string text
933931
returns
@@ -937,7 +935,7 @@ experimental domain CSS
937935
# Modifies the rule selector.
938936
command setRuleSelector
939937
parameters
940-
StyleSheetId styleSheetId
938+
DOM.StyleSheetId styleSheetId
941939
SourceRange range
942940
string selector
943941
returns
@@ -947,7 +945,7 @@ experimental domain CSS
947945
# Sets the new stylesheet text.
948946
command setStyleSheetText
949947
parameters
950-
StyleSheetId styleSheetId
948+
DOM.StyleSheetId styleSheetId
951949
string text
952950
returns
953951
# URL of source map associated with script (if any).
@@ -1008,13 +1006,13 @@ experimental domain CSS
10081006
# Fired whenever a stylesheet is changed as a result of the client operation.
10091007
event styleSheetChanged
10101008
parameters
1011-
StyleSheetId styleSheetId
1009+
DOM.StyleSheetId styleSheetId
10121010

10131011
# Fired whenever an active document stylesheet is removed.
10141012
event styleSheetRemoved
10151013
parameters
10161014
# Identifier of the removed stylesheet.
1017-
StyleSheetId styleSheetId
1015+
DOM.StyleSheetId styleSheetId
10181016

10191017
experimental event computedStyleUpdated
10201018
parameters

0 commit comments

Comments
 (0)