[whatwg] Question about pushState

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

Received on Wednesday, 16 December 2009 12:06:39 UTC