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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-eval-throw.html

Issue 2146163002: [DevTools] Remove Console.messagesCleared event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2139543002
Patch Set: rebased on ToT Created 4 years, 5 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 | third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/console/console-eval-throw.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-eval-throw.html b/third_party/WebKit/LayoutTests/inspector/console/console-eval-throw.html
index d80b03bedd868ecb08c61fb32b78200f84a4185c..c735cb3211f0cb8bde112058e31e9aee3f7351f2 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-eval-throw.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-eval-throw.html
@@ -8,11 +8,12 @@ function test()
function dumpMessages(next, message)
{
InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames();
- InspectorTest.consoleModel.requestClearMessages();
-
+
InspectorTest.consoleModel.addEventListener(WebInspector.ConsoleModel.Events.ConsoleCleared, afterCleared);
+ InspectorTest.consoleModel.requestClearMessages();
- function afterCleared() {
+ function afterCleared()
+ {
InspectorTest.consoleModel.removeEventListener(WebInspector.ConsoleModel.Events.ConsoleCleared, afterCleared);
next();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698