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

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


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





--- Comment #16 from Ami Fischman <fischman at chromium.org>  2012-02-23 14:52:22 PST ---
(From update of attachment 128545)
View in context: https://bugs.webkit.org/attachment.cgi?id=128545&action=review

> LayoutTests/http/tests/media/video-referer.html:18
>          frame.addEventListener('load', function () {

Shouldn't this listener be added before frame.src is set in the previous line?

> LayoutTests/http/tests/media/video-referer.html:25
> +        waitForEventAndEnd('error', function () {

Shouldn't the listeners be getting added right before the video.load() call above, if no errors are expected?

> LayoutTests/http/tests/media/video-referer.html:26
> +            consoleWrite('FAIL, got error when loading media.');

IWBN to use waitForEventAndFail() instead of wFEAEnd() for 'error'.
(both this suggestion and the next will require you to edit the expected file).

> LayoutTests/http/tests/media/video-referer.html:29
> +        waitForEvent('canplay', function () {

This would benefit from using waitForEventAndEnd.

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