You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reflect the behavior, either of the following needs to be tweaked, to take noopener/noreferrer into account,
depending on whether the hint for popup condition ("is popup") should be true or false for noopener:
The window open steps, given a string url, a string target, and a string features, are as follows:
...
12.
1. Set targetNavigable's active browsing context's is popup to the result of checking if a popup window is requested, given tokenizedFeatures.
related to #5872
Steps:
Results:
window.locationbar.visible
istrue
window.locationbar.visible
isfalse
window.locationbar.visible
istrue
The behavior between Chromium and Firefox diverges because the effect of
noopener
/noreferrer
isn't specified in the spec.The behavior is covered by the following testcase, that expects "is popup" becomes false if
noopener
ornoreferrer
is specified.https://github.com/web-platform-tests/wpt/blob/master/html/browsers/the-window-object/window-open-popup-behavior.html
To reflect the behavior, either of the following needs to be tweaked, to take noopener/noreferrer into account,
depending on whether the hint for popup condition ("is popup") should be true or false for
noopener
:(A) Set "is popup" to false if
noopener
is truehttps://html.spec.whatwg.org/multipage/nav-history-apis.html#apis-for-creating-and-navigating-browsing-contexts-by-name:popup-window-is-requested
https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-barprop-visible
(B) Store
noopener
or related value to browsing context and use it inBarProp.visible
getterThe text was updated successfully, but these errors were encountered: