W3C home > Mailing lists > Public > public-webapi@w3.org > August 2007

[XHR] how to catch SECURITY_ERR on XMLHttpRequest.open()?

From: Dan Connolly <connolly@w3.org>
Date: Tue, 14 Aug 2007 12:21:06 -0500
To: public-webapi@w3.org
Message-Id: <1187112066.29837.111.camel@pav>


"If stored url is non same-origin the user agent should raise a
SECURITY_ERR exception and terminate these steps."
 -- http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070618/

I don't see it listed as a code under XMLHttpRequestException.

I'd like an example of how to catch this exception.

Maybe there's such an example in a test suite somewhere?

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Tuesday, 14 August 2007 17:21:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:09:57 UTC