Changeset 128423 in webkit


Ignore:
Timestamp:
Sep 13, 2012 1:37:26 AM (12 years ago)
Author:
yosin@chromium.org
Message:

[Tests] We should have test for clicking spin button in iframe.
https://bugs.webkit.org/show_bug.cgi?id=96612

Reviewed by Kent Tamura.

This patch adds two tests for clicking spin button in iframe for
input type "number" and input type "time" with multiple fields UI.

These tests are added for catching regression caused by r127876.

  • fast/forms/number/number-spinbutton-click-in-iframe-expected.txt: Added.
  • fast/forms/number/number-spinbutton-click-in-iframe.html: Added.
  • fast/forms/resources/common-spinbutton-click-in-iframe.js: Added.

(getSpinButton): Extracts spin button in shadow DOM tree.
(mouseClick): Simulates mouse click.
(mouseMoveTo): Simulates mouse pointer move.
(runIFrameLoaded): Checking spin button clicked.
(testClickSpinButtonInIFrame): Creates and populates iframe.

  • fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-click-in-iframe-expected.txt: Added.
  • fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-click-in-iframe.html: Added.
Location:
trunk/LayoutTests
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r128420 r128423  
     12012-09-13  Yoshifumi Inoue  <yosin@chromium.org>
     2
     3        [Tests] We should have test for clicking spin button in iframe.
     4        https://bugs.webkit.org/show_bug.cgi?id=96612
     5
     6        Reviewed by Kent Tamura.
     7
     8        This patch adds two tests for clicking spin button in iframe for
     9        input type "number" and input type "time" with multiple fields UI.
     10
     11        These tests are added for catching regression caused by r127876.
     12
     13        * fast/forms/number/number-spinbutton-click-in-iframe-expected.txt: Added.
     14        * fast/forms/number/number-spinbutton-click-in-iframe.html: Added.
     15        * fast/forms/resources/common-spinbutton-click-in-iframe.js: Added.
     16        (getSpinButton): Extracts spin button in shadow DOM tree.
     17        (mouseClick): Simulates mouse click.
     18        (mouseMoveTo): Simulates mouse pointer move.
     19        (runIFrameLoaded): Checking spin button clicked.
     20        (testClickSpinButtonInIFrame): Creates and populates iframe.
     21        * fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-click-in-iframe-expected.txt: Added.
     22        * fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-click-in-iframe.html: Added.
     23
    1242012-09-13  Zan Dobersek  <zandobersek@gmail.com>
    225
Note: See TracChangeset for help on using the changeset viewer.