diff options
Diffstat (limited to 'components/script/dom/workerlocation.rs')
-rw-r--r-- | components/script/dom/workerlocation.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/components/script/dom/workerlocation.rs b/components/script/dom/workerlocation.rs index 467d2fef7ee..477c329cf75 100644 --- a/components/script/dom/workerlocation.rs +++ b/components/script/dom/workerlocation.rs @@ -36,47 +36,47 @@ impl WorkerLocation { } impl WorkerLocationMethods for WorkerLocation { - // https://url.spec.whatwg.org/#dom-urlutils-hash + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-hash fn Hash(&self) -> USVString { UrlHelper::Hash(&self.url) } - // https://url.spec.whatwg.org/#dom-urlutils-host + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-host fn Host(&self) -> USVString { UrlHelper::Host(&self.url) } - // https://url.spec.whatwg.org/#dom-urlutils-hostname + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-hostname fn Hostname(&self) -> USVString { UrlHelper::Hostname(&self.url) } - // https://url.spec.whatwg.org/#dom-urlutils-href + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-href fn Href(&self) -> USVString { UrlHelper::Href(&self.url) } - // https://url.spec.whatwg.org/#dom-urlutils-pathname + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-pathname fn Pathname(&self) -> USVString { UrlHelper::Pathname(&self.url) } - // https://url.spec.whatwg.org/#dom-urlutils-port + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-port fn Port(&self) -> USVString { UrlHelper::Port(&self.url) } - // https://url.spec.whatwg.org/#dom-urlutils-protocol + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-protocol fn Protocol(&self) -> USVString { UrlHelper::Protocol(&self.url) } - // https://url.spec.whatwg.org/#dom-urlutils-search + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-search fn Search(&self) -> USVString { UrlHelper::Search(&self.url) } - // https://url.spec.whatwg.org/#URLUtils-stringification-behavior + // https://html.spec.whatwg.org/multipage/#dom-workerlocation-href fn Stringifier(&self) -> DOMString { self.Href().0 } |