mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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:
parent
1d5a05d112
commit
3bf5813096
97 changed files with 115 additions and 116 deletions
|
@ -48,12 +48,12 @@ impl Controllable for ServiceWorkerContainer {
|
|||
}
|
||||
|
||||
impl ServiceWorkerContainerMethods for ServiceWorkerContainer {
|
||||
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-container-controller-attribute
|
||||
// https://w3c.github.io/ServiceWorker/#service-worker-container-controller-attribute
|
||||
fn GetController(&self) -> Option<Root<ServiceWorker>> {
|
||||
return self.controller.get()
|
||||
}
|
||||
|
||||
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-container-register-method
|
||||
// https://w3c.github.io/ServiceWorker/#service-worker-container-register-method
|
||||
fn Register(&self,
|
||||
script_url: USVString,
|
||||
options: &RegistrationOptions) -> Fallible<Root<ServiceWorkerRegistration>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue