diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-14 01:56:15 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-19 21:05:07 +0200 |
commit | 57c423a93142e072a992aa33c3ecca9446c477b0 (patch) | |
tree | eefe41008e917df08620b98050c035cb776ad538 /components/script/dom/workerlocation.rs | |
parent | e0c8a88410277843714a20d5fced73a392fad861 (diff) | |
download | servo-57c423a93142e072a992aa33c3ecca9446c477b0.tar.gz servo-57c423a93142e072a992aa33c3ecca9446c477b0.zip |
Update URL-related interfaces and their tests up to spec
The URL spec recently changed and the variour "mixins" interfaces are gone,
this commit updates our code and WPT accordingly.
The new expected failures related to HTMLAnchorElement and HTMLAreaElement's
attributes are due to their moving to the HTMLHyperLinkElementUtils interface,
which is not anymore in a separate <script class=untested> element.
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 } |