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(); |
} |