2011-06-07 Yi Shen <yi.4.shen@nokia.com>
authorYi Shen <yi.4.shen@nokia.com>
Wed, 8 Jun 2011 02:44:35 +0000 (02:44 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Wed, 8 Jun 2011 14:38:19 +0000 (11:38 -0300)
commitf1e20a4a88f5a3a9741b9b35b1132164a133d120
tree8ebf28e5e218a8658a8b2924ae6a6420dee3f4b7
parent7b8defb57f94c8ab383d77e9caf0b30126e31b79
2011-06-07  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix the error code for media resource failures when using QtMobility
        https://bugs.webkit.org/show_bug.cgi?id=55901

        Unskip the tests which are now passing.

        * platform/qt/Skipped:
2011-06-07  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix the error code for media resource failures when using QtMobility
        https://bugs.webkit.org/show_bug.cgi?id=55901

        To indicate the media resource failures, set the network state to
        MediaPlayer::FormatError when receives QMediaPlayer::InvalidMedia or
        QMediaPlayer::ResourceError.

        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
        (WebCore::MediaPlayerPrivateQt::updateStates):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/qt/Skipped
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp