aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/urlhelper.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-04-14 10:44:51 +0200
committerMs2ger <ms2ger@gmail.com>2015-04-14 10:44:51 +0200
commit49393a87623d3d7d0453689bf0d633753dd8921d (patch)
treee8448fb4b5ef7d7c7599bd01b3116267ecf81985 /components/script/dom/urlhelper.rs
parent4997d3a112354a407365fede1ab1944834a2e13c (diff)
downloadservo-49393a87623d3d7d0453689bf0d633753dd8921d.tar.gz
servo-49393a87623d3d7d0453689bf0d633753dd8921d.zip
Update some URLs.
The HTML spec's division into pages is not stable, so it is safer to use the URL without a specific page (which will redirect).
Diffstat (limited to 'components/script/dom/urlhelper.rs')
-rw-r--r--components/script/dom/urlhelper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/urlhelper.rs b/components/script/dom/urlhelper.rs
index 3b53746bd85..a9d29521579 100644
--- a/components/script/dom/urlhelper.rs
+++ b/components/script/dom/urlhelper.rs
@@ -40,7 +40,7 @@ impl UrlHelper {
})
}
- /// https://html.spec.whatwg.org/multipage/browsers.html#same-origin
+ /// https://html.spec.whatwg.org/multipage/#same-origin
pub fn SameOrigin(urlA: &Url, urlB: &Url) -> bool {
if urlA.host() != urlB.host() {
return false