-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=116986 Reviewed by Eric Carlson. Source/WebCore: Keep a count of the number of in-flight seek requests, and only issue a timeupdate (which triggers a "seeked" event) when the final seek completes. Test: media/video-seek-multiple.html * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::seek): (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted): * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h: (MediaPlayerPrivateAVFoundation): LayoutTests: * media/video-seek-multiple-expected.txt: Added. * media/video-seek-multiple.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f124c603