mirror of
https://github.com/servo/servo.git
synced 2025-06-12 10:24:43 +00:00
Revert "script: Use atom comparison in more places, especially for attributes." for persistent test failures.
This reverts commit 874db26104
.
This commit is contained in:
parent
7158cac2dc
commit
9607b468bc
32 changed files with 147 additions and 300 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue