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

Unified Diff: test/inspector-protocol/protocol-test.js

Issue 2370033003: [inspector] test for fixed empty stack processing in console.count (Closed)
Patch Set: a Created 4 years, 3 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
« no previous file with comments | « test/inspector-protocol/debugger/async-console-count-doesnt-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « test/inspector-protocol/debugger/async-console-count-doesnt-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698