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

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

Issue 2370033003: [inspector] test for fixed empty stack processing in console.count (Closed)
Patch Set: rebased 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/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-test.js
diff --git a/test/inspector/protocol-test.js b/test/inspector/protocol-test.js
index 52fb4b1d263b76057fcfc25a30587a0c1ea7437c..6b45f1f564a67373b6ff1df60c4e0576a0dc8382 100644
--- a/test/inspector/protocol-test.js
+++ b/test/inspector/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);
+}
+
InspectorTest.evaluateInPage = function(string, callback)
{
InspectorTest.sendCommand("Runtime.evaluate", { "expression": string }, function(message) {
« no previous file with comments | « test/inspector/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