diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 17:58:43 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 17:58:43 +0000 |
commit | ccbe04e3b032c3a3acbf6a2221ee1f90b39c4598 (patch) | |
tree | b8be8967400bf09d66e47738a950483f1bfd563a /chrome/renderer/render_thread.cc | |
parent | 0bda44defc2da589b24c6936d8ac55b979eb8901 (diff) | |
download | chromium_src-ccbe04e3b032c3a3acbf6a2221ee1f90b39c4598.zip chromium_src-ccbe04e3b032c3a3acbf6a2221ee1f90b39c4598.tar.gz chromium_src-ccbe04e3b032c3a3acbf6a2221ee1f90b39c4598.tar.bz2 |
Add chromium-side support for history.{push,replace}State.
Enables the feature so that all but 2 of the related layout tests pass.
Modifies TestShell to correctly update its location bar as navigations occur.
It was incorrectly showing firstPartyForCookies for some crazy reason.
Modifies glue_serialize.cc to store the state object associated with a session
history entry.
Modifies navigation_controller.cc to always replace the current navigation
entry when observing an in-page navigation. This is required since the page ID
isn't changing for an in-page navigation.
BUG=29393
R=brettw
TEST=covered by layout tests
Review URL: http://codereview.chromium.org/1036003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41850 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.cc')
-rw-r--r-- | chrome/renderer/render_thread.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index bc9a2a5..ad4ec2a 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc @@ -817,6 +817,8 @@ void RenderThread::EnsureWebKitInitialized() { WebRuntimeFeatures::enableWebGL( command_line.HasSwitch(switches::kEnableExperimentalWebGL)); + + WebRuntimeFeatures::enablePushState(true); } void RenderThread::IdleHandler() { |