mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Make iframes block the enclosing document's load event. Fixes #6663.
This commit is contained in:
parent
fc3f93235e
commit
e9b98ad5fa
17 changed files with 2054 additions and 19 deletions
|
@ -1231,6 +1231,11 @@ impl Document {
|
|||
ReflowReason::RequestAnimationFrame);
|
||||
}
|
||||
|
||||
pub fn add_blocking_load(&self, load: LoadType) {
|
||||
let mut loader = self.loader.borrow_mut();
|
||||
loader.add_blocking_load(load)
|
||||
}
|
||||
|
||||
pub fn prepare_async_load(&self, load: LoadType) -> PendingAsyncLoad {
|
||||
let mut loader = self.loader.borrow_mut();
|
||||
loader.prepare_async_load(load)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue