aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlanchorelement.rs
diff options
context:
space:
mode:
authormrmiywj <jsyangwenjie@gmail.com>2016-05-15 02:18:55 +0800
committermrmiywj <jsyangwenjie@gmail.com>2016-05-18 12:37:41 +0800
commit904e9ea17ce56976cd2e94a130dff916c6746b8f (patch)
tree7405fb635aedfeaa751f82339cc0cf07004cad78 /components/script/dom/htmlanchorelement.rs
parentd6509dc4c6a1ec0a0c48c0e5a669a93334407f29 (diff)
downloadservo-904e9ea17ce56976cd2e94a130dff916c6746b8f.tar.gz
servo-904e9ea17ce56976cd2e94a130dff916c6746b8f.zip
htmlanchorelement getter work before href setting is called
update tests rewrite it
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r--components/script/dom/htmlanchorelement.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs
index 5b0f1801c25..cae38b2b733 100644
--- a/components/script/dom/htmlanchorelement.rs
+++ b/components/script/dom/htmlanchorelement.rs
@@ -71,7 +71,6 @@ impl HTMLAnchorElement {
fn reinitialize_url(&self) {
// Step 1.
match *self.url.borrow() {
- None => return,
Some(ref url) if url.scheme() == "blob" && url.cannot_be_a_base() => return,
_ => (),
}