MarshallOfSound

#53683: fix: route modifier-click and OpenURLFromTab popups through the window-open policy

Merged
Created: Sep 7, 2026, 10:59:26 AM
Merged: Sep 7, 2026, 3:40:37 PM
9 comments
Target: main
  • A link opened into a new window (modifier-click, middle-click, target form post) is treated like window.open(): a <webview> without allowpopups no longer opens it.
  • The window created for such a link starts its navigation from the original request (initiator origin and frame, renderer-initiated, user gesture, post body) instead of a fresh browser-initiated loadURL, so Sec-Fetch-Site, did-start-navigation initiator and related attribution describe the clicking document.
  • Docs: allowpopups covers links opened into new windows.

Notes: <webview> without allowpopups also blocks links opened into a new window by modifier-click, and such windows navigate as the clicking document rather than as a browser-initiated load.

Backports

42-x-y
Merged
PR Number
#53719
Merged At
Sep 7, 2026, 5:35:01 PM
Released In
v42.11.3
Release Date
Sep 8, 2026, 11:00:26 AM
43-x-y
Merged
PR Number
#53718
Merged At
Sep 7, 2026, 5:48:08 PM
Released In
Not yet
Release Date
Not yet
44-x-y
Merged
PR Number
#53720
Merged At
Released In
Not yet
Release Date
Not yet
45-x-y
Merged
PR Number
#53717
Merged At
Sep 7, 2026, 5:40:06 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron