Replace instances of old ServiceWorker specification URL with new one

The old specification URL is
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/ has
been replaced by the new one at https://w3c.github.io/ServiceWorker/.
This commit is contained in:
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ) 2016-09-25 20:32:32 +05:30
parent 1d5a05d112
commit 3bf5813096
97 changed files with 115 additions and 116 deletions

View file

@ -41,17 +41,17 @@ impl Client {
}
impl ClientMethods for Client {
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client-url-attribute
// https://w3c.github.io/ServiceWorker/#client-url-attribute
fn Url(&self) -> USVString {
self.url.clone()
}
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client-frametype
// https://w3c.github.io/ServiceWorker/#client-frametype
fn FrameType(&self) -> FrameType {
self.frame_type
}
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#client-id
// https://w3c.github.io/ServiceWorker/#client-id
fn Id(&self) -> DOMString {
let uid_str = format!("{}", self.id);
DOMString::from_string(uid_str)