Issue metadata
Sign in to add a comment
|
window.open with toolbar=yes opens in new tab instead of new window
Reported by
m...@oneleaf.com,
Jul 26 2017
|
||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36
Steps to reproduce the problem:
1. Use the window.open function with toolbar=yes.
2. Then use the window.open function with toolbar=no.
3. Sample:
<script>
function openWindow() {
var newWindow = window.open('http://www.gooogle.com','newWindow', 'width=1050,height=750,toolbar=yes');
newWindow.focus();
}
</script>
<a href="javascript:openWindow()" >test</a>
What is the expected behavior?
When using window.open() function, expect a new window to open and not a new tab.
What went wrong?
Prior to Chrome release 59.0.3071.115, a new window would open. For Chrome 59.0.3071.115 and above, when window.open() has an attribute of toolbar=yes, it opens in a new tab. If the attribute is toolbar=no or removed, then opens in a new window.
Did this work before? Yes Prior to Chrome 59.0.3071.115
Chrome version: 60.0.3112.78 Channel: stable
OS Version: 10.0
Flash Version:
,
Jul 27 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by manoranj...@chromium.org
, Jul 26 2017