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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/console/console-deprecated-methods.html

Issue 2037593004: [DevTools] Remove unnecessary knowledge about console from core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more test Created 4 years, 6 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
Index: third_party/WebKit/LayoutTests/inspector-protocol/console/console-deprecated-methods.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/console/console-deprecated-methods.html b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-deprecated-methods.html
index 538f8cfbd2d6dfaf62a0f72154fda0b6d55a7045..fe6ef3f5b933d5e73f602cb1a32db79c7dcdc9a3 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/console/console-deprecated-methods.html
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/console/console-deprecated-methods.html
@@ -3,6 +3,8 @@
<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
<script>
+testRunner.setDumpConsoleMessages(false);
+
function test()
{
InspectorTest.eventHandler["Console.messageAdded"] = messageAdded;
@@ -20,6 +22,10 @@ function test()
var messagesLeft = 3;
function messageAdded(data)
{
+ var text = data.params.message.text;
+ if (text.indexOf("deprecated") === -1)
+ return;
+ InspectorTest.log(text);
if (!--messagesLeft)
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698