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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-resource-errors.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-resource-errors.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-resource-errors.html b/third_party/WebKit/LayoutTests/http/tests/inspector/console-resource-errors.html
index ded6e542129cc28ee53fae3d4e404391a2892b3f..7fe04cf33a62499331e8e691d4a0ded2e0ee36ed 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-resource-errors.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-resource-errors.html
@@ -32,7 +32,7 @@ function test()
function addMessage(uiMessage)
{
// There will be only one such message.
- if (uiMessage.toString().indexOf("non-existent-iframe") !== -1)
+ if (uiMessage.element().deepTextContent().indexOf("non-existent-iframe") !== -1)
InspectorTest.expandConsoleMessages(onExpandedMessages);
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-uncaught-exception.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698