[Webkit-unassigned] [Bug 79239] [Chromium] video-referer.html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 23 14:33:37 PST 2012


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





--- Comment #14 from Eric Carlson <eric.carlson at apple.com>  2012-02-23 14:33:37 PST ---
(In reply to comment #13)
> Yes, I've repro'd the failure locally, w/o my patch the test fails 90% of the time, with my patch I haven't had a failure yet.
> 
This happens because the <source> element has no 'src' attribute, and step 2 of the section on using the source element says (http://dev.w3.org/html5/spec/media-elements.html#loading-the-media-resource):

    Process candidate: If candidate does not have a src attribute, or if its src 
    attribute's value is the empty string, then end the synchronous section, 
    and jump down to the failed step below.

and the "failed" step says:

    Failed: Queue a task to fire a simple event named error at the candidate element

> Is it not good practice to wait for onload() before starting any JavaScript?
Sometimes yes, and sometimes no - I am not sure there is a general "good practice" here.

-- 
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