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

Unified Diff: LayoutTests/inspector/console/console-preserve-log.html

Issue 222143003: DevTools: Make ConsoleMessage TargetAware (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@console-cpp-exec-context
Patch Set: Rebase Created 6 years, 9 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-timestamp.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/console/console-preserve-log.html
diff --git a/LayoutTests/inspector/console/console-preserve-log.html b/LayoutTests/inspector/console/console-preserve-log.html
index ff98ed8a948344a3f5d334be11a3253b960e15d6..9ee9910dc99fb617785f1e73d4e901bf3eba7ee3 100644
--- a/LayoutTests/inspector/console/console-preserve-log.html
+++ b/LayoutTests/inspector/console/console-preserve-log.html
@@ -5,7 +5,7 @@
<script>
function test()
{
- WebInspector.console.addMessage(new WebInspector.ConsoleMessage(WebInspector.ConsoleMessage.MessageSource.Other, WebInspector.ConsoleMessage.MessageLevel.Log, "PASS"));
+ WebInspector.console.addMessage(new WebInspector.ConsoleMessage(WebInspector.console.target(), WebInspector.ConsoleMessage.MessageSource.Other, WebInspector.ConsoleMessage.MessageLevel.Log, "PASS"));
WebInspector.settings.preserveConsoleLog.set(true);
InspectorTest.reloadPage(function() {
InspectorTest.dumpConsoleMessages();
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-timestamp.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698