Changeset 224117 in webkit


Ignore:
Timestamp:
Oct 27, 2017 10:16:46 AM (6 years ago)
Author:
eric.carlson@apple.com
Message:

NowPlayingInfo should contain a unique identifier
https://bugs.webkit.org/show_bug.cgi?id=178872
<rdar://problem/34924012>

Unreviewed, fix a flakey test.

  • TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm:

(-[NowPlayingTestWebView hasActiveNowPlayingSession]): Update _lastUpdatedElapsedTime.
(-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:title:duration:elapsedTime:]): Deleted.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r224114 r224117  
     12017-10-27  Eric Carlson  <eric.carlson@apple.com>
     2
     3        NowPlayingInfo should contain a unique identifier
     4        https://bugs.webkit.org/show_bug.cgi?id=178872
     5        <rdar://problem/34924012>
     6
     7        Unreviewed, fix a flakey test.
     8
     9        * TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm:
     10        (-[NowPlayingTestWebView hasActiveNowPlayingSession]): Update _lastUpdatedElapsedTime.
     11        (-[NowPlayingTestWebView _handleActiveNowPlayingSessionInfoResponse:title:duration:elapsedTime:]): Deleted.
     12
    1132017-10-27  Fujii Hironori  <Hironori.Fujii@sony.com>
    214
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm

    r224057 r224117  
    5454        _lastUpdatedTitle = [title copy];
    5555        _lastUpdatedDuration = duration;
     56        _lastUpdatedElapsedTime = elapsedTime;
    5657        _lastUniqueIdentifier = uniqueIdentifier;
    5758
     
    7576}
    7677
    77 - (void)_handleActiveNowPlayingSessionInfoResponse:(BOOL)hasActiveSession title:(NSString *)title duration:(double)duration elapsedTime:(double)elapsedTime
    78 {
    79     _hasActiveNowPlayingSession = hasActiveSession;
    80     _lastUpdatedTitle = [title copy];
    81     _lastUpdatedDuration = duration;
    82     _lastUpdatedElapsedTime = elapsedTime;
    83 
    84     _receivedNowPlayingInfoResponse = true;
    85 }
    86 
    8778- (void)setWindowVisible:(BOOL)isVisible
    8879{
Note: See TracChangeset for help on using the changeset viewer.