New issue
Advanced search Search tips

Issue 661905 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 660496
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug-Regression



Sign in to add a comment

window.location.reload() doesn't work when close popup and reload opener

Reported by grancha1...@gmail.com, Nov 3 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Steps to reproduce the problem:
1. Open popup with window.open. This popup executes window.opener.MYFUNCTION() when close.
2. Close popup.

****************************
function MYFUNCTION(){
   window.location.reload();
}
****************************

What is the expected behavior?
Opener reload.

What went wrong?
Reload in the opener not working. Does nothing.

Did this work before? Yes 53.0.2785.116

Chrome version: 54.0.2840.71  Channel: stable
OS Version: Manjaro/Arch Linux
Flash Version: 

I tested in versión Stable(54) and beta (55) and doesn't work. In version 53 works.
 
I've attached quickstart to demonstrate the issue
quickstart.zip
882 bytes Download

Comment 2 by kochi@chromium.org, Nov 4 2016

Components: -Blink Blink>Loader
Owner: toyoshim@chromium.org
Status: Assigned (was: Unconfirmed)
Toyoshima-san, could you take a look?
Cc: toyoshim@chromium.org creis@chromium.org
Components: UI>Browser>Navigation
Labels: -OS-Linux
Owner: lfg@chromium.org
There is an effort to block such a navigation on frame shutdown for security reasons. I find a recent CL below that seems to change this behavior intentionally.

Disable navigations in the unload handler.
https://chromium.googlesource.com/chromium/src/+/8fb70277dba468aac9d2eae51e432d76667a79db

Let me assign lfg.

Comment 4 by lfg@chromium.org, Nov 9 2016

Mergedinto: 660496
Status: Duplicate (was: Assigned)

Sign in to add a comment