Title: [90299] trunk/LayoutTests
Revision
90299
Author
[email protected]
Date
2011-07-01 17:05:07 -0700 (Fri, 01 Jul 2011)

Log Message

2011-07-01  Mihai Parparita  <[email protected]>

        editing/selection/directionality-after-undo-replace.html fails on Chromium Windows
        https://bugs.webkit.org/show_bug.cgi?id=63855

        Reviewed by Ryosuke Niwa.

        Allow a trailing whitespace in the expected result, since Windows
        has different word iterating behavior.

        * editing/selection/directionality-after-undo-replace.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (90298 => 90299)


--- trunk/LayoutTests/ChangeLog	2011-07-01 23:45:27 UTC (rev 90298)
+++ trunk/LayoutTests/ChangeLog	2011-07-02 00:05:07 UTC (rev 90299)
@@ -1,5 +1,17 @@
 2011-07-01  Mihai Parparita  <[email protected]>
 
+        editing/selection/directionality-after-undo-replace.html fails on Chromium Windows
+        https://bugs.webkit.org/show_bug.cgi?id=63855
+
+        Reviewed by Ryosuke Niwa.
+        
+        Allow a trailing whitespace in the expected result, since Windows
+        has different word iterating behavior.
+
+        * editing/selection/directionality-after-undo-replace.html:
+
+2011-07-01  Mihai Parparita  <[email protected]>
+
         Remove Chromium Windows 7 and Vista media test expectations, since
         clobbering the bots appears to have fixed the timeouts and failures.
 

Modified: trunk/LayoutTests/editing/selection/directionality-after-undo-replace.html (90298 => 90299)


--- trunk/LayoutTests/editing/selection/directionality-after-undo-replace.html	2011-07-01 23:45:27 UTC (rev 90298)
+++ trunk/LayoutTests/editing/selection/directionality-after-undo-replace.html	2011-07-02 00:05:07 UTC (rev 90299)
@@ -36,7 +36,8 @@
         window.getSelection().modify('extend', 'left', 'character');
 
         var actual = window.getSelection().toString();
-        document.writeln(actual == ' world' ? 'PASS' : 'FAIL - expected " world" but got "' + actual + '"');
+        // Windows has a trailing whitespace, other platforms don't.
+        document.writeln((actual == ' world' || actual == ' world ') ? 'PASS' : 'FAIL - expected " world" but got "' + actual + '"');
     }
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to