aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorBogdan Cuza <bogdan.cuza@hotmail.com>2015-07-21 18:53:01 +0300
committerBogdan <boghison22@gmail.com>2015-07-28 13:28:41 +0200
commit233a769c67738942a0ac47c15465e36891883c3b (patch)
treef271b64c29addb4826feb098a03a0c6ce07eb4b3 /components/script/dom/xmlhttprequest.rs
parentf039827dcd618d1731f9cc0d91202690c28f10d1 (diff)
downloadservo-233a769c67738942a0ac47c15465e36891883c3b.tar.gz
servo-233a769c67738942a0ac47c15465e36891883c3b.zip
Add spec links
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r--components/script/dom/xmlhttprequest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs
index 10ad71ab2f2..9ec68cb0fd2 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -662,8 +662,8 @@ impl<'a> XMLHttpRequestMethods for &'a XMLHttpRequest {
}
}
- // https://xhr.spec.whatwg.org/#the-response-attribute
#[allow(unsafe_code)]
+ // https://xhr.spec.whatwg.org/#the-response-attribute
fn Response(self, cx: *mut JSContext) -> JSVal {
let mut rval = RootedValue::new(cx, UndefinedValue());
match self.response_type.get() {