New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 782699 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

location.reload() on a POST result page breaks session history

Reported by bzbar...@mit.edu, Nov 8 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0

Steps to reproduce the problem:
1. Load attached testcase.
2. Click the submit button.
3. Open the web console and evaluate location.reload()
4. Click the reload button in the browser UI a few times.
5. Context-click on the back button to see the session history.

What is the expected behavior?
There is a history entry for the testcase page and that's it.

What went wrong?
There are a bunch of "software.hixie.ch/utilities/cgi/test-tools/echo" history entries.  Each reload from the UI seems to create a new one.

Furthermore, these reloads (both the location.reload() reload and the manual ones from the UI) don't prompt for whether to resend the POST data; they just resend it.  Normally reloading a on a POST page does prompt...

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 64.0.3260.2 (Official Build) dev (64-bit)  Channel: n/a
OS Version: OS X 10.12
Flash Version: Shockwave Flash 27.0 r0
 
baz.html
157 bytes View Download
Components: UI>Browser>History
Roughly routing (not sure if should be UI>Browser>Navigation instead...)

Labels: Needs-Triage-M64
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac OS 10.12.6,Ubuntu 14.04,Windows 7 using chrome reported version #64.0.3260.2, #64.0.3263.0.
Tried bisecting the issue to get CL but the issue seems very inconsistent.
Hence,marking the issue as untriaged for further update from dev.
Thanks!

Comment 3 by sdy@chromium.org, Dec 6 2017

Components: -UI>Browser>History UI>Browser>Navigation Blink>Forms

Comment 4 by kochi@chromium.org, Dec 27 2017

Components: -Blink>Forms
I'm not sure why Blink>Forms is added.

Comment 5 by nasko@chromium.org, Jan 9 2018

Cc: clamy@chromium.org creis@chromium.org arthurso...@chromium.org nasko@chromium.org

Comment 6 by tapted@chromium.org, Jan 12 2018

Owner: toyoshim@chromium.org
Status: Assigned (was: Untriaged)
[mac triage] -> toyoshim@ could you help triage. I doubt this is mac specific.

Sign in to add a comment