mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue