mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove SetVisible message from iframe
This commit is contained in:
parent
b006913e79
commit
39c652ed13
3 changed files with 0 additions and 48 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue