Added error checking on XMLHttpRequest::setWithCredentials

This commit is contained in:
Keith Yeung 2015-01-31 20:41:34 +08:00
parent 2010fbf0dd
commit 2093291539
4 changed files with 16 additions and 15 deletions

View file

@ -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]