[Webkit-unassigned] [Bug 35088] New: Setting src on <source> shouldn't restart the resource selection algorithm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 18 03:47:11 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35088

           Summary: Setting src on <source> shouldn't restart the resource
                    selection algorithm
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zcorpan at gmail.com


URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Chrome: FAIL
  Firefox 3.x: has different bugs
         IE 7: N/A
         IE 8: N/A
  Opera 10.50 beta: OK

What steps will reproduce the problem?
1. Consider:

<video><source></video>
<script>
onload = function(){
  document.body.firstChild.firstChild.src = 'test.mp4';
}
</script>

What is the expected result?

This should not load anything, because the resource selection algorithm 
should have been started during parsing and have discarded the <source> 
element (so that "pointer" is between the <source> and the end of the list). 

What happens instead?

Safari happily loads the video. The author should be required to 
explicitly call load() per spec.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list