Issue metadata
Sign in to add a comment
|
opening new browser popup through js
Reported by
eg...@handsome.is,
Mar 2 2017
|
||||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0
Steps to reproduce the problem:
1. Create html/php file with any link
2. Prevent default behavior of the link
3. Imitate a request
3. In the promise of the request try to opening a new popup and setting url there like this:
var popup = window.open("", '_blank'); popup.location.replace(data.redirectUrl);
What is the expected behavior?
I would like to redirect users through js with opening of a new popup, because after click on the button I have to wait for the result of a response with the correct url.
What went wrong?
Popup is blocked. Other solutions like creating of a new popup before a request and setting the url in promise are providing very bad User experience cause a user doesn't understand what is going on and can simple close this popup before the url would be set
Did this work before? N/A
Chrome version: <Copy from: 'about:version'> Channel: stable
OS Version: OS X 10.12
Flash Version:
The request can take 10s or more
,
Mar 4 2017
rbyers@chromium.org Yep, if the main reason is in the user should wait smth a little bit (like in promises or setTimeout) |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by rbyers@chromium.org
, Mar 3 2017Mergedinto: 404161
Status: Duplicate (was: Unconfirmed)