2010-12-13 Eric Carlson <eric.carlson@apple.com>
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2010 21:57:49 +0000 (21:57 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Dec 2010 21:57:49 +0000 (21:57 +0000)
commit7b83bda21c134230a45bd0ee1edcb4a0469c5ec7
tree42ded3a313b979d2044ea3e8842fa12d2c350a3b
parent39a08a9cc646322b9bde97b9eba37eb7cf8eb989
2010-12-13  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Antti Koivisto.

        HTMLMediaElement::endedPlayback should not return true if duration is zero
        https://bugs.webkit.org/show_bug.cgi?id=50962

        (WebCore::HTMLMediaElement::endedPlayback): Don't return true when duration is zero because a
        media file can't play if it has no duration, therefore it can't have ended playback.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/html/HTMLMediaElement.cpp