Chromium Code Reviews| Index: test/inspector-protocol/protocol-test.js |
| diff --git a/test/inspector-protocol/protocol-test.js b/test/inspector-protocol/protocol-test.js |
| index 1981a8f6f5fb15424b9537b08700ca3cd099dd73..a86d544609ac7eba16e1ea78a90b2c38ffdae72f 100644 |
| --- a/test/inspector-protocol/protocol-test.js |
| +++ b/test/inspector-protocol/protocol-test.js |
| @@ -135,6 +135,13 @@ InspectorTest.logObject = function(object, title) |
| InspectorTest.completeTest = quit.bind(null); |
| +InspectorTest.completeTestAfterPendingTimeouts = function() |
| +{ |
| + InspectorTest.sendCommand("Runtime.evaluate", { |
| + expression: "new Promise(resolve => setTimeout(resolve, 0))", |
| + awaitPromise: true }, InspectorTest.completeTest) |
|
dgozman
2016/09/27 16:33:19
missing semicolon
kozy
2016/09/27 20:22:10
Done.
|
| +} |
| + |
| InspectorTest.evaluateInPage = function(string, callback) |
| { |
| InspectorTest.sendCommand("Runtime.evaluate", { "expression": string }, function(message) { |