Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2848653003: Add a DevTools command to create an isolated world for a given frame (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": [
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698