Revert "script: Use atom comparison in more places, especially for attributes." for persistent test failures.

This reverts commit 874db26104.
This commit is contained in:
Josh Matthews 2014-09-18 09:20:19 -04:00
parent 7158cac2dc
commit 9607b468bc
32 changed files with 147 additions and 300 deletions

View file

@ -472,7 +472,7 @@ pub fn parse_html(page: &Page,
};
let script_element: &JSRef<Element> = ElementCast::from_ref(script);
match script_element.get_attribute(Null, &satom!("src")).root() {
match script_element.get_attribute(Null, "src").root() {
Some(src) => {
debug!("found script: {:s}", src.deref().Value());
let mut url_parser = UrlParser::new();