WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
134116
HTMLMediaElement seek algorithm should allow cancelling previous seeks.
https://bugs.webkit.org/show_bug.cgi?id=134116
Summary
HTMLMediaElement seek algorithm should allow cancelling previous seeks.
Jer Noble
Reported
2014-06-20 13:25:24 PDT
HTMLMediaElement seek algorithm should allow cancelling previous seeks.
Attachments
Patch
(12.89 KB, patch)
2014-06-20 14:20 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Patch
(12.96 KB, patch)
2014-06-20 14:26 PDT
,
Jer Noble
eric.carlson
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion
(542.74 KB, application/zip)
2014-06-20 16:04 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion
(651.77 KB, application/zip)
2014-06-20 16:16 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2
(895.38 KB, application/zip)
2014-06-21 00:51 PDT
,
Build Bot
no flags
Details
Patch for landing.
(17.57 KB, patch)
2014-06-23 12:54 PDT
,
Jer Noble
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2
(531.51 KB, application/zip)
2014-06-23 15:07 PDT
,
Build Bot
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2014-06-20 14:20:17 PDT
Created
attachment 233454
[details]
Patch
WebKit Commit Bot
Comment 2
2014-06-20 14:21:17 PDT
Attachment 233454
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:429: Missing space before { [whitespace/braces] [5] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jer Noble
Comment 3
2014-06-20 14:26:39 PDT
Created
attachment 233455
[details]
Patch
WebKit Commit Bot
Comment 4
2014-06-20 14:28:14 PDT
Attachment 233455
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:432: Missing space before { [whitespace/braces] [5] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Eric Carlson
Comment 5
2014-06-20 14:29:21 PDT
Comment on
attachment 233455
[details]
Patch
> Source/WebCore/html/HTMLMediaElement.h:736 > + std::unique_ptr<PendingSeek> m_pendingSeek;
Since there can only be one of these, why not have "PendingSeek m_pendingSeek" so it doesn't need to be allocated each time?
Jer Noble
Comment 6
2014-06-20 14:52:10 PDT
Comment on
attachment 233455
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=233455&action=review
>> Source/WebCore/html/HTMLMediaElement.h:736 >> + std::unique_ptr<PendingSeek> m_pendingSeek; > > Since there can only be one of these, why not have "PendingSeek m_pendingSeek" so it doesn't need to be allocated each time?
Because there needs to be a way to distinguish between "I have a pending seek" and "I have no pending seeks". Otherwise, the ASSERT() in seekTimerFired wouldn't catch when an unexpected seek happened.
Build Bot
Comment 7
2014-06-20 16:04:42 PDT
Comment on
attachment 233455
[details]
Patch
Attachment 233455
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/6109625321521152
New failing tests: media/video-seek-with-negative-playback.html media/video-currentTime-set2.html media/media-controller-playbackrate.html media/video-played-ranges-1.html media/video-fast-seek.html media/video-ended-event-negative-playback.html
Build Bot
Comment 8
2014-06-20 16:04:46 PDT
Created
attachment 233474
[details]
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 9
2014-06-20 16:16:29 PDT
Comment on
attachment 233455
[details]
Patch
Attachment 233455
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/5091649352892416
New failing tests: media/video-seek-with-negative-playback.html media/video-currentTime-set2.html media/media-controller-playbackrate.html media/video-played-ranges-1.html media/video-fast-seek.html media/video-ended-event-negative-playback.html
Build Bot
Comment 10
2014-06-20 16:16:34 PDT
Created
attachment 233479
[details]
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-08 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 11
2014-06-21 00:51:28 PDT
Comment on
attachment 233455
[details]
Patch
Attachment 233455
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/4552547230547968
New failing tests: media/video-seek-with-negative-playback.html media/video-currentTime-set2.html media/media-controller-playbackrate.html media/video-played-ranges-1.html media/video-fast-seek.html media/video-ended-event-negative-playback.html
Build Bot
Comment 12
2014-06-21 00:51:32 PDT
Created
attachment 233516
[details]
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Jer Noble
Comment 13
2014-06-23 12:54:13 PDT
Created
attachment 233629
[details]
Patch for landing.
Build Bot
Comment 14
2014-06-23 15:07:28 PDT
Comment on
attachment 233629
[details]
Patch for landing.
Attachment 233629
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/6743095953588224
New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html
Build Bot
Comment 15
2014-06-23 15:07:35 PDT
Created
attachment 233638
[details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Jer Noble
Comment 16
2014-06-23 17:09:17 PDT
Committed
r170336
: <
http://trac.webkit.org/changeset/170336
>
Csaba Osztrogonác
Comment 17
2014-06-24 04:22:43 PDT
(In reply to
comment #16
)
> Committed
r170336
: <
http://trac.webkit.org/changeset/170336
>
It made fullscreen/video-cursor-auto-hide.html crash on the Apple Mac bots.
Simon Fraser (smfr)
Comment 18
2014-06-24 09:03:36 PDT
This caused a new assertion:
http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK1%20(Tests)/r170338%20(6081)/fullscreen/video-cursor-auto-hide-crash-log.txt
Simon Fraser (smfr)
Comment 19
2014-06-24 09:04:16 PDT
... which is a crash in release:
http://build.webkit.org/results/Apple%20Mavericks%20Release%20WK1%20(Tests)/r170361%20(6882)/fullscreen/video-cursor-auto-hide-crash-log.txt
Jer Noble
Comment 20
2014-06-24 10:05:05 PDT
Tracking the crash in <
https://bugs.webkit.org/show_bug.cgi?id=134253
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug