[whatwg] [html5] r7128 - [giow] (2) Try to define img synchronous loading. Affected topics: HTML

Boris Zbarsky bzbarsky at MIT.EDU
Wed Jun 13 09:09:22 PDT 2012


On 6/13/12 4:55 AM, Simon Pieters wrote:
> If it redirects, it switches to CORS. However, there are some bugs in
> the spec... I just filed
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=17478 now.

Can we push this whole algorithm down into the CORS spec?  It looks like 
at this point fetching-resources.html and the XHR spec are both trying 
to define the same algorithm (no CORS for same-origin, check origin on 
redirect, switch to CORS as needed, etc), and it would be pretty nice if 
they ended up actually defining it the same way.  Simplest way to do 
that is to define it in the CORS spec and just reference it in the 
others, I'd think.

-Boris



More information about the whatwg mailing list