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

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: Rebased 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 ae8ca34b4131f71176351831eb63c7aa65db5098..0060d55ef89f30e039effde25b5e314377b9e6e6 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -520,6 +520,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", "optional": true, "description": "An optional name which is reported in the Execution Context." },
+ { "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