aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-04-05 04:48:48 -0600
committerbors-servo <metajack+bors@gmail.com>2015-04-05 04:48:48 -0600
commit425b2be04f89ec7576a1933c99383853c7519a49 (patch)
tree2ae4e46115010cd68ebb62d67f0d5050ef93635e
parentb63fb0c0a7e9cd9208d66319c910750aaaac844c (diff)
parentc37a34234a840d5118146f64d6ed644ddcc97329 (diff)
downloadservo-425b2be04f89ec7576a1933c99383853c7519a49.tar.gz
servo-425b2be04f89ec7576a1933c99383853c7519a49.zip
auto merge of #5530 : nmzaheer/servo/updateSpecLinks, r=saneyuki
I have update the spec links as given in the comments. Hope i've done it right
-rw-r--r--components/script/dom/domexception.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/domexception.rs b/components/script/dom/domexception.rs
index 53511d4d721..59f8c0a0743 100644
--- a/components/script/dom/domexception.rs
+++ b/components/script/dom/domexception.rs
@@ -59,21 +59,21 @@ impl DOMException {
}
impl<'a> DOMExceptionMethods for JSRef<'a, DOMException> {
- // http://dom.spec.whatwg.org/#dom-domexception-code
+ // http://heycam.github.io/webidl/#dfn-DOMException
fn Code(self) -> u16 {
match self.code {
- // http://dom.spec.whatwg.org/#concept-throw
+ // http://heycam.github.io/webidl/#dfn-throw
DOMErrorName::EncodingError => 0,
code => code as u16
}
}
- // http://dom.spec.whatwg.org/#error-names-0
+ // http://heycam.github.io/webidl/#idl-DOMException-error-names
fn Name(self) -> DOMString {
format!("{:?}", self.code)
}
- // http://dom.spec.whatwg.org/#error-names-0
+ // http://heycam.github.io/webidl/#error-names
fn Message(self) -> DOMString {
let message = match self.code {
DOMErrorName::IndexSizeError => "The index is not in the allowed range.",