Skip to content

Commit

Permalink
Roll protocol to r1413902
Browse files Browse the repository at this point in the history
  • Loading branch information
devtools-bot committed Jan 31, 2025
1 parent 2fef0e4 commit e55a19d
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 2 deletions.
20 changes: 19 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@


## Roll protocol to r1413902 — _2025-01-31T04:28:29.000Z_
###### Diff: [`2fef0e4...f409d5c`](https://github.com/ChromeDevTools/devtools-protocol/compare/2fef0e4...f409d5c)

```diff
@@ browser_protocol.pdl:2253 @@ experimental domain CSS
parameters
# Identifier of the frame where "via-inspector" stylesheet should be created.
Page.FrameId frameId
+ # If true, creates a new stylesheet for every call. If false,
+ # returns a stylesheet previously created by a call with force=false
+ # for the frame's document if it exists or creates a new stylesheet
+ # (default: false).
+ optional boolean force
returns
# Identifier of the created "via-inspector" stylesheet.
StyleSheetId styleSheetId
```

## Roll protocol to r1413303 — _2025-01-30T04:28:44.000Z_
###### Diff: [`c026fa6...2f92589`](https://github.com/ChromeDevTools/devtools-protocol/compare/c026fa6...2f92589)
###### Diff: [`c026fa6...2fef0e4`](https://github.com/ChromeDevTools/devtools-protocol/compare/c026fa6...2fef0e4)

```diff
@@ browser_protocol.pdl:9396 @@ domain Page
Expand Down
6 changes: 6 additions & 0 deletions json/browser_protocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -4684,6 +4684,12 @@
"name": "frameId",
"description": "Identifier of the frame where \"via-inspector\" stylesheet should be created.",
"$ref": "Page.FrameId"
},
{
"name": "force",
"description": "If true, creates a new stylesheet for every call. If false,\nreturns a stylesheet previously created by a call with force=false\nfor the frame's document if it exists or creates a new stylesheet\n(default: false).",
"optional": true,
"type": "boolean"
}
],
"returns": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-protocol",
"version": "0.0.1413303",
"version": "0.0.1413902",
"description": "The Chrome DevTools Protocol JSON",
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
"author": "The Chromium Authors",
Expand Down
5 changes: 5 additions & 0 deletions pdl/browser_protocol.pdl
Original file line number Diff line number Diff line change
Expand Up @@ -2253,6 +2253,11 @@ experimental domain CSS
parameters
# Identifier of the frame where "via-inspector" stylesheet should be created.
Page.FrameId frameId
# If true, creates a new stylesheet for every call. If false,
# returns a stylesheet previously created by a call with force=false
# for the frame's document if it exists or creates a new stylesheet
# (default: false).
optional boolean force
returns
# Identifier of the created "via-inspector" stylesheet.
StyleSheetId styleSheetId
Expand Down
7 changes: 7 additions & 0 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5492,6 +5492,13 @@ export namespace Protocol {
* Identifier of the frame where "via-inspector" stylesheet should be created.
*/
frameId: Page.FrameId;
/**
* If true, creates a new stylesheet for every call. If false,
* returns a stylesheet previously created by a call with force=false
* for the frame's document if it exists or creates a new stylesheet
* (default: false).
*/
force?: boolean;
}

export interface CreateStyleSheetResponse {
Expand Down

0 comments on commit e55a19d

Please sign in to comment.