Skip to content
  • eric@webkit.org's avatar
    2009-10-16 Andrew Scherkus <scherkus@chromium.org> · cbc6c3cf
    eric@webkit.org authored
            Reviewed by Eric Carlson.
    
            Updated media resource selection algorithm to reflect latest HTML 5 specification.
    
            https://bugs.webkit.org/show_bug.cgi?id=30407
    
            * media/video-play-pause-exception-expected.txt:
            * media/video-play-pause-exception.html:
            * media/video-src-empty-expected.txt: Added.
            * media/video-src-empty.html: Added.
            * media/video-src-none-expected.txt: Added.
            * media/video-src-none.html: Added.
    2009-10-16  Andrew Scherkus  <scherkus@chromium.org>
    
            Reviewed by Eric Carlson.
    
            Updated media resource selection algorithm to reflect latest HTML 5 specification.
    
            Noticable changes:
                -  Elements with no source should have their network state set to NETWORK_EMPTY as opposed to NETWORK_NO_SOURCE
                -  Empty string ("") is now considered a valid URL resolving to the current page and will be loaded
    
            Tests: media/video-src-empty.html
                   media/video-src-none.html
    
            https://bugs.webkit.org/show_bug.cgi?id=30407
    
            * html/HTMLMediaElement.cpp:
            (WebCore::HTMLMediaElement::selectMediaResource): Updated code and comments to match spec.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cbc6c3cf