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

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

Issue 2109843003: Adds enableVirtualTime and setVirtualTimePolicy To Emulation domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 a27991a3a75b2ca4fa629da9c3575e835791833b..f8f7b538d63e9da24eae931803ae229d4b687f43 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -761,6 +761,27 @@
{ "name": "result", "type": "boolean", "description": "True if emulation is supported." }
],
"handlers": ["browser"]
+ },
+ {
+ "name": "enableVirtualTime",
+ "description": "Turns on virtualTime.",
+ "handlers": ["renderer"]
+ },
+ {
+ "name": "setVirtualTimePolicy",
Sami 2016/06/29 16:22:27 Would renderer suspension also fall under this? Al
alex clarke (OOO till 29th) 2016/06/29 17:08:31 Potentially yes. I think we need to prototype tha
+ "description": "Sets the current virtual time policy.",
+ "parameters": [
+ {
+ "enum": [
+ "advance",
+ "pause",
+ "pauseIfNetworkFetchesPending"
+ ],
+ "type": "string",
+ "name": "policy"
+ }
+ ],
+ "handlers": ["renderer"]
}
]
},

Powered by Google App Engine
This is Rietveld 408576698