[webkit-reviews] review requested: [Bug 63558] Media element loads blocked by a resource load delegate or beforeload handler do not generate an error event : [Attachment 120072] Changes based on Eric's suggestions.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 20 17:58:19 PST 2011


Shadi <shadi at chromium.org> has asked  for review:
Bug 63558: Media element loads blocked by a resource load delegate or
beforeload handler do not generate an error event
https://bugs.webkit.org/show_bug.cgi?id=63558

Attachment 120072: Changes based on Eric's suggestions.
https://bugs.webkit.org/attachment.cgi?id=120072&action=review

------- Additional Comments from Shadi <shadi at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=120072&action=review


>> LayoutTests/media/media-blocked-by-beforeload.html:35
>> +		    checkEndTest();
> 
> Where is "checkEndTest"? What is it supposed to do?

Typo, this should be endTest();

>> LayoutTests/media/media-blocked-by-beforeload.html:112
>> +		   endTest();
> 
> Isn't the theory that that we can't predict the order that 'load' and
'loadedmetadata' will fire? If so, the results will have
"EVENT('loadedmetadata')" when 'loadedmetadata' first first, but not if 'load'
first first.

I think that the window 'loaded' event can't be predictable. In addition, the
test results show that only the 'loaded' event happens at different points
while the 'loadedmetadata' always happens at the end of the test after the good
source is loaded.


More information about the webkit-reviews mailing list