WebCore:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 18:11:06 +0000 (18:11 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Nov 2007 18:11:06 +0000 (18:11 +0000)
commitc1e8ef633ceeb737561309f01d9c417a4d019810
tree6cc20c0a6593be40df924c2e892b27265d9e329f
parent7ddabbe8e256835cd60ec64f24d5a9a7bd5738a5
WebCore:

        Reviewed by Darin.

        Trigger media load on on src attribute changes as specified in new HTML5 draft.

        Tests: media/video-src-change.html
               media/video-src-remove.html
               media/video-src-set.html

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::attributeChanged):
        * html/HTMLMediaElement.h:

LayoutTests:

        Reviewed by Darin.

        Tests for media src attribute changes.

        * media/video-src-change-expected.txt: Added.
        * media/video-src-change.html: Added.
        * media/video-src-remove-expected.txt: Added.
        * media/video-src-remove.html: Added.
        * media/video-src-set-expected.txt: Added.
        * media/video-src-set.html: Added.
        * media/video-test.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/video-src-change-expected.txt [new file with mode: 0644]
LayoutTests/media/video-src-change.html [new file with mode: 0644]
LayoutTests/media/video-src-remove-expected.txt [new file with mode: 0644]
LayoutTests/media/video-src-remove.html [new file with mode: 0644]
LayoutTests/media/video-src-set-expected.txt [new file with mode: 0644]
LayoutTests/media/video-src-set.html [new file with mode: 0644]
LayoutTests/media/video-test.js
WebCore/ChangeLog
WebCore/html/HTMLMediaElement.cpp
WebCore/html/HTMLMediaElement.h