Changeset 184807 in webkit


Ignore:
Timestamp:
May 22, 2015, 5:26:54 PM (10 years ago)
Author:
ap@apple.com
Message:

REGRESSION (OS X 10.9.2): PageVisibilityStateWithWindowChanges.WebKit2 API test fails
https://bugs.webkit.org/show_bug.cgi?id=130463
rdar://problem/20461342

Reviewed by Tim Horton.

This was more of a timing related flakiness than an actual OS version specific bug,
we weren't getting window visibility notifications.

I will look into adding this function call to DumpRenderTree separately, layout tests
might actually rely on the broken behavior.

  • TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:

(TestWebKitAPI::TEST_F):

  • TestWebKitAPI/mac/mainMac.mm:

(main):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r184805 r184807  
     12015-05-22  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION (OS X 10.9.2): PageVisibilityStateWithWindowChanges.WebKit2 API test fails
     4        https://bugs.webkit.org/show_bug.cgi?id=130463
     5        rdar://problem/20461342
     6
     7        Reviewed by Tim Horton.
     8
     9        This was more of a timing related flakiness than an actual OS version specific bug,
     10        we weren't getting window visibility notifications.
     11       
     12        I will look into adding this function call to DumpRenderTree separately, layout tests
     13        might actually rely on the broken behavior.
     14
     15        * TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm:
     16        (TestWebKitAPI::TEST_F):
     17        * TestWebKitAPI/mac/mainMac.mm:
     18        (main):
     19
    1202015-05-22  Dana Burkart  <dburkart@apple.com>
    221
  • trunk/Tools/TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm

    r182515 r184807  
    3131#import <WebKit/WKViewPrivate.h>
    3232#import <wtf/RetainPtr.h>
    33 
    34 // https://bugs.webkit.org/show_bug.cgi?id=130463
    35 // rdar://problem/20461342
    36 #if __MAC_OS_X_VERSION_MIN_REQUIRED == 101000
    3733
    3834static bool isWaitingForPageSignalToContinue = false;
     
    181177
    182178} // namespace TestWebKitAPI
    183 
    184 #endif
  • trunk/Tools/TestWebKitAPI/mac/mainMac.mm

    r179409 r184807  
    2727#import "TestsController.h"
    2828
     29extern "C" void _BeginEventReceiptOnThread(void);
     30
    2931int main(int argc, char** argv)
    3032{
     
    3234
    3335    [[NSUserDefaults standardUserDefaults] removePersistentDomainForName:@"TestWebKitAPI"];
     36
    3437    [NSApplication sharedApplication];
     38    _BeginEventReceiptOnThread(); // Makes window visibility notifications work (and possibly more).
    3539
    3640    bool passed = TestWebKitAPI::TestsController::singleton().run(argc, argv);
Note: See TracChangeset for help on using the changeset viewer.