[Webkit-unassigned] [Bug 259093] New: Regression - passing "noopener" as third argument opens tabs into new window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 10 19:31:17 PDT 2023


            Bug ID: 259093
           Summary: Regression - passing "noopener" as third argument
                    opens tabs into new window
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebCore JavaScript
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: egucciar at gmail.com

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.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230711/b6b03193/attachment.htm>

More information about the webkit-unassigned mailing list