[Webkit-unassigned] [Bug 18655] [XHR] OnProgress needs more test case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 20 13:51:39 PST 2015


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

--- Comment #4 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 21444
  --> https://bugs.webkit.org/attachment.cgi?id=21444
Add 5 test cases

View in context: https://bugs.webkit.org/attachment.cgi?id=21444&action=review

> LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-no-content-length-onProgress.html:35
> +// If content length is not given, it should not be called
> +req.onprogress = onProgressFailed;
> +req.open("GET", "resources/noContentLength.asis", false);
> +req.send(null);

This test seems wrong, there is no reason to not fire the progress event for responses with chunked encoding.

I'll fix.

> LayoutTests/http/tests/xmlhttprequest/resources/noContentLength.asis:1
> +<html>

This is not a properly formatted .asis file. It makes Apache return an empty response with "Content-Length: 0".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150120/f63ff0b7/attachment-0002.html>


More information about the webkit-unassigned mailing list