Changeset 235614 in webkit


Ignore:
Timestamp:
Sep 4, 2018 10:01:55 AM (6 years ago)
Author:
jer.noble@apple.com
Message:

REGRESSION (r234081): TestWebKitAPI.VideoControlsManager.VideoControlsManagerAudioElementFollowingUserInteraction is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=187972
<rdar://problem/42667737>

Reviewed by Darin Adler.

Ensure that listeners are added in time to catch messages broadcast at them.

  • TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm:

(TestWebKitAPI::TEST):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r235613 r235614  
     12018-09-04  Jer Noble  <jer.noble@apple.com>
     2
     3        REGRESSION (r234081): TestWebKitAPI.VideoControlsManager.VideoControlsManagerAudioElementFollowingUserInteraction is a flaky timeout
     4        https://bugs.webkit.org/show_bug.cgi?id=187972
     5        <rdar://problem/42667737>
     6
     7        Reviewed by Darin Adler.
     8
     9        Ensure that listeners are added in time to catch messages broadcast at them.
     10
     11        * TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm:
     12        (TestWebKitAPI::TEST):
     13
    1142018-09-04  Ross Kirsling  <ross.kirsling@sony.com>
    215
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm

    r221589 r235614  
    334334    [webView loadTestPageNamed:@"play-audio-on-click"];
    335335    [webView waitForPageToLoadWithAutoplayingVideos:0];
    336     [webView mouseDownAtPoint:NSMakePoint(200, 200) simulatePressure:YES];
    337336
    338337    [webView performAfterReceivingMessage:@"playing-first" action:^ {
     
    344343        secondAudioPlaying = true;
    345344    }];
     345
     346    [webView mouseDownAtPoint:NSMakePoint(200, 200) simulatePressure:YES];
     347
    346348    TestWebKitAPI::Util::run(&secondAudioPlaying);
    347349    while ([[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantPast]]) {
Note: See TracChangeset for help on using the changeset viewer.