aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/urlhelper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/urlhelper.rs')
-rw-r--r--components/script/dom/urlhelper.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script/dom/urlhelper.rs b/components/script/dom/urlhelper.rs
index ec50b4edb71..5037d7fb733 100644
--- a/components/script/dom/urlhelper.rs
+++ b/components/script/dom/urlhelper.rs
@@ -11,9 +11,6 @@ use url::quirks;
pub struct UrlHelper;
impl UrlHelper {
- pub fn SameOrigin(url_a: &ServoUrl, url_b: &ServoUrl) -> bool {
- url_a.origin() == url_b.origin()
- }
pub fn Origin(url: &ServoUrl) -> USVString {
USVString(quirks::origin(url.as_url().unwrap()).to_owned())
}