[whatwg] EventSource: treating mailto as 204 does not work

Anne van Kesteren annevk at opera.com
Thu Dec 2 05:50:26 PST 2010


On Thu, 02 Dec 2010 14:10:33 +0100, Anne van Kesteren <annevk at opera.com>  
wrote:
> For fetching EventSource resources treating mailto as if it was a 204  
> does not work as that reestablishes the connection. The result should be  
> more akin a network error of some kind I think. Similarly to how other  
> cross-origin requests fail if CORS is not used. I will add some tests  
> for this.

javascript, about:blank etc. should also be treated like this, naturally.  
Only http/https can currently work cross-origin. (And maybe browser  
proprietary schemes.)


-- 
Anne van Kesteren
http://annevankesteren.nl/



More information about the whatwg mailing list