Changeset 136825 in webkit


Ignore:
Timestamp:
Dec 6, 2012 2:08:29 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

    r136812 r136825  
     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  Sheriff Bot  <webkit.review.bot@gmail.com>
    215
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r135496 r136825  
    565565    WKPageSetCustomBackingScaleFactor(m_mainWebView->page(), 0);
    566566
     567    // Resize the window to original size. This is needed after calls to window.resizeTo.
     568    WKRect rect = m_mainWebView->windowFrame();
     569    m_mainWebView->setWindowFrame(WKRectMake(rect.origin.x, rect.origin.y, 800, 600));
     570
    567571    // Reset notification permissions
    568572    m_webNotificationProvider.reset();
Note: See TracChangeset for help on using the changeset viewer.