Remove SetVisible message from iframe

This commit is contained in:
Aron Zwaan 2019-03-09 15:27:22 +01:00
parent b006913e79
commit 39c652ed13
3 changed files with 0 additions and 48 deletions

View file

@ -397,16 +397,6 @@ impl HTMLIFrameElement {
}
}
pub fn set_visible(&self, visible: bool) {
let msg = ScriptMsg::SetVisible(visible);
let window = window_from_node(self);
window
.upcast::<GlobalScope>()
.script_to_constellation_chan()
.send(msg)
.unwrap();
}
/// https://html.spec.whatwg.org/multipage/#iframe-load-event-steps steps 1-4
pub fn iframe_load_event_steps(&self, loaded_pipeline: PipelineId) {
// TODO(#9592): assert that the load blocker is present at all times when we