summaryrefslogtreecommitdiffstats
path: root/tools/metrics/histograms
diff options
context:
space:
mode:
authordavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 20:56:55 +0000
committerdavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 20:56:55 +0000
commitab5871bc50be5c7d0c42ed7b33052f0c5617ffaf (patch)
tree25e2cd4b64a22829f3300c6f87ba36ab3d8d8aeb /tools/metrics/histograms
parent299b2b9627656df44a41f6dff700947d92baeb2a (diff)
downloadchromium_src-ab5871bc50be5c7d0c42ed7b33052f0c5617ffaf.zip
chromium_src-ab5871bc50be5c7d0c42ed7b33052f0c5617ffaf.tar.gz
chromium_src-ab5871bc50be5c7d0c42ed7b33052f0c5617ffaf.tar.bz2
Abort prerenders which try to create two navigation entries.
We do not currently patch up the history correctly. Let's try to fix this by just aborting prerenders which do this, rather than complicating the history merge function. UMA will tell us if this is a problem and if this case turns out to be important. This does not affect the following: - Calls to location.replace. - <meta http-equiv=refresh> redirects with a timeout under 1 second. - Code which sets location.href before the load event. BUG=305660 TEST=PrerenderBrowserTest.PrerenderNewNavigationEntry PrerenderBrowserTest.PrerenderLocationReplaceNavigateToFirst PrerenderBrowserTest.PrerenderLocationReplaceNavigateToSecond Review URL: https://codereview.chromium.org/68213005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/metrics/histograms')
-rw-r--r--tools/metrics/histograms/histograms.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 27aaee8..03b4508 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -27331,6 +27331,7 @@ other types of suffix sets.
<int value="44" label="PAGE_BEING_CAPTURED"/>
<int value="45" label="BAD_DEFERRED_REDIRECT"/>
<int value="46" label="NAVIGATION_UNCOMMITTED"/>
+ <int value="47" label="NEW_NAVIGATION_ENTRY"/>
</enum>
<enum name="PrerenderHoverEvent" type="int">