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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-xpath.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-xpath.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-xpath.html b/third_party/WebKit/LayoutTests/inspector/console/console-xpath.html
index 00dff30cb1ccbadb7842e40eeda21f3b56d4696c..405ee5e5658198a10a5c4beb1b13a0e295d6b27c 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-xpath.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-xpath.html
@@ -21,7 +21,7 @@ function test()
var completeMessageReceived = false;
function messageSniffer(uiMessage)
{
- if (uiMessage.toString().indexOf("complete") !== -1) {
+ if (uiMessage.element().deepTextContent().indexOf("complete") !== -1) {
completeMessageReceived = true;
maybeCompleteTest();
}

Powered by Google App Engine
This is Rietveld 408576698