| Index: Source/devtools/protocol.json
|
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
|
| index 0e54f2b3da35b52a508ec9a0f4afe9fc43bd15f8..46802390fa4943f8486d03f1dff93c6082edfe94 100644
|
| --- a/Source/devtools/protocol.json
|
| +++ b/Source/devtools/protocol.json
|
| @@ -2671,15 +2671,25 @@
|
| "description": "Modifies the rule selector."
|
| },
|
| {
|
| + "name": "createStyleSheet",
|
| + "parameters": [
|
| + { "name": "frameId", "$ref": "Page.FrameId", "description": "Identifier of the frame where \"via-inspector\" stylesheet should be created."}
|
| + ],
|
| + "returns": [
|
| + { "name": "styleSheetId", "$ref": "StyleSheetId", "description": "Identifier of the created \"via-inspector\" stylesheet." }
|
| + ],
|
| + "description": "Creates a new special \"via-inspector\" stylesheet in the frame with given <code>frameId</code>."
|
| + },
|
| + {
|
| "name": "addRule",
|
| "parameters": [
|
| - { "name": "contextNodeId", "$ref": "DOM.NodeId" },
|
| + { "name": "styleSheetId", "$ref": "StyleSheetId" },
|
| { "name": "selector", "type": "string" }
|
| ],
|
| "returns": [
|
| { "name": "rule", "$ref": "CSSRule", "description": "The newly created rule." }
|
| ],
|
| - "description": "Creates a new empty rule with the given <code>selector</code> in a special \"inspector\" stylesheet in the owner document of the context node."
|
| + "description": "Creates a new empty rule with the given <code>selector</code> in a stylesheet with given <code>styleSheetId</code>."
|
| },
|
| {
|
| "name": "forcePseudoState",
|
|
|