htmlanchorelement getter work before href setting is called

update tests

rewrite it
This commit is contained in:
mrmiywj 2016-05-15 02:18:55 +08:00
parent d6509dc4c6
commit 904e9ea17c
6 changed files with 150 additions and 130 deletions

View file

@ -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,
_ => (),
}