From 188fa329eb3b163cc6028a9b34f9647a16539582 Mon Sep 17 00:00:00 2001 From: webbeef Date: Sun, 22 Sep 2024 12:51:11 -0700 Subject: [PATCH] Stop sending EmbedderMsg::WebViewOpened from WindowProxy (#33514) This is redundant since the constellation already sends this message. Signed-off-by: webbeef --- components/script/dom/windowproxy.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/script/dom/windowproxy.rs b/components/script/dom/windowproxy.rs index 7f0bc7bc077..c16d958e85b 100644 --- a/components/script/dom/windowproxy.rs +++ b/components/script/dom/windowproxy.rs @@ -334,8 +334,6 @@ impl WindowProxy { let constellation_msg = ScriptMsg::ScriptNewAuxiliary(load_info); window.send_to_constellation(constellation_msg); ScriptThread::process_attach_layout(new_layout_info, document.origin().clone()); - let msg = EmbedderMsg::WebViewOpened(new_top_level_browsing_context_id); - window.send_to_embedder(msg); // TODO: if noopener is false, copy the sessionStorage storage area of the creator origin. // See step 14 of https://html.spec.whatwg.org/multipage/#creating-a-new-browsing-context let auxiliary =