Changeset 90306 in webkit


Ignore:
Timestamp:
Jul 1, 2011, 5:55:59 PM (14 years ago)
Author:
tkent@chromium.org
Message:

2011-07-01 Kent Tamura <tkent@chromium.org>

Reviewed by Tony Chang.

Use common functions in fast/forms/search-rtl.html
https://bugs.webkit.org/show_bug.cgi?id=63787

  • fast/forms/search-rtl.html: Use searchCancelButtonPosition() to make this work on Chromium Windows and Chromium Linux.
  • platform/chromium/test_expectations.txt:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r90301 r90306  
     12011-07-01  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by Tony Chang.
     4
     5        Use common functions in fast/forms/search-rtl.html
     6        https://bugs.webkit.org/show_bug.cgi?id=63787
     7
     8        * fast/forms/search-rtl.html: Use searchCancelButtonPosition() to make
     9          this work on Chromium Windows and Chromium Linux.
     10        * platform/chromium/test_expectations.txt:
     11
    1122011-07-01  Sam Weinig  <sam@webkit.org>
    213
  • trunk/LayoutTests/fast/forms/search-rtl.html

    r19412 r90306  
    22<head>
    33    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     4    <script src="resources/common.js"></script>
    45    <title></title>
    56</head>
     
    2122    <script>
    2223        if (window.eventSender) {
    23             var target = document.getElementById("target");
    24             var x = target.offsetLeft + target.offsetWidth - 6;
    25             var y = target.offsetTop + target.offsetHeight / 2;
    26             eventSender.mouseMoveTo(x, y);
     24            var target = $("target");
     25            var pos = searchCancelButtonPosition(target);
     26            eventSender.mouseMoveTo(pos.x, pos.y);
    2727            eventSender.mouseDown();
    2828            eventSender.mouseUp();
    29             var result = document.getElementById("result");
     29            var result = $("result");
    3030            if (target.value == "")
    3131                result.innerText = "PASS";
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r90297 r90306  
    37463746BUGWK60931 DEBUG :  http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-window-open.html = CRASH
    37473747
    3748 BUGWK61415 WIN LINUX : fast/forms/search-rtl.html = IMAGE+TEXT IMAGE
     3748BUGWK63787 WIN LINUX : fast/forms/search-rtl.html = IMAGE+TEXT IMAGE
    37493749
    37503750// Flaky since added by r86478
Note: See TracChangeset for help on using the changeset viewer.