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

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: Changes for Sami Created 3 years, 7 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
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..648093e20b60c3c7eb7ed8450585c0456d994e93 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -507,6 +507,16 @@
{ "name": "visualViewport", "$ref": "VisualViewport", "description": "Metrics relating to the visual viewport." },
{ "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."}
]
+ },
+ {
+ "name": "createIsolatedWorld",
+ "description": "Creates an isolated world for the given frame.",
+ "experimental": true,
+ "parameters": [
+ { "name": "frameId", "$ref": "FrameId", "description": "Id of the frame in which the isolated world should be created." },
+ { "name": "worldName", "type": "string", "description": "An optional name which is reported in the Execution Context." },
caseq 2017/05/05 16:36:01 based on the description, I guess this misses "opt
alex clarke (OOO till 29th) 2017/05/05 19:29:44 Done.
+ { "name": "grantUniveralAccess", "type": "boolean", "optional": true, "description": "Whether or not universal access should be granted to the isolated world. This is a powerful option, use with caution." }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698