summaryrefslogtreecommitdiffstats
path: root/components/gcm_driver
diff options
context:
space:
mode:
authordavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-13 19:36:16 +0000
committerdavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-13 19:36:16 +0000
commit0928c80fbafcae32fb4d4ba8afefc7dada2a5d92 (patch)
tree3f9e8331f67f3695bb1dcde62caa171bd762d8d1 /components/gcm_driver
parent3421796437467576d0dd2c2d4ddc2eab2837597a (diff)
downloadchromium_src-0928c80fbafcae32fb4d4ba8afefc7dada2a5d92.zip
chromium_src-0928c80fbafcae32fb4d4ba8afefc7dada2a5d92.tar.gz
chromium_src-0928c80fbafcae32fb4d4ba8afefc7dada2a5d92.tar.bz2
Avoid a replaceState on first load in the options frame.
The replaceState is only needed to bootstrap the pageName key in the history state, but this information is redundant with the URL. Use the URL instead. This avoids the common case for child replaceState / parent popstate races and gets rid of some redundancy. BUG=382550 TEST=Navigate to http://example.com. Navigate to about:settings. Click "Manage search engines". Drag back button back to example.com. Press forward twice in succession. Second time ideally between when the settings outer frame shows up and the settings inner frame does. Should still be at "Manage search engines" Review URL: https://codereview.chromium.org/327603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/gcm_driver')
0 files changed, 0 insertions, 0 deletions