Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-while-paused-throws.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-while-paused-throws.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-while-paused-throws.html |
index 14f7f8dd7dbcca2072c57fb8e9dd4a838524c6e8..aa66025671cea625c6d6a8d2c3d7aeaac4afe664 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-while-paused-throws.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-while-paused-throws.html |
@@ -65,13 +65,11 @@ var test = function() |
function dumpConsoleMessages() |
{ |
- InspectorTest.addResult("Dumping console messages:\n"); |
- InspectorTest.dumpConsoleMessages(false, false, formatter); |
- InspectorTest.completeDebuggerTest(); |
- } |
- |
- function formatter(element, message) { |
- return message.messageText; |
+ InspectorTest.deprecatedRunAfterPendingDispatches(() => { |
+ InspectorTest.addResult("Dumping console messages:\n"); |
+ InspectorTest.dumpConsoleMessages(); |
+ InspectorTest.completeDebuggerTest(); |
+ }); |
} |
} |