Make iframes block the enclosing document's load event. Fixes #6663.

This commit is contained in:
Josh Matthews 2015-07-20 16:15:13 -04:00
parent fc3f93235e
commit e9b98ad5fa
17 changed files with 2054 additions and 19 deletions

View file

@ -832,7 +832,7 @@ impl<LTF: LayoutThreadFactory, STF: ScriptThreadFactory> Constellation<LTF, STF>
let parent_pipeline = self.pipeline(subframe_parent.0);
let msg = ConstellationControlMsg::DispatchFrameLoadEvent {
target: pipeline_id,
parent: subframe_parent.0
parent: subframe_parent.0,
};
parent_pipeline.script_chan.send(msg).unwrap();
}