mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Replace usage of old-style WHATWG spec links
This commit is contained in:
parent
9cccd98254
commit
85f2b6fc5b
96 changed files with 149 additions and 150 deletions
|
@ -291,7 +291,7 @@ impl Window {
|
|||
}
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#atob
|
||||
// https://html.spec.whatwg.org/multipage#atob
|
||||
pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
|
||||
// "The btoa() method must throw an InvalidCharacterError exception if
|
||||
// the method's first argument contains any character whose code point
|
||||
|
@ -311,7 +311,7 @@ pub fn base64_btoa(input: DOMString) -> Fallible<DOMString> {
|
|||
}
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#atob
|
||||
// https://html.spec.whatwg.org/multipage#atob
|
||||
pub fn base64_atob(input: DOMString) -> Fallible<DOMString> {
|
||||
// "Remove all space characters from input."
|
||||
// serialize::base64::from_base64 ignores \r and \n,
|
||||
|
@ -479,7 +479,7 @@ impl WindowMethods for Window {
|
|||
self.Window()
|
||||
}
|
||||
|
||||
// https://www.whatwg.org/html/#dom-frames
|
||||
// https://html.spec.whatwg.org/multipage#dom-frames
|
||||
fn Frames(&self) -> Root<Window> {
|
||||
self.Window()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue