Update some URLs.

The HTML spec's division into pages is not stable, so it is safer to use the
URL without a specific page (which will redirect).
This commit is contained in:
Ms2ger 2015-04-14 10:44:51 +02:00
parent 4997d3a112
commit 49393a8762
19 changed files with 146 additions and 146 deletions

View file

@ -60,21 +60,21 @@ impl DOMException {
}
impl<'a> DOMExceptionMethods for JSRef<'a, DOMException> {
// http://heycam.github.io/webidl/#dfn-DOMException
// https://heycam.github.io/webidl/#dfn-DOMException
fn Code(self) -> u16 {
match self.code {
// http://heycam.github.io/webidl/#dfn-throw
// https://heycam.github.io/webidl/#dfn-throw
DOMErrorName::EncodingError => 0,
code => code as u16
}
}
// http://heycam.github.io/webidl/#idl-DOMException-error-names
// https://heycam.github.io/webidl/#idl-DOMException-error-names
fn Name(self) -> DOMString {
format!("{:?}", self.code)
}
// http://heycam.github.io/webidl/#error-names
// https://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.",