⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 144070 in webkit


Ignore:
Timestamp:
Feb 26, 2013, 10:29:27 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

[WK2][GTK] REGRESSION (r143463): unit test failure in WebKit2APITests/TestContextMenu
https://bugs.webkit.org/show_bug.cgi?id=110869

Patch by Manuel Rego Casasnovas <Manuel Rego Casasnovas> on 2013-02-26
Reviewed by Martin Robinson.

Test was failing because of new media controls needs more space to be
painted than just 10x10 pixels.

  • UIProcess/API/gtk/tests/TestContextMenu.cpp:

(testContextMenuDefaultMenu): Modified test in order to give more space
to the media controls.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r144067 r144070  
     12013-02-26  Manuel Rego Casasnovas  <rego@igalia.com>
     2
     3        [WK2][GTK] REGRESSION (r143463): unit test failure in WebKit2APITests/TestContextMenu
     4        https://bugs.webkit.org/show_bug.cgi?id=110869
     5
     6        Reviewed by Martin Robinson.
     7
     8        Test was failing because of new media controls needs more space to be
     9        painted than just 10x10 pixels.
     10
     11        * UIProcess/API/gtk/tests/TestContextMenu.cpp:
     12        (testContextMenuDefaultMenu): Modified test in order to give more space
     13        to the media controls.
     14
    1152013-02-26  Dean Jackson  <dino@apple.com>
    216
  • trunk/Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp

    r125528 r144070  
    355355        " <img style='position:absolute; left:1; top:10' src='0xdeadbeef' width=5 height=5></img>"
    356356        " <a style='position:absolute; left:1; top:20' href='http://www.webkitgtk.org/logo' title='WebKitGTK+ Logo'><img src='0xdeadbeef' width=5 height=5></img></a>"
    357         " <video style='position:absolute; left:1; top:30' width=10 height=10 controls='controls'><source src='movie.ogg' type='video/ogg' /></video>"
    358         " <input style='position:absolute; left:1; top:50' size='10'></input>"
     357        " <input style='position:absolute; left:1; top:30' size='10'></input>"
     358        " <video style='position:absolute; left:1; top:50' width='300' height='300' controls='controls'><source src='movie.ogg' type='video/ogg' /></video>"
    359359        "</body></html>";
    360360    test->loadHtml(linksHTML, "file:///");
     
    383383    // Context menu for image video.
    384384    test->m_expectedMenuType = ContextMenuDefaultTest::Video;
    385     test->showContextMenuAtPositionAndWaitUntilFinished(1, 30);
     385    test->showContextMenuAtPositionAndWaitUntilFinished(1, 50);
    386386
    387387    // Context menu for editable.
    388388    test->m_expectedMenuType = ContextMenuDefaultTest::Editable;
    389     test->showContextMenuAtPositionAndWaitUntilFinished(5, 55);
     389    test->showContextMenuAtPositionAndWaitUntilFinished(5, 35);
    390390}
    391391
Note: See TracChangeset for help on using the changeset viewer.