Changeset 117592 in webkit
- Timestamp:
- May 18, 2012 7:38:14 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r117591 r117592 1 2012-05-18 Hugo Parente Lima <hugo.lima@openbossa.org> 2 3 [Qt][WK2] fast/events/page-visibility-iframe-move-test.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=86731 5 6 Reviewed by Simon Hausmann. 7 8 Unskip fast/events/page-visibility-iframe-move-test.html. 9 10 * platform/qt-5.0-wk2/Skipped: 11 1 12 2012-05-18 Raphael Kubo da Costa <rakuco@webkit.org> 2 13 -
trunk/LayoutTests/platform/qt-5.0-wk2/Skipped
r117580 r117592 74 74 fast/loader/policy-delegate-action-hit-test-zoomed.html 75 75 76 # Still failing after implementing layoutTestController.setPageVisibility()77 # https://bugs.webkit.org/show_bug.cgi?id=8326378 fast/events/page-visibility-iframe-move-test.html79 80 76 svg/custom/use-events-crash.svg 81 77 -
trunk/Source/WebKit2/ChangeLog
r117578 r117592 1 2012-05-18 Hugo Parente Lima <hugo.lima@openbossa.org> 2 3 [Qt][WK2] fast/events/page-visibility-iframe-move-test.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=86731 5 6 Reviewed by Simon Hausmann. 7 8 Set the page visibility on a single page instead of on all pages 9 from the page group. 10 11 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 12 (WKBundleSetPageVisibilityState): 13 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 14 * WebProcess/InjectedBundle/InjectedBundle.cpp: 15 (WebKit::InjectedBundle::setPageVisibilityState): 16 * WebProcess/InjectedBundle/InjectedBundle.h: 17 (InjectedBundle): 18 1 19 2012-05-18 MORITA Hajime <morrita@google.com> 2 20 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r113235 r117592 242 242 } 243 243 244 void WKBundleSetPageVisibilityState(WKBundleRef bundleRef, WKBundlePage GroupRef pageGroupRef, int state, bool isInitialState)245 { 246 toImpl(bundleRef)->setPageVisibilityState(toImpl(page GroupRef), state, isInitialState);247 } 244 void WKBundleSetPageVisibilityState(WKBundleRef bundleRef, WKBundlePageRef pageRef, int state, bool isInitialState) 245 { 246 toImpl(bundleRef)->setPageVisibilityState(toImpl(pageRef), state, isInitialState); 247 } -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r113235 r117592 91 91 WK_EXPORT void WKBundleSwitchNetworkLoaderToNewTestingSession(WKBundleRef bundle); 92 92 93 WK_EXPORT void WKBundleSetPageVisibilityState(WKBundleRef bundle, WKBundlePage GroupRef pageGroup, int state, bool isInitialState);93 WK_EXPORT void WKBundleSetPageVisibilityState(WKBundleRef bundle, WKBundlePageRef page, int state, bool isInitialState); 94 94 95 95 #ifdef __cplusplus -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r117248 r117592 459 459 } 460 460 461 void InjectedBundle::setPageVisibilityState(WebPage GroupProxy* pageGroup, int state, bool isInitialState)461 void InjectedBundle::setPageVisibilityState(WebPage* page, int state, bool isInitialState) 462 462 { 463 463 #if ENABLE(PAGE_VISIBILITY_API) 464 const HashSet<Page*>& pages = PageGroup::pageGroup(pageGroup->identifier())->pages(); 465 for (HashSet<Page*>::iterator iter = pages.begin(); iter != pages.end(); ++iter) 466 (*iter)->setVisibilityState(static_cast<PageVisibilityState>(state), isInitialState); 464 page->corePage()->setVisibilityState(static_cast<PageVisibilityState>(state), isInitialState); 467 465 #endif 468 466 } -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r113235 r117592 157 157 static bool isProcessingUserGesture(); 158 158 159 void setPageVisibilityState(WebPage GroupProxy*, int state, bool isInitialState);159 void setPageVisibilityState(WebPage*, int state, bool isInitialState); 160 160 161 161 private: -
trunk/Tools/ChangeLog
r117590 r117592 1 2012-05-18 Hugo Parente Lima <hugo.lima@openbossa.org> 2 3 [Qt][WK2] fast/events/page-visibility-iframe-move-test.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=86731 5 6 Reviewed by Simon Hausmann. 7 8 Set the page visibility on a single page instead of on all pages 9 from the page group. 10 11 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: 12 (WTR::LayoutTestController::setPageVisibility): 13 (WTR::LayoutTestController::resetPageVisibility): 14 1 15 2012-05-18 Yi Shen <yi.4.shen@nokia.com> 2 16 -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp
r117435 r117592 555 555 visibilityState = WebCore::PageVisibilityStatePreview; 556 556 557 WKBundleSetPageVisibilityState(InjectedBundle::shared().bundle(), InjectedBundle::shared().page Group(), visibilityState, /* isInitialState */ false);557 WKBundleSetPageVisibilityState(InjectedBundle::shared().bundle(), InjectedBundle::shared().page()->page(), visibilityState, /* isInitialState */ false); 558 558 } 559 559 560 560 void LayoutTestController::resetPageVisibility() 561 561 { 562 WKBundleSetPageVisibilityState(InjectedBundle::shared().bundle(), InjectedBundle::shared().page Group(), WebCore::PageVisibilityStateVisible, /* isInitialState */ true);562 WKBundleSetPageVisibilityState(InjectedBundle::shared().bundle(), InjectedBundle::shared().page()->page(), WebCore::PageVisibilityStateVisible, /* isInitialState */ true); 563 563 } 564 564
Note: See TracChangeset
for help on using the changeset viewer.