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

Side by Side 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "experimental": true, 5 "experimental": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 }, 500 },
501 { 501 {
502 "name": "getLayoutMetrics", 502 "name": "getLayoutMetrics",
503 "description": "Returns metrics relating to the layouting of the page, such as viewport bounds/scale.", 503 "description": "Returns metrics relating to the layouting of the page, such as viewport bounds/scale.",
504 "experimental": true, 504 "experimental": true,
505 "returns": [ 505 "returns": [
506 { "name": "layoutViewport", "$ref": "LayoutViewport", "descr iption": "Metrics relating to the layout viewport." }, 506 { "name": "layoutViewport", "$ref": "LayoutViewport", "descr iption": "Metrics relating to the layout viewport." },
507 { "name": "visualViewport", "$ref": "VisualViewport", "descr iption": "Metrics relating to the visual viewport." }, 507 { "name": "visualViewport", "$ref": "VisualViewport", "descr iption": "Metrics relating to the visual viewport." },
508 { "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."} 508 { "name": "contentSize", "$ref": "DOM.Rect", "description": "Size of scrollable area."}
509 ] 509 ]
510 },
511 {
512 "name": "createIsolatedWorld",
513 "description": "Creates an isolated world for the given frame.",
514 "experimental": true,
515 "parameters": [
516 { "name": "frameId", "$ref": "FrameId", "description": "Id o f the frame in which the isolated world should be created." },
517 { "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.
518 { "name": "grantUniveralAccess", "type": "boolean", "optiona l": true, "description": "Whether or not universal access should be granted to t he isolated world. This is a powerful option, use with caution." }
519 ]
510 } 520 }
511 ], 521 ],
512 "events": [ 522 "events": [
513 { 523 {
514 "name": "domContentEventFired", 524 "name": "domContentEventFired",
515 "parameters": [ 525 "parameters": [
516 { "name": "timestamp", "type": "number" } 526 { "name": "timestamp", "type": "number" }
517 ] 527 ]
518 }, 528 },
519 { 529 {
(...skipping 4129 matching lines...) Expand 10 before | Expand all | Expand 10 after
4649 "parameters": [ 4659 "parameters": [
4650 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4660 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4651 ], 4661 ],
4652 "returns": [ 4662 "returns": [
4653 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 4663 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." }
4654 ] 4664 ]
4655 } 4665 }
4656 ] 4666 ]
4657 }] 4667 }]
4658 } 4668 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698