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

Unified Diff: LayoutTests/http/tests/inspector/console-test.js

Issue 657063002: Show stack traces in console for unhandled promise rejection messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed debugger-pause-on-promise-rejection.html test Created 6 years, 2 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 | « no previous file | LayoutTests/inspector/console/console-uncaught-promise.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/console-test.js
diff --git a/LayoutTests/http/tests/inspector/console-test.js b/LayoutTests/http/tests/inspector/console-test.js
index e5f53432bf6c86cc81e6d1d66cb865b504d414a7..4c27b3f4d5a2e8b4cfc41b0faf33d157bb4fe31b 100644
--- a/LayoutTests/http/tests/inspector/console-test.js
+++ b/LayoutTests/http/tests/inspector/console-test.js
@@ -72,6 +72,12 @@ InspectorTest.fixConsoleViewportDimensions = function(width, height)
viewport.invalidate();
}
+InspectorTest.consoleMessagesCount = function()
+{
+ var consoleView = WebInspector.ConsolePanel._view();
+ return consoleView._consoleMessages.length;
+}
+
InspectorTest.dumpConsoleMessages = function(printOriginatingCommand, dumpClassNames, formatter)
{
InspectorTest.addResults(InspectorTest.dumpConsoleMessagesIntoArray(printOriginatingCommand, dumpClassNames, formatter));
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-uncaught-promise.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698