mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01: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
|
@ -92,11 +92,11 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLLinkElement> {
|
|||
// FIXME: workaround for https://github.com/mozilla/rust/issues/13246;
|
||||
// we get unrooting order failures if these are inside the match.
|
||||
let rel = {
|
||||
let rel = element.get_attribute(Null, &satom!("rel")).root();
|
||||
let rel = element.get_attribute(Null, "rel").root();
|
||||
rel.map(|rel| rel.deref().value().as_slice().to_string())
|
||||
};
|
||||
let href = {
|
||||
let href = element.get_attribute(Null, &satom!("href")).root();
|
||||
let href = element.get_attribute(Null, "href").root();
|
||||
href.map(|href| href.deref().value().as_slice().to_string())
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue