W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

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

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 02 Dec 2010 14:50:26 +0100
Message-ID: <op.vm292c0a64w2qv@anne-van-kesterens-macbook-pro.local>
On Thu, 02 Dec 2010 14:10:33 +0100, Anne van Kesteren <annevk at opera.com>  
> 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
Received on Thursday, 2 December 2010 05:50:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC