haikuwebkit/LayoutTests/media/video-seek-past-end-paused-...

20 lines
496 B
Plaintext
Raw Permalink Normal View History

Unreviewed gardening Adjust test expectations after r158743. * fullscreen/video-controls-override-expected.txt: * http/tests/media/video-cookie-expected.txt: * media/W3C/video/canPlayType/canPlayType_codecs_order_2-expected.txt: * media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_2-expected.txt: * media/W3C/video/canPlayType/canPlayType_two_implies_one_3-expected.txt: * media/W3C/video/canPlayType/canPlayType_two_implies_one_4-expected.txt: * media/context-menu-actions-expected.txt: * media/media-can-play-flac-audio-expected.txt: * media/media-volume-slider-rendered-below-expected.txt: * media/media-volume-slider-rendered-normal-expected.txt: * media/track/audio/audio-track-mkv-vorbis-addtrack-expected.txt: * media/track/audio/audio-track-mkv-vorbis-enabled-expected.txt: * media/track/track-cue-mutable-text-expected.txt: * media/track/track-cue-rendering-mode-changed-expected.txt: * media/track/track-language-preference-expected.txt: * media/track/video/video-track-mkv-theora-addtrack-expected.txt: * media/video-controls-fullscreen-volume-expected.txt: * media/video-controls-toggling-expected.txt: * media/video-controls-visible-exiting-fullscreen-expected.txt: * media/video-seek-past-end-paused-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_codecs_order_1-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_codecs_order_3-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_1-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_supported_but_no_codecs_parameter_3-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_1-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_2-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_5-expected.txt: * platform/efl/media/W3C/video/canPlayType/canPlayType_two_implies_one_6-expected.txt: * platform/efl/media/media-can-play-webm-expected.txt: Canonical link: https://commits.webkit.org/142149@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-11-07 10:36:25 +00:00
Test that seeking a paused video past its end sets currentTime to duration and leaves the video paused.
2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes Test: media/video-loop.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::loadInternal): (WebCore::HTMLMediaElement::setNetworkState): (WebCore::HTMLMediaElement::seek): (WebCore::HTMLMediaElement::playInternal): (WebCore::HTMLMediaElement::loop): (WebCore::HTMLMediaElement::setLoop): (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): (WebCore::HTMLMediaElement::endedPlayback): (WebCore::HTMLMediaElement::updatePlayState): * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: 2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes * media/loopend-limits-expected.txt: Removed. * media/loopend-limits.html: Removed. * media/loopstart-limits-expected.txt: Removed. * media/loopstart-limits.html: Removed. * media/video-dom-end-expected.txt: Removed. * media/video-dom-end.html: Removed. * media/video-dom-loopcount-expected.txt: Removed. * media/video-dom-loopcount.html: Removed. * media/video-dom-loopend-expected.txt: Removed. * media/video-dom-loopend.html: Removed. * media/video-dom-loopstart-expected.txt: Removed. * media/video-dom-loopstart.html: Removed. * media/video-dom-start-expected.txt: Removed. * media/video-dom-start.html: Removed. * media/video-end-expected.txt: Removed. * media/video-end.html: Removed. * media/video-loop.html: Added, test for new "loop" attribute. * media/video-loopcount-expected.txt: Removed. * media/video-loopcount.html: Removed. * media/video-loopend-expected.txt: Removed. * media/video-loopend.html: Removed. * media/video-loopstart-expected.txt: Removed. * media/video-loopstart.html: Removed. * media/video-seek-past-end-paused-expected.txt: Updated for loop changes, add more tests. * media/video-seek-past-end-paused.html: Ditto. * media/video-seek-past-end-playing-expected.txt: Ditto. * media/video-seek-past-end-playing.html: Ditto. * media/video-start-expected.txt: Removed. * media/video-start.html: Removed. Canonical link: https://commits.webkit.org/33531@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-03-05 22:56:52 +00:00
2009-10-26 Eric Carlson <eric.carlson@apple.com> Reviewed by Eric Seidel. Remove HTML5 media element 'load' event https://bugs.webkit.org/show_bug.cgi?id=30464 Part 1, change layout tests to not use the event. * media/audio-constructor-autobuffer-expected.txt: * media/audio-constructor-autobuffer.html: * media/audio-constructor-expected.txt: * media/audio-constructor-src-expected.txt: * media/audio-constructor-src.html: * media/audio-constructor.html: * media/audio-controls-rendering.html: * media/audio-data-url-expected.txt: * media/audio-data-url.html: * media/audio-mpeg-supported-expected.txt: * media/audio-mpeg-supported.html: * media/media-load-event-expected.txt: * media/media-load-event.html: * media/progress-event-expected.txt: * media/progress-event-total-expected.txt: * media/progress-event-total.html: * media/progress-event.html: * media/remove-from-document-expected.txt: * media/remove-from-document-no-load-expected.txt: * media/remove-from-document-no-load.html: * media/remove-from-document.html: * media/restore-from-page-cache-expected.txt: * media/restore-from-page-cache.html: * media/video-append-source-expected.txt: * media/video-append-source.html: * media/video-buffered-expected.txt: * media/video-buffered.html: * media/video-canvas-source-expected.txt: * media/video-canvas-source.html: * media/video-controls-expected.txt: * media/video-controls-transformed-expected.txt: * media/video-controls-transformed.html: * media/video-controls-zoomed-expected.txt: * media/video-controls-zoomed.html: * media/video-controls.html: * media/video-currentTime-expected.txt: * media/video-currentTime-set-expected.txt: * media/video-currentTime-set.html: * media/video-currentTime-set2-expected.txt: * media/video-currentTime-set2.html: * media/video-currentTime.html: * media/video-dom-src-expected.txt: * media/video-dom-src.html: * media/video-error-abort-expected.txt: * media/video-error-abort.html: * media/video-error-does-not-exist.html: * media/video-muted-expected.txt: * media/video-muted.html: * media/video-no-autoplay-expected.txt: * media/video-no-autoplay.html: * media/video-seek-past-end-paused-expected.txt: * media/video-seek-past-end-paused.html: * media/video-seek-past-end-playing-expected.txt: * media/video-seek-past-end-playing.html: * media/video-seekable-expected.txt: * media/video-seekable.html: * media/video-seeking-expected.txt: * media/video-seeking.html: * media/video-src-change-expected.txt: * media/video-src-change.html: * media/video-volume-expected.txt: * media/video-volume.html: Canonical link: https://commits.webkit.org/41510@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-10-26 15:27:57 +00:00
EVENT(canplaythrough)
2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes Test: media/video-loop.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::loadInternal): (WebCore::HTMLMediaElement::setNetworkState): (WebCore::HTMLMediaElement::seek): (WebCore::HTMLMediaElement::playInternal): (WebCore::HTMLMediaElement::loop): (WebCore::HTMLMediaElement::setLoop): (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): (WebCore::HTMLMediaElement::endedPlayback): (WebCore::HTMLMediaElement::updatePlayState): * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: 2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes * media/loopend-limits-expected.txt: Removed. * media/loopend-limits.html: Removed. * media/loopstart-limits-expected.txt: Removed. * media/loopstart-limits.html: Removed. * media/video-dom-end-expected.txt: Removed. * media/video-dom-end.html: Removed. * media/video-dom-loopcount-expected.txt: Removed. * media/video-dom-loopcount.html: Removed. * media/video-dom-loopend-expected.txt: Removed. * media/video-dom-loopend.html: Removed. * media/video-dom-loopstart-expected.txt: Removed. * media/video-dom-loopstart.html: Removed. * media/video-dom-start-expected.txt: Removed. * media/video-dom-start.html: Removed. * media/video-end-expected.txt: Removed. * media/video-end.html: Removed. * media/video-loop.html: Added, test for new "loop" attribute. * media/video-loopcount-expected.txt: Removed. * media/video-loopcount.html: Removed. * media/video-loopend-expected.txt: Removed. * media/video-loopend.html: Removed. * media/video-loopstart-expected.txt: Removed. * media/video-loopstart.html: Removed. * media/video-seek-past-end-paused-expected.txt: Updated for loop changes, add more tests. * media/video-seek-past-end-paused.html: Ditto. * media/video-seek-past-end-playing-expected.txt: Ditto. * media/video-seek-past-end-playing.html: Ditto. * media/video-start-expected.txt: Removed. * media/video-start.html: Removed. Canonical link: https://commits.webkit.org/33531@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-03-05 22:56:52 +00:00
EXPECTED (video.paused == 'true') OK
EXPECTED (video.ended == 'false') OK
RUN(video.play())
EXPECTED (video.paused == 'false') OK
2009-08-06 21:09:24 +00:00
EXPECTED (mediaElement.currentTime > '0') OK
2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes Test: media/video-loop.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::loadInternal): (WebCore::HTMLMediaElement::setNetworkState): (WebCore::HTMLMediaElement::seek): (WebCore::HTMLMediaElement::playInternal): (WebCore::HTMLMediaElement::loop): (WebCore::HTMLMediaElement::setLoop): (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): (WebCore::HTMLMediaElement::endedPlayback): (WebCore::HTMLMediaElement::updatePlayState): * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: 2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes * media/loopend-limits-expected.txt: Removed. * media/loopend-limits.html: Removed. * media/loopstart-limits-expected.txt: Removed. * media/loopstart-limits.html: Removed. * media/video-dom-end-expected.txt: Removed. * media/video-dom-end.html: Removed. * media/video-dom-loopcount-expected.txt: Removed. * media/video-dom-loopcount.html: Removed. * media/video-dom-loopend-expected.txt: Removed. * media/video-dom-loopend.html: Removed. * media/video-dom-loopstart-expected.txt: Removed. * media/video-dom-loopstart.html: Removed. * media/video-dom-start-expected.txt: Removed. * media/video-dom-start.html: Removed. * media/video-end-expected.txt: Removed. * media/video-end.html: Removed. * media/video-loop.html: Added, test for new "loop" attribute. * media/video-loopcount-expected.txt: Removed. * media/video-loopcount.html: Removed. * media/video-loopend-expected.txt: Removed. * media/video-loopend.html: Removed. * media/video-loopstart-expected.txt: Removed. * media/video-loopstart.html: Removed. * media/video-seek-past-end-paused-expected.txt: Updated for loop changes, add more tests. * media/video-seek-past-end-paused.html: Ditto. * media/video-seek-past-end-playing-expected.txt: Ditto. * media/video-seek-past-end-playing.html: Ditto. * media/video-start-expected.txt: Removed. * media/video-start.html: Removed. Canonical link: https://commits.webkit.org/33531@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-03-05 22:56:52 +00:00
EXPECTED (video.paused == 'true') OK
EXPECTED (video.paused == 'true') OK
2009-08-06 21:09:24 +00:00
EXPECTED (mediaElement.currentTime == 'mediaElement.duration') OK
2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes Test: media/video-loop.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::loadInternal): (WebCore::HTMLMediaElement::setNetworkState): (WebCore::HTMLMediaElement::seek): (WebCore::HTMLMediaElement::playInternal): (WebCore::HTMLMediaElement::loop): (WebCore::HTMLMediaElement::setLoop): (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): (WebCore::HTMLMediaElement::endedPlayback): (WebCore::HTMLMediaElement::updatePlayState): * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: 2009-03-05 Eric Carlson <eric.carlson@apple.com> Reviewed by Simon Fraser. https://bugs.webkit.org/show_bug.cgi?id=24400 Bug 24400: Remove "start", "end", "loopStart", "loopEnd", "currentLoop", and "playCount" media element attributes * media/loopend-limits-expected.txt: Removed. * media/loopend-limits.html: Removed. * media/loopstart-limits-expected.txt: Removed. * media/loopstart-limits.html: Removed. * media/video-dom-end-expected.txt: Removed. * media/video-dom-end.html: Removed. * media/video-dom-loopcount-expected.txt: Removed. * media/video-dom-loopcount.html: Removed. * media/video-dom-loopend-expected.txt: Removed. * media/video-dom-loopend.html: Removed. * media/video-dom-loopstart-expected.txt: Removed. * media/video-dom-loopstart.html: Removed. * media/video-dom-start-expected.txt: Removed. * media/video-dom-start.html: Removed. * media/video-end-expected.txt: Removed. * media/video-end.html: Removed. * media/video-loop.html: Added, test for new "loop" attribute. * media/video-loopcount-expected.txt: Removed. * media/video-loopcount.html: Removed. * media/video-loopend-expected.txt: Removed. * media/video-loopend.html: Removed. * media/video-loopstart-expected.txt: Removed. * media/video-loopstart.html: Removed. * media/video-seek-past-end-paused-expected.txt: Updated for loop changes, add more tests. * media/video-seek-past-end-paused.html: Ditto. * media/video-seek-past-end-playing-expected.txt: Ditto. * media/video-seek-past-end-playing.html: Ditto. * media/video-start-expected.txt: Removed. * media/video-start.html: Removed. Canonical link: https://commits.webkit.org/33531@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-03-05 22:56:52 +00:00
EXPECTED (video.ended == 'true') OK
WebCore: Reviewed by Adele. Seeking related fixes, updates match to the latest specification - rename loopCount of HTMLMediaElement to playCount - add explicit seeking attribute to HTMLMediaElement to get semantics right - implement the specification behavior that currentTime must immediately return seeked position in HTMLMediaElement instead of MoviePrivateQTKit - fix broken behavior when seeking past end of the media, add tests - replace Movie didEnd callback with broader timeChanged callback (which gets called in didEnd case too) - use setDelayCallbacks: in various MoviePrivateQTKit methods to avoid bug prone synchronous callbacks from QT, make HTMLMediaElement not depend on synchronous callbacks - do some cleanups and simplifications in MoviePrivateQTKit, get rid of m_rateBeforeSeek and m_blockStateUpdate variables Tests: http/tests/media/video-seekable-stall.html media/video-seeking.html media/video-seek-past-end-paused.html media/video-seek-past-end-playing.html * html/HTMLAttributeNames.in: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): (WebCore::HTMLMediaElement::load): (WebCore::HTMLMediaElement::movieNetworkStateChanged): (WebCore::HTMLMediaElement::setReadyState): (WebCore::HTMLMediaElement::seek): (WebCore::HTMLMediaElement::seeking): (WebCore::HTMLMediaElement::currentTime): (WebCore::HTMLMediaElement::ended): (WebCore::HTMLMediaElement::play): (WebCore::HTMLMediaElement::pause): (WebCore::HTMLMediaElement::playCount): (WebCore::HTMLMediaElement::setPlayCount): (WebCore::HTMLMediaElement::checkIfSeekNeeded): (WebCore::HTMLMediaElement::movieTimeChanged): (WebCore::HTMLMediaElement::endedPlayback): (WebCore::HTMLMediaElement::updateMovie): * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: * platform/graphics/Movie.cpp: (WebCore::Movie::timeChanged): * platform/graphics/Movie.h: (WebCore::MovieClient::movieTimeChanged): * platform/graphics/mac/MoviePrivateQTKit.h: * platform/graphics/mac/MoviePrivateQTKit.mm: (WebCore::MoviePrivate::MoviePrivate): (WebCore::MoviePrivate::load): (WebCore::MoviePrivate::play): (WebCore::MoviePrivate::pause): (WebCore::MoviePrivate::currentTime): (WebCore::MoviePrivate::seek): (WebCore::MoviePrivate::doSeek): (WebCore::MoviePrivate::cancelSeek): (WebCore::MoviePrivate::seekTimerFired): (WebCore::MoviePrivate::startCuePointTimerIfNeeded): (WebCore::MoviePrivate::paused): (WebCore::MoviePrivate::updateStates): (WebCore::MoviePrivate::timeChanged): (WebCore::MoviePrivate::didEnd): LayoutTests: Reviewed by Adele. Seeking related test updates - update to match specificiation - rename loopCount to playCount everywhere - timeupdate events during seek - fix that some tests (like audio ones) depended on timing sensitive ordering of play and load events - add text about what is being tested Add new tests for seeking past end, seeking past loaded position and 'seeking' DOM attribute. * http/tests/media/video-seekable-stall-expected.txt: Added. * http/tests/media/video-seekable-stall.html: Added. * media/audio-constructor-expected.txt: * media/audio-constructor-src-expected.txt: * media/audio-constructor-src.html: * media/audio-constructor.html: * media/video-dom-loopcount-expected.txt: * media/video-dom-loopcount.html: * media/video-dom-loopend-expected.txt: * media/video-dom-loopend.html: * media/video-dom-loopstart-expected.txt: * media/video-dom-loopstart.html: * media/video-dom-start-expected.txt: * media/video-dom-start.html: * media/video-loopcount-expected.txt: * media/video-loopcount.html: * media/video-loopend-expected.txt: * media/video-loopend.html: * media/video-loopstart-expected.txt: * media/video-loopstart.html: * media/video-seek-past-end-paused-expected.txt: Added. * media/video-seek-past-end-paused.html: Added. * media/video-seek-past-end-playing-expected.txt: Added. * media/video-seek-past-end-playing.html: Added. * media/video-seeking-expected.txt: Added. * media/video-seeking.html: Added. * media/video-test.js: Canonical link: https://commits.webkit.org/21786@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2007-11-17 02:10:16 +00:00
END OF TEST