WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
Bug 81094
Hitting the backbutton to a page that had pushStates loads the data from the lastest XHR
https://bugs.webkit.org/show_bug.cgi?id=81094
Summary
Hitting the backbutton to a page that had pushStates loads the data from the ...
Marten Schilstra
Reported
2012-03-14 04:25:02 PDT
How to reproduce: - Visit a page that uses a pjax* - Then load up a random other page that gets loaded with pjax. - Hit the back button. What happens: - The browser shows the html document loaded with the last ajax request. What should happen: - The browser should load the full page it came from + fire a popstate event. Tested this in Chrome 17 and Safari 5.1.2 * a combination of pushState + ajax => pjax
http://martndemus.nl
is a site that uses pjax see
http://pjax.heroku.com/
for details about the principle.
Attachments
Add attachment
proposed patch, testcase, etc.
Marten Schilstra
Comment 1
2012-03-14 04:26:38 PDT
I mistyped my how to repro: How to reproduce: - Visit a page that uses a pjax* - Then load up a random other page of the same sit that gets loaded with pjax. - Then visit some other website. - Hit the back button.
Alexey Proskuryakov
Comment 2
2012-03-14 10:31:24 PDT
I tried followed the below steps in Safari 5.1.3: 1. Open
http://martndemus.nl
2. Click Portfolio at the top 3. Open
http://www.apple.com
4. Click Back button in Safari The portfolio page looked just like before. Were these correct steps to reproduce?
Marten Schilstra
Comment 3
2012-03-14 11:27:43 PDT
I updated Safari to 5.1.4, that fixed the problem for me in Safari, still happens in Chrome, will go and file a bug there.
Gavin Peters
Comment 4
2012-09-14 01:36:11 PDT
He filed this chrome bug:
http://code.google.com/p/chromium/issues/detail?id=118210
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug