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

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: Fix test crash 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.",
dgozman 2016/06/30 17:32:08 More explanation about virtualTime won't hurt here
alex clarke (OOO till 29th) 2016/07/01 14:09:14 Done.
+ "handlers": ["renderer"]
dgozman 2016/06/30 17:32:08 nit: "renderer" is a default value, so you can jus
alex clarke (OOO till 29th) 2016/07/01 14:09:14 Done.
+ },
+ {
+ "name": "setVirtualTimePolicy",
+ "description": "Sets the current virtual time policy.",
+ "parameters": [
+ {
+ "enum": [
dgozman 2016/06/30 17:32:08 Let's declare enum in "types" section, with descri
alex clarke (OOO till 29th) 2016/07/01 14:09:14 Done.
+ "advance",
+ "pause",
+ "pauseIfNetworkFetchesPending"
+ ],
+ "type": "string",
+ "name": "policy"
+ }
+ ],
+ "handlers": ["renderer"]
}
]
},

Powered by Google App Engine
This is Rietveld 408576698