New issue
Advanced search Search tips

Issue 660459 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

window open() method does not acknowledge toolbar=yes

Reported by 1der.wom...@gmail.com, Oct 28 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Steps to reproduce the problem:
1. window.open(page, "_blank", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,width=200,height=200")
2. 
3. 

What is the expected behavior?
I the new window should have a toolbar to give users control over the page. Since most of my audience uses Chrome please fix soon.

What went wrong?
After testing different browsers and platforms I've come to the conclusion that chrome does not support toolbar=yes in the window.open method in javascript. The other browsers support the toolbar=yes parameter.

Did this work before? N/A 

Chrome version: 54.0.2840.71  Channel: stable
OS Version: OS X 10.10.5
Flash Version: Shockwave Flash 23.0 r0
 

Comment 1 by tkent@chromium.org, Oct 30 2016

Components: -Blink Blink>WindowDialog
Cc: rbasuvula@chromium.org
Labels: Needs-Feedback
Tested the issue with provided java script(window.open(page, "_blank", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,width=200,height=200")) on chrome stable #54.0.2840.71 on MAC 10.11.6 and we are unable to find the issue with provided JS. Please find the screen shot for your reference.

@1der.woman.gilbert:

Could you please let me know if i have missed anything and if possible, provide us with a valid Java Script of the issue which would help us to triage the issue further.

Thanks in Advance.
Hello,

It's still not working. I know this is minor but I am working with a web
application. I wrote a simple script in javascript to use in a web
application so that the user can click on the link and have the page open
in a New Window. It has to be in a New Window not a tab.

The New Window, however does not allow a user to click back, forward, or
reload in the new browser window. So I suppose it needs to have "toolbar"
specified in Javascript, which I did, but the method does not work in
Chrome. It works in Firefox but not Chrome. Most of my audience of users
use Chrome. You can use this to test:

```
<html>
<head>
<title>Test</title>

</head>
<body>
<p>Open a new window or tab and navigate to <a href="#" onclick="linkOpen('
http://pubs.acs.org')">ACS Publications InfoCentral</a>.</p>


<script>
function linkOpen(page) {
  window.open(page, "_blank",
"toolbar=yes,menubar=yes,location=yes,scrollbars=yes,width=800,height=600");
}
</script>
</body>
<html>

```

When clicking on the link you will get a new window but the new window does
not have a toolbar so that the user can control the new window to reload,
back, or forward. Attached is a screenshot.

Comment 4 Deleted

windowOpen.jpg
113 KB View Download
Project Member

Comment 6 by sheriffbot@chromium.org, Nov 9 2016

Labels: -Needs-Feedback Needs-Review
Owner: rbasuvula@chromium.org
Thank you for providing more feedback. Adding requester "rbasuvula@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Review Needs-Feedback
Owner: ----
Thanks for your reply with more inputs.Tested the issue in chrome canary #57.0.2963.0 and stable #55.0.2883.95 on Mac 10.12.2 and we are unable to reproduce the issue with provided html file.Please find the screen shot for your reference.

Could you please provide the valid html file to reproduce the issue which would help us to triage the issue further.

Thank you!
 
660459.mp4
207 KB View Download

Comment 8 by a...@chromium.org, Apr 5 2017

Status: WontFix (was: Unconfirmed)
Popups do not support toolbars.
okay, thanks for resolving.

Sign in to add a comment