Skip to content
  • joepeck@webkit.org's avatar
    [Mac] Enable Page Visibility (PAGE_VISIBILITY_API) · f8be7cc2
    joepeck@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=107230
    
    Reviewed by David Kilzer.
    
    Source/JavaScriptCore:
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebCore:
    
    No new tests. Covered by existing tests which are now unskipped.
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebKit/mac:
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebKit2:
    
    * Configurations/FeatureDefines.xcconfig:
    
    Tools:
    
    * DumpRenderTree/mac/TestRunnerMac.mm:
    (TestRunner::resetPageVisibility):
    Fix a typo in the original implementation. resetPageVisibility should
    pass initialState YES so an event is not dispatched, which causes
    issues in multiple tests. This now matches other ports.
    
    LayoutTests:
    
    * fast/events/page-visibility-iframe-delete-test-expected.txt:
    * fast/events/page-visibility-iframe-delete-test.html:
    Fix a typo.
    
    * platform/mac/TestExpectations:
    Unskip the tests on OS X.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f8be7cc2