Title: [87218] trunk/LayoutTests
- Revision
- 87218
- Author
- [email protected]
- Date
- 2011-05-24 15:22:26 -0700 (Tue, 24 May 2011)
Log Message
2011-05-24 Ryosuke Niwa <[email protected]>
Reviewed by Tony Chang.
[chromium] selectstart-by-drag.html and selectstart-by-double-triple-clicks.html
fail on Windows and Linux
https://bugs.webkit.org/show_bug.cgi?id=61377
selectstart-by-drag.html pass on Chromium Windows and Chromium Linux so don't use
the failing test expectation on Windows port.
In selectstart-by-double-triple-clicks.html, /^\s|\s$/ isn't recognized by V8 so
replace it by /^[ \t]|[ \t]$/.
* platform/chromium/fast/events/selectstart-by-drag-expected.txt: Copied from
LayoutTests/fast/events/selectstart-by-drag-expected.txt.
* fast/events/selectstart-by-double-triple-clicks.html:
* platform/chromium/test_expectations.txt:
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (87217 => 87218)
--- trunk/LayoutTests/ChangeLog 2011-05-24 22:20:20 UTC (rev 87217)
+++ trunk/LayoutTests/ChangeLog 2011-05-24 22:22:26 UTC (rev 87218)
@@ -1,3 +1,22 @@
+2011-05-24 Ryosuke Niwa <[email protected]>
+
+ Reviewed by Tony Chang.
+
+ [chromium] selectstart-by-drag.html and selectstart-by-double-triple-clicks.html
+ fail on Windows and Linux
+ https://bugs.webkit.org/show_bug.cgi?id=61377
+
+ selectstart-by-drag.html pass on Chromium Windows and Chromium Linux so don't use
+ the failing test expectation on Windows port.
+
+ In selectstart-by-double-triple-clicks.html, /^\s|\s$/ isn't recognized by V8 so
+ replace it by /^[ \t]|[ \t]$/.
+
+ * platform/chromium/fast/events/selectstart-by-drag-expected.txt: Copied from
+ LayoutTests/fast/events/selectstart-by-drag-expected.txt.
+ * fast/events/selectstart-by-double-triple-clicks.html:
+ * platform/chromium/test_expectations.txt:
+
2011-05-24 James Simonsen <[email protected]>
Reviewed by Eric Seidel.
Modified: trunk/LayoutTests/fast/events/selectstart-by-double-triple-clicks.html (87217 => 87218)
--- trunk/LayoutTests/fast/events/selectstart-by-double-triple-clicks.html 2011-05-24 22:20:20 UTC (rev 87217)
+++ trunk/LayoutTests/fast/events/selectstart-by-double-triple-clicks.html 2011-05-24 22:22:26 UTC (rev 87218)
@@ -13,7 +13,7 @@
function expect(title, expectedCount, expectedType, expectedString) {
document.write(title + ': ');
var actualSelectionType = window.getSelection().isCollapsed ? 'caret' : 'range';
- var actualString = window.getSelection().toString().replace(/^\s*|\s*$/, '');
+ var actualString = window.getSelection().toString().replace(/^[ \t]*|[ \t]*$/, '');
if (selectStartCount != expectedCount)
document.writeln('FAIL - expected ' + expectedCount + ' events but got ' + selectStartCount + ' events');
Added: trunk/LayoutTests/platform/chromium/fast/events/selectstart-by-drag-expected.txt (0 => 87218)
--- trunk/LayoutTests/platform/chromium/fast/events/selectstart-by-drag-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/events/selectstart-by-drag-expected.txt 2011-05-24 22:22:26 UTC (rev 87218)
@@ -0,0 +1,14 @@
+This test ensures selectstart is fired exactly once when selecting text by a mouse drag.
+
+Initial state: PASS
+Mouse down: PASS
+Moving slightly to the right: PASS
+Moving slightly to the left: PASS
+Moving to the right: PASS
+Moving further to the right: PASS
+Moving back to the left: PASS
+Moving to the right again: PASS
+Mouse down on the right: PASS
+Moving to the left: PASS
+Done.
+
Modified: trunk/LayoutTests/platform/chromium/test_expectations.txt (87217 => 87218)
--- trunk/LayoutTests/platform/chromium/test_expectations.txt 2011-05-24 22:20:20 UTC (rev 87217)
+++ trunk/LayoutTests/platform/chromium/test_expectations.txt 2011-05-24 22:22:26 UTC (rev 87218)
@@ -4121,9 +4121,6 @@
BUGWK61326 : fast/storage/storage-detached-iframe.html = CRASH
-BUGCR83682 WIN LINUX : fast/events/selectstart-by-double-triple-clicks.html = TEXT
-BUGCR83682 WIN LINUX : fast/events/selectstart-by-drag.html = TEXT
-
BUGCR83683 : fast/dom/HTMLLinkElement/prerender.html = TEXT
// Regression from webkit r87118
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes