• barraclough@apple.com's avatar
    Remove PageVisibilityStateUnloaded · d6b494ca
    barraclough@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=125869
    
    Reviewed by Anders Carlsson.
    
    This is not currently supported by WebKit, remove this enum value.
    We can always add this back later if/when we add support for this state.
    
    Source/WebCore: 
    
    * page/PageVisibilityState.cpp:
    (WebCore::pageVisibilityStateString):
    * page/PageVisibilityState.h:
        - removed PageVisibilityStateUnloaded
    
    Source/WebKit/mac: 
    
    * WebView/WebView.mm:
    (core):
    (kit):
    * WebView/WebViewPrivate.h:
        - removed PageVisibilityStateUnloaded/WebPageVisibilityStateUnloaded
    
    Source/WebKit2: 
    
    * Shared/API/c/WKPageVisibilityTypes.h:
    * Shared/API/c/WKSharedAPICast.h:
    (WebKit::toPageVisibilityState):
        - removed PageVisibilityStateUnloaded/kWKPageVisibilityStateUnloaded
    
    Tools: 
    
    * DumpRenderTree/mac/TestRunnerMac.mm:
    (TestRunner::setPageVisibility):
    * TestWebKitAPI/Tests/WebKit2/PageVisibilityState.cpp:
    (TestWebKitAPI::didRunStep3StateChangePrerenderToUnloaded):
    * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
    (WTR::TestRunner::setPageVisibility):
        - remove test for visibility state "unloaded"; this is no longer supported (it never really was).
    
    LayoutTests: 
    
    * fast/events/page-visibility-transition-test-expected.txt:
    * fast/events/page-visibility-transition-test.html:
        - remove test for visibility state "unloaded"; this is no longer supported (it never really was).
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d6b494ca