zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
18.7k stars 454 forks source link

Pop-up windows add pinned tabs #3116

Open fillwithjoy1 opened 2 hours ago

fillwithjoy1 commented 2 hours ago

Captchas

What happened?

When a popup window is created (for example Google OAuth sign-ins) any pinned tabs will also load up in that pop-up tab. This shouldn't happen as generally a pop-up window/tab is designed to exit once it's finished. Instead in Zen Browser, after the tab closes then the pinned tabs open which shouldn't happen.

Reproducible?

Version

Version 1.0.1-a.19 (64-bit)

What platform are you seeing the problem on?

Windows

Relevant log output

No response

fillwithjoy1 commented 2 hours ago

Proof-of-concept. Paste this HTML somewhere and test results across different browsers

<a href="#" onClick="MyWindow=window.open('http://www.google.com','MyWindow','width=600,height=300'); return false;">Click Here</a>