diff options
author | Keith Yeung <kungfukeith11@gmail.com> | 2015-01-31 20:41:34 +0800 |
---|---|---|
committer | Keith Yeung <kungfukeith11@gmail.com> | 2015-02-02 23:51:36 +0800 |
commit | 2093291539b6011fd76733414d145e61c92c0814 (patch) | |
tree | 38bc92a71d0ee924933772fa295148917b1d72d8 /components/script/dom/webidls/XMLHttpRequest.webidl | |
parent | 2010fbf0ddabdaf3bcb52c5f2075e7d994fc63ec (diff) | |
download | servo-2093291539b6011fd76733414d145e61c92c0814.tar.gz servo-2093291539b6011fd76733414d145e61c92c0814.zip |
Added error checking on XMLHttpRequest::setWithCredentials
Diffstat (limited to 'components/script/dom/webidls/XMLHttpRequest.webidl')
-rw-r--r-- | components/script/dom/webidls/XMLHttpRequest.webidl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webidls/XMLHttpRequest.webidl b/components/script/dom/webidls/XMLHttpRequest.webidl index ba100ca23ad..6066ba9c17b 100644 --- a/components/script/dom/webidls/XMLHttpRequest.webidl +++ b/components/script/dom/webidls/XMLHttpRequest.webidl @@ -50,6 +50,7 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget { void setRequestHeader(ByteString name, ByteString value); [SetterThrows] attribute unsigned long timeout; + [SetterThrows] attribute boolean withCredentials; readonly attribute XMLHttpRequestUpload upload; [Throws] |