diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-04-05 04:48:48 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-04-05 04:48:48 -0600 |
commit | 425b2be04f89ec7576a1933c99383853c7519a49 (patch) | |
tree | 2ae4e46115010cd68ebb62d67f0d5050ef93635e | |
parent | b63fb0c0a7e9cd9208d66319c910750aaaac844c (diff) | |
parent | c37a34234a840d5118146f64d6ed644ddcc97329 (diff) | |
download | servo-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.rs | 8 |
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.", |