Changeset 117435 in webkit


Ignore:
Timestamp:
May 17, 2012 5:30:11 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt][WK2] fast/events/page-visibility-* tests fail
https://bugs.webkit.org/show_bug.cgi?id=83263

Patch by Hugo Parente Lima <Hugo Parente Lima> on 2012-05-17
Reviewed by Kenneth Rohde Christiansen.

Tools:

Handle "preview" state and avoid string conversion.

  • WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:

(WTR::LayoutTestController::setPageVisibility):

LayoutTests:

Unskip two page-visibility tests: iframe-propagation-test.html
and transition-test.html.

  • platform/qt-5.0-wk2/Skipped:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r117434 r117435  
     12012-05-17  Hugo Parente Lima  <hugo.lima@openbossa.org>
     2
     3        [Qt][WK2] fast/events/page-visibility-* tests fail
     4        https://bugs.webkit.org/show_bug.cgi?id=83263
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Unskip two page-visibility tests: iframe-propagation-test.html
     9        and transition-test.html.
     10
     11        * platform/qt-5.0-wk2/Skipped:
     12
    1132012-05-17  Csaba Osztrogonác  <ossy@webkit.org>
    214
  • trunk/LayoutTests/platform/qt-5.0-wk2/Skipped

    r117294 r117435  
    7777# https://bugs.webkit.org/show_bug.cgi?id=83263
    7878fast/events/page-visibility-iframe-move-test.html
    79 fast/events/page-visibility-iframe-propagation-test.html
    80 fast/events/page-visibility-transition-test.html
    8179
    8280svg/custom/mouse-move-on-svg-container.xhtml
  • trunk/Tools/ChangeLog

    r117428 r117435  
     12012-05-17  Hugo Parente Lima  <hugo.lima@openbossa.org>
     2
     3        [Qt][WK2] fast/events/page-visibility-* tests fail
     4        https://bugs.webkit.org/show_bug.cgi?id=83263
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Handle "preview" state and avoid string conversion.
     9
     10        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
     11        (WTR::LayoutTestController::setPageVisibility):
     12
    1132012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    214
  • trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp

    r117276 r117435  
    546546void LayoutTestController::setPageVisibility(JSStringRef state)
    547547{
    548     WKStringRef visibilityStateKey = toWK(state).get();
    549548    WebCore::PageVisibilityState visibilityState = WebCore::PageVisibilityStateVisible;
    550549
    551     if (WKStringIsEqualToUTF8CString(visibilityStateKey, "hidden"))
     550    if (JSStringIsEqualToUTF8CString(state, "hidden"))
    552551        visibilityState = WebCore::PageVisibilityStateHidden;
    553     else if (WKStringIsEqualToUTF8CString(visibilityStateKey, "prerender"))
     552    else if (JSStringIsEqualToUTF8CString(state, "prerender"))
    554553        visibilityState = WebCore::PageVisibilityStatePrerender;
     554    else if (JSStringIsEqualToUTF8CString(state, "preview"))
     555        visibilityState = WebCore::PageVisibilityStatePreview;
    555556
    556557    WKBundleSetPageVisibilityState(InjectedBundle::shared().bundle(), InjectedBundle::shared().pageGroup(), visibilityState, /* isInitialState */ false);
Note: See TracChangeset for help on using the changeset viewer.