[whatwg] Question about pushState

Jonas Sicking jonas at sicking.cc
Wed Dec 16 12:06:39 PST 2009

On Wed, Dec 16, 2009 at 11:51 AM, Darin Fisher <darin at chromium.org> wrote:
> [Apologies if this has been discussed before, but I couldn't find it in the
> archives.]
> Why does pushState only prune forward session history entries corresponding
> to the same document?  I would have expected it to behave like a reference
> fragment navigation, which prunes *all* forward session history entries.
>  Reason: it seems strange when a "navigation" doesn't result in a disabled
> forward button in the browser UI, so an app developer may be unsatisfied
> using pushState in place of reference fragment navigations.
> Thoughts?

I agree. I *think* what you are suggesting is what the implementation
that Justin Lebar has written for Firefox does.

/ Jonas

More information about the whatwg mailing list