Changeset 136848 in webkit


Ignore:
Timestamp:
Dec 6, 2012 9:43:33 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] [WK2] fast/dom/vertical-scrollbar-in-rtl.html makes fast/regions tests flaky
https://bugs.webkit.org/show_bug.cgi?id=104139

Patch by Yael Aharon <yael.aharon@intel.com> on 2012-12-06
Reviewed by Kenneth Rohde Christiansen.

Resize the window back to 800x600 between tests.
This should be a no-op if the test did not resize the window.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::resetStateToConsistentValues):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r136846 r136848  
     12012-12-06  Yael Aharon  <yael.aharon@intel.com>
     2
     3        [EFL] [WK2] fast/dom/vertical-scrollbar-in-rtl.html makes fast/regions tests flaky
     4        https://bugs.webkit.org/show_bug.cgi?id=104139
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Resize the window back to 800x600 between tests.
     9        This should be a no-op if the test did not resize the window.
     10
     11        * WebKitTestRunner/TestController.cpp:
     12        (WTR::TestController::resetStateToConsistentValues):
     13
    1142012-12-06  Tommy Widenflycht  <tommyw@google.com>
    215
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r136830 r136848  
    565565    WKPageSetCustomBackingScaleFactor(m_mainWebView->page(), 0);
    566566
     567#if PLATFORM(EFL)
     568    // EFL use a real window while other ports such as Qt don't.
     569    // In EFL, we need to resize the window to the original size after calls to window.resizeTo.
     570    WKRect rect = m_mainWebView->windowFrame();
     571    m_mainWebView->setWindowFrame(WKRectMake(rect.origin.x, rect.origin.y, 800, 600));
     572#endif
     573
    567574    // Reset notification permissions
    568575    m_webNotificationProvider.reset();
Note: See TracChangeset for help on using the changeset viewer.