mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Enter realms when creating special same-origin iframes.
This commit is contained in:
parent
02a280dbe1
commit
dcf02caf81
2 changed files with 4 additions and 0 deletions
|
@ -1649,6 +1649,7 @@ impl ScriptThread {
|
|||
// https://html.spec.whatwg.org/multipage/#the-end step 6
|
||||
let mut docs = self.docs_with_no_blocking_loads.borrow_mut();
|
||||
for document in docs.iter() {
|
||||
let _realm = enter_realm(&**document);
|
||||
document.maybe_queue_document_completion();
|
||||
}
|
||||
docs.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue