New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 7 users

Issue metadata

Status: Fixed
Closed: Aug 2
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug

Sign in to add a comment

Issue 769592: Flag to disable pushState throttle (and console message)

Reported by, Sep 28 2017 Project Member

Issue description


r485498 introduced a pushState/replaceState throttle to avoid some subset of denial of service attacks on the browser process.

We've heard from Netflix that this caused a problem for an automated test suite, and there weren't any visible clues for why it wasn't working.

It would help to add something like a --disable-pushstate-throttle command line flag to allow test suites to work, along with a console message when the throttle kicks in (mentioning the flag).

palmer@, would you be able to add this to follow up on r485498?  (Sorry-- no good deed...)  :)

Comment 1 by, Sep 28 2017

FWIW, I'd be interested in submitting a patch for this if palmer won't be able to get to it soon.

Comment 2 by, Sep 28 2017

Certainly-- patches welcome!  (I would imagine that palmer@ doesn't have a lot of free time, and would probably appreciate it.)

Comment 3 by, Sep 28 2017

#1: Certainly, and thanks. :) I'd be happy to review your code, help you out with getting the patch together, or helping in whatever way.

Comment 4 by, Oct 2 2017

Comment 5 by, Jan 3 2018

Issue 794923 has been merged into this issue.

Comment 6 by, Jan 5 2018

Status: Started (was: Assigned)

Comment 7 by, Mar 14 2018

Project Member
The following revision refers to this bug:

commit 917bc057cb5c399d853f1e4ac159b973b58e0294
Author: Chris Palmer <>
Date: Wed Mar 14 19:28:31 2018

Log a message on the console when the {push,replace}State quota is exceeded.

Previously, history.{push,replace}State spam failed silently, causing developer

This change also introduces the --disable-pushstate-throttle flag to allow users
to disable the throttling.

This work was primarily authored by Trent Willis <>.,

Bug:  769592 , 794923
Change-Id: I969456b190d535f8dee3e03b5c4f4f36730d6b38
Commit-Queue: Chris Palmer <>
Reviewed-by: Charlie Reis <>
Reviewed-by: Daniel Cheng <>
Cr-Commit-Position: refs/heads/master@{#543154}

Comment 8 by, Aug 2

Status: Fixed (was: Started)
I'm closing this bug since it seems done-as-stated. However, note that there still remains  issue 786211 .

Sign in to add a comment