diff options
author | bors-servo <release+servo@mozilla.com> | 2014-05-04 01:01:21 -0400 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-05-04 01:01:21 -0400 |
commit | 660f7a016ee75a418afda9e92d45b79eff6ba540 (patch) | |
tree | 64dcd6f6eace86d63688100c37de00ea238262de /src/components/script/dom/location.rs | |
parent | 731e66ff132e41cdc49bc5324c0e15be19c46ec2 (diff) | |
parent | 243814022e06c35c9bcdd99ccd281cb6ed180db0 (diff) | |
download | servo-660f7a016ee75a418afda9e92d45b79eff6ba540.tar.gz servo-660f7a016ee75a418afda9e92d45b79eff6ba540.zip |
auto merge of #2311 : Ms2ger/servo/empty-owned, r=jdm
Diffstat (limited to 'src/components/script/dom/location.rs')
-rw-r--r-- | src/components/script/dom/location.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/components/script/dom/location.rs b/src/components/script/dom/location.rs index 93485f0b264..c1d8d439bb8 100644 --- a/src/components/script/dom/location.rs +++ b/src/components/script/dom/location.rs @@ -85,11 +85,11 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Origin(&self) -> DOMString { - ~"" + "".to_owned() } fn Protocol(&self) -> DOMString { - ~"" + "".to_owned() } fn SetProtocol(&self, _protocol: DOMString) { @@ -97,7 +97,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Username(&self) -> DOMString { - ~"" + "".to_owned() } fn SetUsername(&self, _username: DOMString) { @@ -105,7 +105,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Password(&self) -> DOMString { - ~"" + "".to_owned() } fn SetPassword(&self, _password: DOMString) { @@ -113,7 +113,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Host(&self) -> DOMString { - ~"" + "".to_owned() } fn SetHost(&self, _host: DOMString) { @@ -121,7 +121,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Hostname(&self) -> DOMString { - ~"" + "".to_owned() } fn SetHostname(&self, _hostname: DOMString) { @@ -129,7 +129,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Port(&self) -> DOMString { - ~"" + "".to_owned() } fn SetPort(&self, _port: DOMString) { @@ -137,7 +137,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Pathname(&self) -> DOMString { - ~"" + "".to_owned() } fn SetPathname(&self, _pathname: DOMString) { @@ -145,7 +145,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Search(&self) -> DOMString { - ~"" + "".to_owned() } fn SetSearch(&self, _search: DOMString) { @@ -153,7 +153,7 @@ impl<'a> LocationMethods for JSRef<'a, Location> { } fn Hash(&self) -> DOMString { - ~"" + "".to_owned() } fn SetHash(&self, _hash: DOMString) { |