WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
76721
history.replaceState should update the HistoryItem to use a GET method if previously non-GET (POST)
https://bugs.webkit.org/show_bug.cgi?id=76721
Summary
history.replaceState should update the HistoryItem to use a GET method if pre...
Darin Fisher (:fishd, Google)
Reported
2012-01-20 11:28:49 PST
history.replaceState should update the HistoryItem to use a GET method if previously non-GET (POST) This is about implementing step #4 under
http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#dom-history-replacestate
4. If the current entry in the session history represents a non-GET request (e.g. it was the result of a POST submission) then update it to instead represent a GET request (or equivalent).
Attachments
Patch
(8.18 KB, patch)
2012-01-20 15:16 PST
,
jochen
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
jochen
Comment 1
2012-01-20 15:16:55 PST
Created
attachment 123390
[details]
Patch
Mihai Parparita
Comment 2
2012-01-20 15:23:02 PST
Comment on
attachment 123390
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=123390&action=review
> LayoutTests/http/tests/history/resources/replacestate-current.php:9 > + history.go(0);
Nit: location.reload() would be a more explicit way of doing a page reload.
jochen
Comment 3
2012-01-20 16:12:30 PST
(In reply to
comment #2
)
> (From update of
attachment 123390
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=123390&action=review
> > > LayoutTests/http/tests/history/resources/replacestate-current.php:9 > > + history.go(0); > > Nit: location.reload() would be a more explicit way of doing a page reload.
I test history.go(0) as this code path is special cased
WebKit Review Bot
Comment 4
2012-01-21 02:18:52 PST
Comment on
attachment 123390
[details]
Patch Clearing flags on attachment: 123390 Committed
r105574
: <
http://trac.webkit.org/changeset/105574
>
WebKit Review Bot
Comment 5
2012-01-21 02:18:58 PST
All reviewed patches have been landed. Closing bug.
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