Skip to content

Commit c40015d

Browse files
committed
Roll protocol to r1541592
1 parent b8b14fd commit c40015d

File tree

7 files changed

+224
-78
lines changed

7 files changed

+224
-78
lines changed

changelog.md

Lines changed: 65 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,71 @@
11

22

3+
## Roll protocol to r1541592 — _2025-11-07T04:32:19.000Z_
4+
###### Diff: [`b8b14fd...20c706c`](https://github.com/ChromeDevTools/devtools-protocol/compare/b8b14fd...20c706c)
5+
6+
```diff
7+
@@ domains/CSS.pdl:514 @@ experimental domain CSS
8+
# Associated style declaration.
9+
CSSStyle style
10+
11+
+ # CSS generic @rule representation.
12+
+ type CSSAtRule extends object
13+
+ properties
14+
+ # Type of at-rule.
15+
+ enum type
16+
+ font-face
17+
+ font-feature-values
18+
+ font-palette-values
19+
+ # Subsection of font-feature-values, if this is a subsection.
20+
+ optional enum subsection
21+
+ # LINT.IfChange(FontVariantAlternatesFeatureType)
22+
+ swash
23+
+ annotation
24+
+ ornaments
25+
+ stylistic
26+
+ styleset
27+
+ character-variant
28+
+ # LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)
29+
+ # Associated name, if applicable.
30+
+ optional Value name
31+
+ # The css style sheet identifier (absent for user agent stylesheet and user-specified
32+
+ # stylesheet rules) this rule came from.
33+
+ optional StyleSheetId styleSheetId
34+
+ # Parent stylesheet's origin.
35+
+ StyleSheetOrigin origin
36+
+ # Associated style declaration.
37+
+ CSSStyle style
38+
+
39+
# CSS property at-rule representation.
40+
type CSSPropertyRule extends object
41+
properties
42+
@@ -774,6 +802,8 @@ experimental domain CSS
43+
optional array of CSSPropertyRegistration cssPropertyRegistrations
44+
# A font-palette-values rule matching this node.
45+
optional CSSFontPaletteValuesRule cssFontPaletteValuesRule
46+
+ # A list of simple @rules matching this node or its pseudo-elements.
47+
+ optional array of CSSAtRule cssAtRules
48+
# Id of the first parent element that does not have display: contents.
49+
experimental optional DOM.NodeId parentLayoutNodeId
50+
# A list of CSS at-function rules referenced by styles of this node.
51+
diff --git a/pdl/domains/Target.pdl b/pdl/domains/Target.pdl
52+
index 8c7f510d..abe66920 100644
53+
--- a/pdl/domains/Target.pdl
54+
+++ b/pdl/domains/Target.pdl
55+
@@ -322,6 +322,9 @@ domain Target
56+
parameters
57+
# This can be the page or tab target ID.
58+
TargetID targetId
59+
+ # The id of the panel we want DevTools to open initially. Currently
60+
+ # supported panels are elements, console, network, sources and resources.
61+
+ optional string panelId
62+
returns
63+
# The targetId of DevTools page target.
64+
TargetID targetId
65+
```
66+
367
## Roll protocol to r1541017 — _2025-11-06T04:32:31.000Z_
4-
###### Diff: [`0e79e39...166a35c`](https://github.com/ChromeDevTools/devtools-protocol/compare/0e79e39...166a35c)
68+
###### Diff: [`0e79e39...b8b14fd`](https://github.com/ChromeDevTools/devtools-protocol/compare/0e79e39...b8b14fd)
569

670
```diff
771
@@ domains/Animation.pdl:68 @@ experimental domain Animation
@@ -41870,78 +41934,4 @@ index 0dbdc01d..7a3c772c 100644
4187041934
+ event ruleSetRemoved
4187141935
+ parameters
4187241936
+ RuleSetId id
41873-
```
41874-
41875-
## Roll protocol to r1103684 — _2023-02-10T04:28:55.000Z_
41876-
###### Diff: [`8cf7384...97f8fcb`](https://github.com/ChromeDevTools/devtools-protocol/compare/8cf7384...97f8fcb)
41877-
41878-
```diff
41879-
@@ browser_protocol.pdl:8555 @@ domain Page
41880-
# that is incompatible with prerender and has caused the cancellation of the attempt
41881-
optional string disallowedApiMethod
41882-
41883-
+ # List of Prefetch status, which refers to PreloadingTriggeringOutcome.
41884-
+ type PrefetchStatus extends string
41885-
+ enum
41886-
+ Running
41887-
+ Ready
41888-
+ Success
41889-
+ Failure
41890-
+ # PreloadingTriggeringOutcome which not used by prefetch.
41891-
+ NotSupported
41892-
+
41893-
+ # TODO(crbug/1384419): Create a dedicated domain for preloading.
41894-
+ # Fired when a prefetch attempt is updated.
41895-
+ experimental event prefetchStatusUpdated
41896-
+ parameters
41897-
+ # The frame id of the frame initiating prefetch.
41898-
+ FrameId initiatingFrameId
41899-
+ string prefetchUrl
41900-
+ PrefetchStatus status
41901-
+
41902-
event loadEventFired
41903-
parameters
41904-
Network.MonotonicTime timestamp
41905-
@@ -10757,3 +10776,41 @@ experimental domain Media
41906-
41907-
# Disables the Media domain.
41908-
command disable
41909-
+
41910-
+experimental domain DeviceAccess
41911-
+ # Device request id.
41912-
+ type RequestId extends string
41913-
+
41914-
+ # A device id.
41915-
+ type DeviceId extends string
41916-
+
41917-
+ # Device information displayed in a user prompt to select a device.
41918-
+ type PromptDevice extends object
41919-
+ properties
41920-
+ DeviceId id
41921-
+ # Display name as it appears in a device request user prompt.
41922-
+ string name
41923-
+
41924-
+ # Enable events in this domain.
41925-
+ command enable
41926-
+
41927-
+ # Disable events in this domain.
41928-
+ command disable
41929-
+
41930-
+ # Select a device in response to a DeviceAccess.deviceRequestPrompted event.
41931-
+ command selectPrompt
41932-
+ parameters
41933-
+ RequestId id
41934-
+ DeviceId deviceId
41935-
+
41936-
+ # Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
41937-
+ command cancelPrompt
41938-
+ parameters
41939-
+ RequestId id
41940-
+
41941-
+ # A device request opened a user prompt to select a device. Respond with the
41942-
+ # selectPrompt or cancelPrompt command.
41943-
+ event deviceRequestPrompted
41944-
+ parameters
41945-
+ RequestId id
41946-
+ array of PromptDevice devices
4194741937
```

json/browser_protocol.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5177,6 +5177,59 @@
51775177
}
51785178
]
51795179
},
5180+
{
5181+
"id": "CSSAtRule",
5182+
"description": "CSS generic @rule representation.",
5183+
"type": "object",
5184+
"properties": [
5185+
{
5186+
"name": "type",
5187+
"description": "Type of at-rule.",
5188+
"type": "string",
5189+
"enum": [
5190+
"font-face",
5191+
"font-feature-values",
5192+
"font-palette-values"
5193+
]
5194+
},
5195+
{
5196+
"name": "subsection",
5197+
"description": "Subsection of font-feature-values, if this is a subsection.",
5198+
"optional": true,
5199+
"type": "string",
5200+
"enum": [
5201+
"swash",
5202+
"annotation",
5203+
"ornaments",
5204+
"stylistic",
5205+
"styleset",
5206+
"character-variant"
5207+
]
5208+
},
5209+
{
5210+
"name": "name",
5211+
"description": "LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)\nAssociated name, if applicable.",
5212+
"optional": true,
5213+
"$ref": "Value"
5214+
},
5215+
{
5216+
"name": "styleSheetId",
5217+
"description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
5218+
"optional": true,
5219+
"$ref": "StyleSheetId"
5220+
},
5221+
{
5222+
"name": "origin",
5223+
"description": "Parent stylesheet's origin.",
5224+
"$ref": "StyleSheetOrigin"
5225+
},
5226+
{
5227+
"name": "style",
5228+
"description": "Associated style declaration.",
5229+
"$ref": "CSSStyle"
5230+
}
5231+
]
5232+
},
51805233
{
51815234
"id": "CSSPropertyRule",
51825235
"description": "CSS property at-rule representation.",
@@ -5788,6 +5841,15 @@
57885841
"optional": true,
57895842
"$ref": "CSSFontPaletteValuesRule"
57905843
},
5844+
{
5845+
"name": "cssAtRules",
5846+
"description": "A list of simple @rules matching this node or its pseudo-elements.",
5847+
"optional": true,
5848+
"type": "array",
5849+
"items": {
5850+
"$ref": "CSSAtRule"
5851+
}
5852+
},
57915853
{
57925854
"name": "parentLayoutNodeId",
57935855
"description": "Id of the first parent element that does not have display: contents.",
@@ -28156,6 +28218,12 @@
2815628218
"name": "targetId",
2815728219
"description": "This can be the page or tab target ID.",
2815828220
"$ref": "TargetID"
28221+
},
28222+
{
28223+
"name": "panelId",
28224+
"description": "The id of the panel we want DevTools to open initially. Currently\nsupported panels are elements, console, network, sources and resources.",
28225+
"optional": true,
28226+
"type": "string"
2815928227
}
2816028228
],
2816128229
"returns": [

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.1541017",
3+
"version": "0.0.1541592",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/CSS.pdl

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,34 @@ experimental domain CSS
514514
# Associated style declaration.
515515
CSSStyle style
516516

517+
# CSS generic @rule representation.
518+
type CSSAtRule extends object
519+
properties
520+
# Type of at-rule.
521+
enum type
522+
font-face
523+
font-feature-values
524+
font-palette-values
525+
# Subsection of font-feature-values, if this is a subsection.
526+
optional enum subsection
527+
# LINT.IfChange(FontVariantAlternatesFeatureType)
528+
swash
529+
annotation
530+
ornaments
531+
stylistic
532+
styleset
533+
character-variant
534+
# LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType)
535+
# Associated name, if applicable.
536+
optional Value name
537+
# The css style sheet identifier (absent for user agent stylesheet and user-specified
538+
# stylesheet rules) this rule came from.
539+
optional StyleSheetId styleSheetId
540+
# Parent stylesheet's origin.
541+
StyleSheetOrigin origin
542+
# Associated style declaration.
543+
CSSStyle style
544+
517545
# CSS property at-rule representation.
518546
type CSSPropertyRule extends object
519547
properties
@@ -774,6 +802,8 @@ experimental domain CSS
774802
optional array of CSSPropertyRegistration cssPropertyRegistrations
775803
# A font-palette-values rule matching this node.
776804
optional CSSFontPaletteValuesRule cssFontPaletteValuesRule
805+
# A list of simple @rules matching this node or its pseudo-elements.
806+
optional array of CSSAtRule cssAtRules
777807
# Id of the first parent element that does not have display: contents.
778808
experimental optional DOM.NodeId parentLayoutNodeId
779809
# A list of CSS at-function rules referenced by styles of this node.

pdl/domains/Target.pdl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ domain Target
322322
parameters
323323
# This can be the page or tab target ID.
324324
TargetID targetId
325+
# The id of the panel we want DevTools to open initially. Currently
326+
# supported panels are elements, console, network, sources and resources.
327+
optional string panelId
325328
returns
326329
# The targetId of DevTools page target.
327330
TargetID targetId

types/protocol.d.ts

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5800,6 +5800,52 @@ export namespace Protocol {
58005800
style: CSSStyle;
58015801
}
58025802

5803+
export const enum CSSAtRuleType {
5804+
FontFace = 'font-face',
5805+
FontFeatureValues = 'font-feature-values',
5806+
FontPaletteValues = 'font-palette-values',
5807+
}
5808+
5809+
export const enum CSSAtRuleSubsection {
5810+
Swash = 'swash',
5811+
Annotation = 'annotation',
5812+
Ornaments = 'ornaments',
5813+
Stylistic = 'stylistic',
5814+
Styleset = 'styleset',
5815+
CharacterVariant = 'character-variant',
5816+
}
5817+
5818+
/**
5819+
* CSS generic @rule representation.
5820+
*/
5821+
export interface CSSAtRule {
5822+
/**
5823+
* Type of at-rule.
5824+
*/
5825+
type: ('font-face' | 'font-feature-values' | 'font-palette-values');
5826+
/**
5827+
* Subsection of font-feature-values, if this is a subsection.
5828+
*/
5829+
subsection?: ('swash' | 'annotation' | 'ornaments' | 'stylistic' | 'styleset' | 'character-variant');
5830+
/**
5831+
* Associated name, if applicable.
5832+
*/
5833+
name?: Value;
5834+
/**
5835+
* The css style sheet identifier (absent for user agent stylesheet and user-specified
5836+
* stylesheet rules) this rule came from.
5837+
*/
5838+
styleSheetId?: StyleSheetId;
5839+
/**
5840+
* Parent stylesheet's origin.
5841+
*/
5842+
origin: StyleSheetOrigin;
5843+
/**
5844+
* Associated style declaration.
5845+
*/
5846+
style: CSSStyle;
5847+
}
5848+
58035849
/**
58045850
* CSS property at-rule representation.
58055851
*/
@@ -6198,6 +6244,10 @@ export namespace Protocol {
61986244
* A font-palette-values rule matching this node.
61996245
*/
62006246
cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
6247+
/**
6248+
* A list of simple @rules matching this node or its pseudo-elements.
6249+
*/
6250+
cssAtRules?: CSSAtRule[];
62016251
/**
62026252
* Id of the first parent element that does not have display: contents.
62036253
* @experimental
@@ -20336,6 +20386,11 @@ export namespace Protocol {
2033620386
* This can be the page or tab target ID.
2033720387
*/
2033820388
targetId: TargetID;
20389+
/**
20390+
* The id of the panel we want DevTools to open initially. Currently
20391+
* supported panels are elements, console, network, sources and resources.
20392+
*/
20393+
panelId?: string;
2033920394
}
2034020395

2034120396
export interface OpenDevToolsResponse {

0 commit comments

Comments
 (0)