Changeset 87218 in webkit


Ignore:
Timestamp:
May 24, 2011 3:22:26 PM (13 years ago)
Author:
rniwa@webkit.org
Message:

2011-05-24 Ryosuke Niwa <rniwa@webkit.org>

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:
Location:
trunk/LayoutTests
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87215 r87218  
     12011-05-24  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Reviewed by Tony Chang.
     4
     5        [chromium] selectstart-by-drag.html and selectstart-by-double-triple-clicks.html
     6        fail on Windows and Linux
     7        https://bugs.webkit.org/show_bug.cgi?id=61377
     8
     9        selectstart-by-drag.html pass on Chromium Windows and Chromium Linux so don't use
     10        the failing test expectation on Windows port.
     11
     12        In selectstart-by-double-triple-clicks.html, /^\s|\s$/ isn't recognized by V8 so
     13        replace it by /^[ \t]|[ \t]$/.
     14
     15        * platform/chromium/fast/events/selectstart-by-drag-expected.txt: Copied from
     16        LayoutTests/fast/events/selectstart-by-drag-expected.txt.
     17        * fast/events/selectstart-by-double-triple-clicks.html:
     18        * platform/chromium/test_expectations.txt:
     19
    1202011-05-24  James Simonsen  <simonjam@chromium.org>
    221
  • trunk/LayoutTests/fast/events/selectstart-by-double-triple-clicks.html

    r87104 r87218  
    1414    document.write(title + ': ');
    1515    var actualSelectionType = window.getSelection().isCollapsed ? 'caret' : 'range';
    16     var actualString = window.getSelection().toString().replace(/^\s*|\s*$/, '');
     16    var actualString = window.getSelection().toString().replace(/^[ \t]*|[ \t]*$/, '');
    1717
    1818    if (selectStartCount != expectedCount)
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r87215 r87218  
    41224122BUGWK61326 : fast/storage/storage-detached-iframe.html = CRASH
    41234123
    4124 BUGCR83682 WIN LINUX : fast/events/selectstart-by-double-triple-clicks.html = TEXT
    4125 BUGCR83682 WIN LINUX : fast/events/selectstart-by-drag.html = TEXT
    4126 
    41274124BUGCR83683 : fast/dom/HTMLLinkElement/prerender.html = TEXT
    41284125
Note: See TracChangeset for help on using the changeset viewer.