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..d69c61a9373b66a4d939f2707f50a285460c744d 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -670,6 +670,16 @@ |
{ "name": "type", "type": "string", "enum": ["portraitPrimary", "portraitSecondary", "landscapePrimary", "landscapeSecondary"], "description": "Orientation type." }, |
{ "name": "angle", "type": "integer", "description": "Orientation angle." } |
] |
+ }, |
+ { |
+ "id": "VirtualTimePolicy", |
+ "type": "string", |
+ "enum": [ |
+ "advance", |
+ "pause", |
+ "pauseIfNetworkFetchesPending" |
+ ], |
+ "description": "For a description of the virtual time policies see: https://docs.google.com/document/d/1y9KDT_ZEzT7pBeY6uzVt1dgKlwc1OB_vY4NZO1zBQmo" |
} |
], |
"commands": [ |
@@ -761,6 +771,19 @@ |
{ "name": "result", "type": "boolean", "description": "True if emulation is supported." } |
], |
"handlers": ["browser"] |
+ }, |
+ { |
+ "name": "enableVirtualTime", |
pfeldman
2016/07/01 15:14:13
this should either be setVirtualTimeEnabled(bool)
alex clarke (OOO till 29th)
2016/07/01 15:53:23
I know where you're coming from but I'm not sure i
|
+ "description": "Turns on virtual time for all frames, replacing real-time with a synthetic time source.", |
+ "hidden": true |
+ }, |
+ { |
+ "name": "setVirtualTimePolicy", |
+ "description": "Sets the current virtual time policy for all frames.", |
+ "parameters": [ |
+ { "name": "policy", "$ref": "VirtualTimePolicy" } |
+ ], |
+ "hidden": true |
} |
] |
}, |