mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Removed JS::root Fixes #8251
This commit is contained in:
parent
521a87180a
commit
d8ef3809a6
25 changed files with 98 additions and 126 deletions
|
@ -364,7 +364,7 @@ impl HTMLScriptElement {
|
|||
|
||||
// Step 1.
|
||||
let doc = document_from_node(self);
|
||||
if self.parser_inserted.get() && doc.r() != self.parser_document.root().r() {
|
||||
if self.parser_inserted.get() && &*doc != &*self.parser_document {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue