Index: third_party/WebKit/Source/core/inspector/browser_protocol.json |
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
index ccc2d2b3bd2516d1cf26cac51ef0bef53e2daa0f..be81d8091cae0377ad5e309a23f3e140ad49e646 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -507,6 +507,17 @@ |
{ "name": "visualViewport", "$ref": "VisualViewport", "description": "Metrics relating to the visual viewport." }, |
{ "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."} |
] |
+ }, |
+ { |
+ "name": "ensureIsolatedWorld", |
+ "description": "Ensures an isolated world for the given frame exists,", |
+ "experimental": true, |
+ "parameters": [ |
+ { "name": "frameId", "$ref": "FrameId", "description": "Id of the frame in which the isolated world should be created." }, |
+ { "name": "worldId", "type": "integer", "description": "Id of the isolated world. Must be >= 1 and < 1<<29." }, |
pfeldman
2017/04/27 19:25:42
I'd rather return the worldId.
Sami
2017/04/28 10:12:57
Yeah, that would make it easier for clients to cre
alex clarke (OOO till 29th)
2017/04/28 21:18:43
Done.
|
+ { "name": "securityOrigin", "type": "string", "optional": true, "description": "Associates the isolated world with a particular security origin." }, |
pfeldman
2017/04/27 19:25:42
When is it is different from frame?
Sami
2017/04/28 10:12:57
Discussed offline that we probably want a bool ins
alex clarke (OOO till 29th)
2017/04/28 21:18:43
Done.
|
+ { "name": "contentSecurityPolicy", "type": "string", "optional": true, "description": "Associates the isolated world with a particular Content Security Policy." } |
+ ] |
} |
], |
"events": [ |