Given MDN documentation and prior behavior, the following function call shall open in a "new tab" if the browser setting is set to "automatically" window.open(path, "_blank", "noopener=true"); Per MDN: "Note: Specifying any features in the windowFeatures parameter, other than noopener or noreferrer, also has the effect of requesting a popup." "If popup is not enabled, and there are no window features declared, the new browsing context will be a tab." Given this, the expectation is the above line of code should open in new tab. However it is opening in a new window. This is reproducible across multiple user environments.
Thank you for the report! Could you please clarify which versions of Safari this worked in, and which work incorrectly?
Thanks for triaging this, the version of current not working version of safari is Version 16.3 (18614.4.6.1.5). Per our product manager, this was previously working for him on Version 16.2 (18614.3.7.1.5). Thank you!
<rdar://problem/112086061>
Based on tags on WebKit GitHub for macOS: https://github.com/WebKit/WebKit/compare/releases/Apple/Safari-16.2-macOS-13.1...releases/Apple/Safari-16.3-macOS-13.2.1 There are 200+ commits. Just sharing above link for quick analysis by anyone in future.
(In reply to Ahmad Saleem from comment #4) > Based on tags on WebKit GitHub for macOS: > > https://github.com/WebKit/WebKit/compare/releases/Apple/Safari-16.2-macOS-13. > 1...releases/Apple/Safari-16.3-macOS-13.2.1 > > There are 200+ commits. > > Just sharing above link for quick analysis by anyone in future. Only this commit from above has any reference to 'pop-up' - https://bugs.webkit.org/show_bug.cgi?id=247585
Pull request: https://github.com/WebKit/WebKit/pull/16857
*** Bug 174388 has been marked as a duplicate of this bug. ***
*** Bug 174271 has been marked as a duplicate of this bug. ***
Committed 267354@main (301fe8a7cb26): <https://commits.webkit.org/267354@main> Reviewed commits have been landed. Closing PR #16857 and removing active labels.
We believe this issue is resolved in the current shipping releases of iOS 17.2 and macOS 14.2.