aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/webidls/XMLHttpRequest.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/webidls/XMLHttpRequest.webidl')
-rw-r--r--src/components/script/dom/webidls/XMLHttpRequest.webidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/script/dom/webidls/XMLHttpRequest.webidl b/src/components/script/dom/webidls/XMLHttpRequest.webidl
index da849b7903d..43a542c4ef0 100644
--- a/src/components/script/dom/webidls/XMLHttpRequest.webidl
+++ b/src/components/script/dom/webidls/XMLHttpRequest.webidl
@@ -43,7 +43,8 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget {
[Throws]
void open(ByteString method, /* [EnsureUTF16] */ DOMString url, boolean async, optional /* [EnsureUTF16] */ DOMString? username = null, optional /* [EnsureUTF16] */ DOMString? password = null);
- // void setRequestHeader(ByteString name, ByteString value);
+ [Throws]
+ void setRequestHeader(ByteString name, ByteString value);
attribute unsigned long timeout;
attribute boolean withCredentials;
readonly attribute XMLHttpRequestUpload upload;