W3C home > Mailing lists > Public > public-appformats@w3.org > April 2008

Re: Cross-Site XHR Detection

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 25 Apr 2008 08:49:40 +0200
To: "Kris Zyp" <kris@sitepen.com>, "WAF WG (public)" <public-appformats@w3.org>
Message-ID: <op.t95mk2ra64w2qv@annevk-t60.oslo.opera.com>

On Fri, 25 Apr 2008 05:49:59 +0200, Kris Zyp <kris@sitepen.com> wrote:
> Is there any recommended way for authors to detect the presence of  
> cross-site XHR capability? Is our best bet to do an XHR request and  
> catch the error if it immediately throws an access denied exception?

That would be the way to do it, yes.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 25 April 2008 06:49:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 April 2008 06:49:57 GMT