aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/serviceworkerregistration.rs
diff options
context:
space:
mode:
authorVignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ) <vignesh.sarma@gmail.com>2016-09-25 20:32:32 +0530
committerVignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ) <vignesh.sarma@gmail.com>2016-09-25 20:32:32 +0530
commit3bf581309638ddef2bcad0ad0e1f180d28f97eb5 (patch)
tree4b5c028e43748a91ad07632ff6c80c0615cf912c /components/script/dom/serviceworkerregistration.rs
parent1d5a05d112fb7063fdcec603da2ddf0cecc0a8ac (diff)
downloadservo-3bf581309638ddef2bcad0ad0e1f180d28f97eb5.tar.gz
servo-3bf581309638ddef2bcad0ad0e1f180d28f97eb5.zip
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/.
Diffstat (limited to 'components/script/dom/serviceworkerregistration.rs')
-rw-r--r--components/script/dom/serviceworkerregistration.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/serviceworkerregistration.rs b/components/script/dom/serviceworkerregistration.rs
index d246dc4423b..6daec5d9647 100644
--- a/components/script/dom/serviceworkerregistration.rs
+++ b/components/script/dom/serviceworkerregistration.rs
@@ -83,22 +83,22 @@ pub fn longest_prefix_match(stored_scope: &Url, potential_match: &Url) -> bool {
}
impl ServiceWorkerRegistrationMethods for ServiceWorkerRegistration {
- // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-registration-installing-attribute
+ // https://w3c.github.io/ServiceWorker/#service-worker-registration-installing-attribute
fn GetInstalling(&self) -> Option<Root<ServiceWorker>> {
self.installing.as_ref().map(|sw| Root::from_ref(&**sw))
}
- // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-registration-active-attribute
+ // https://w3c.github.io/ServiceWorker/#service-worker-registration-active-attribute
fn GetActive(&self) -> Option<Root<ServiceWorker>> {
self.active.as_ref().map(|sw| Root::from_ref(&**sw))
}
- // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-registration-waiting-attribute
+ // https://w3c.github.io/ServiceWorker/#service-worker-registration-waiting-attribute
fn GetWaiting(&self) -> Option<Root<ServiceWorker>> {
self.waiting.as_ref().map(|sw| Root::from_ref(&**sw))
}
- // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-registration-scope-attribute
+ // https://w3c.github.io/ServiceWorker/#service-worker-registration-scope-attribute
fn Scope(&self) -> USVString {
USVString(self.scope.clone())
}