diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-02-20 13:01:02 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-02-20 13:01:02 -0700 |
commit | 172db80703fc19ff078f2f46fb299cadd99a483b (patch) | |
tree | 09184aec85214913683a7dc81b39bdcb091de10c /components/script/dom/location.rs | |
parent | 276f74b1ddec9dfa4cb053eb0802f95bd5ed6b66 (diff) | |
parent | 00f863b4fea0cac93dd2d77964d4b2e6f1f5ccba (diff) | |
download | servo-172db80703fc19ff078f2f46fb299cadd99a483b.tar.gz servo-172db80703fc19ff078f2f46fb299cadd99a483b.zip |
auto merge of #4882 : chmanchester/servo/stringifiers, r=Ms2ger
Diffstat (limited to 'components/script/dom/location.rs')
-rw-r--r-- | components/script/dom/location.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/location.rs b/components/script/dom/location.rs index 4f4c44e4015..614b623e5b9 100644 --- a/components/script/dom/location.rs +++ b/components/script/dom/location.rs @@ -47,6 +47,10 @@ impl<'a> LocationMethods for JSRef<'a, Location> { UrlHelper::Href(&self.page.get_url()) } + fn Stringify(self) -> DOMString { + self.Href() + } + fn Search(self) -> DOMString { UrlHelper::Search(&self.page.get_url()) } |