2010-08-20 Eric Carlson <eric.carlson@apple.com>
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 20 Jan 2011 18:21:56 +0000 (15:21 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 20 Jan 2011 19:55:31 +0000 (16:55 -0300)
commitf8fc17dc8fa498e779ccf8594f9ccf1e5bba8ae9
tree7c74692f334a6b26c9aa5672fffd1f8dbbf082f6
parentad95a28cbf0665522cfe8d5ed9b4ae56f821487a
2010-08-20  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Dan Bernstein.

        Media element canPlayType("application/octet-stream") not handled correctly
        https://bugs.webkit.org/show_bug.cgi?id=44343

        Test: media/media-can-play-octet-stream.html

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::applicationOctetStream): New, accessor for static string used more than once.
        (WebCore::textPlain): Ditto.
        (WebCore::codecs): Ditto.
        (WebCore::chooseBestEngineForTypeAndCodecs): Special case "application/octet-stream".
        (WebCore::MediaPlayer::load): Use static static string methods.
        (WebCore::MediaPlayer::supportsType): Special case "application/octet-stream".

2010-08-20  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Dan Bernstein.

        Media element canPlayType("application/octet-stream") not handled correctly
        https://bugs.webkit.org/show_bug.cgi?id=44343

        * media/media-can-play-octet-stream-expected.txt: Added.
        * media/media-can-play-octet-stream.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Conflicts:

WebCore/platform/graphics/MediaPlayer.cpp
LayoutTests/ChangeLog
LayoutTests/media/media-can-play-octet-stream-expected.txt [new file with mode: 0644]
LayoutTests/media/media-can-play-octet-stream.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/graphics/MediaPlayer.cpp