diff options
author | Aron Zwaan <aronzwaan@gmail.com> | 2019-03-09 15:27:22 +0100 |
---|---|---|
committer | Aron Zwaan <aronzwaan@gmail.com> | 2019-03-12 11:26:41 +0100 |
commit | 39c652ed1385ef8cdb8d7d2eccf7429c42dfdecf (patch) | |
tree | 6a66e87d661b396bce45196f68d1c3bf22a80a2a /components/script/dom/htmliframeelement.rs | |
parent | b006913e79f0a1845f32e5e2e40f63ad9ad6f490 (diff) | |
download | servo-39c652ed1385ef8cdb8d7d2eccf7429c42dfdecf.tar.gz servo-39c652ed1385ef8cdb8d7d2eccf7429c42dfdecf.zip |
Remove SetVisible message from iframe
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r-- | components/script/dom/htmliframeelement.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 3a01d36beeb..822484a7991 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -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 |