Title: [107383] trunk/LayoutTests
Revision
107383
Author
morr...@google.com
Date
2012-02-10 01:29:43 -0800 (Fri, 10 Feb 2012)

Log Message

Unreviewed attempt to fix the test failure.

* editing/spelling/spelling-marker-description.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (107382 => 107383)


--- trunk/LayoutTests/ChangeLog	2012-02-10 09:28:05 UTC (rev 107382)
+++ trunk/LayoutTests/ChangeLog	2012-02-10 09:29:43 UTC (rev 107383)
@@ -1,3 +1,9 @@
+2012-02-10  MORITA Hajime  <morr...@google.com>
+
+        Unreviewed attempt to fix the test failure.
+
+        * editing/spelling/spelling-marker-description.html:
+
 2012-02-10  Pavel Podivilov  <podivi...@chromium.org>
 
         Unreviewed, fix error in test_expectations.txt.

Modified: trunk/LayoutTests/editing/spelling/spelling-marker-description.html (107382 => 107383)


--- trunk/LayoutTests/editing/spelling/spelling-marker-description.html	2012-02-10 09:28:05 UTC (rev 107382)
+++ trunk/LayoutTests/editing/spelling/spelling-marker-description.html	2012-02-10 09:29:43 UTC (rev 107383)
@@ -25,7 +25,7 @@
     }
 
     var texts = destination.childNodes;
-    var markedText = null;
+    markedText = null;
     for (var i = 0; i < texts.length; ++i) {
         if (internals.markerCountForNode(texts[i], "spelling")) { 
             markedText = internals.markerRangeForNode(texts[i], "spelling", 0).toString();
@@ -34,7 +34,7 @@
         }
     }
 
-    if (markedText) {
+    if (markedText != null) {
         shouldBeEqualToString("markedText", "wellcome");
         shouldBeEqualToString("markerDescription", "welcome");
         done();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to