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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception.html

Issue 2348583004: DevTools: remove unused ConsoleViewMessage.toString() (Closed)
Patch Set: use deeptextcontent for all Created 4 years, 3 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/console/console-uncaught-exception.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception.html b/third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception.html
index b9b464e2447947389f92e325d0cc8e9a3138f9a7..f5eed7bbb5397bcbaa008d71c2b6389af7618be9 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception.html
@@ -10,7 +10,7 @@ function test()
InspectorTest.evaluateInPage("loadIframe()");
function addMessage(viewMessage)
{
- if (viewMessage.toString().indexOf("setTimeout") !== -1)
+ if (viewMessage.element().deepTextContent().indexOf("setTimeout") !== -1)
InspectorTest.expandConsoleMessages(onExpanded);
}

Powered by Google App Engine
This is Rietveld 408576698