fix(renderer): preserve isolated WindowProxies across child navigation

This commit is contained in:
ldm0
2026-11-13 08:14:49 +08:00
parent 6a681d3126
commit e6bc3f9b60
@@ -1394,6 +1394,7 @@ async fn isolated_window_proxies_follow_child_navigation_in_surviving_worlds() {
for policy in [
moli_page_types::LayoutPolicy::Mock,
moli_page_types::LayoutPolicy::OnDemand,
moli_page_types::LayoutPolicy::Realtime,
] {
let mut vm = new_storage_test_vm("https://isolated-proxy-navigation.test/");
vm.set_layout_policy(policy);
@@ -1534,6 +1535,7 @@ async fn isolated_proxy_navigation_rechecks_origin_and_universal_access() {
for policy in [
moli_page_types::LayoutPolicy::Mock,
moli_page_types::LayoutPolicy::OnDemand,
moli_page_types::LayoutPolicy::Realtime,
] {
let mut vm = new_storage_test_vm("https://isolated-proxy-origin.test/");
vm.set_layout_policy(policy);