Stop sending EmbedderMsg::WebViewOpened from WindowProxy (#33514)

This is redundant since the constellation already sends this message.

Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
webbeef 2024-09-22 12:51:11 -07:00 committed by GitHub
parent 3e29131d64
commit 188fa329eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 =