electron/lib
trop[bot] 880b1e08e7
refactor: remove dead named-window lookup from guest-window-manager (#50497)
The frameNamesToWindow map was a holdover from the BrowserWindowProxy
IPC shim. Since nativeWindowOpen became the only code path, Blink's
FrameTree::FindOrCreateFrameForNavigation resolves named window targets
directly in the renderer, scoped to the opener's browsing context
group. When a matching named window exists, Blink navigates it without
ever sending a CreateNewWindow IPC to the browser, so this map was
never consulted in the legitimate same-opener case.

The only time the map found a match was when two unrelated renderers
happened to use the same target name, in which case openGuestWindow
would short-circuit before consuming the guest WebContents that
Chromium had already created for the new window, leaking it.

Adds a test verifying Blink handles same-opener named-target reuse
end-to-end without any browser-side tracking.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Attard <sattard@anthropic.com>
2026-03-26 11:46:12 -04:00
..
browser refactor: remove dead named-window lookup from guest-window-manager (#50497) 2026-03-26 11:46:12 -04:00
common refactor: use WHATWG URL instead of url.parse (#50143) 2026-03-09 19:58:45 -07:00
isolated_renderer refactor: cleanup global variable declarations (#38410) 2023-05-24 20:01:07 +02:00
node fix: add ASAR support to additional copy methods (#50286) 2026-03-16 13:56:00 -04:00
preload_realm feat: service worker preload scripts for improved extensions support (#44411) 2025-01-31 09:32:45 -05:00
renderer fix: InspectorFrontendHost override in embedded windows (#50137) 2026-03-09 10:00:28 -05:00
sandboxed_renderer feat: add sharedTexture module to import shared texture (#47317) 2025-11-07 09:50:28 +01:00
utility build: drop @types/webpack-env in favor of webpack/module types (#47798) 2025-08-08 18:09:23 -07:00
worker fix: delete temporary blink* globals after restoring Blink implementations (#50117) 2026-03-08 00:05:08 -08:00