[whatwg] Question about pushState

Justin Lebar justin.lebar at gmail.com
Wed Dec 16 22:25:22 PST 2009


On Wed, Dec 16, 2009 at 3:06 PM, Jonas Sicking <jonas at sicking.cc> wrote:
> On Wed, Dec 16, 2009 at 11:51 AM, Darin Fisher <darin at chromium.org> wrote:
>> I would have expected it to behave like a reference
>> fragment navigation, which prunes *all* forward session history entries.
>
> I agree. I *think* what you are suggesting is what the implementation
> that Justin Lebar has written for Firefox does.

Yes, with my patch, the forward button is never active after a
pushState.  It wasn't an intentional deviation from the spec, but I
agree with Darin's reasoning: If pushState is a replacement for the
hash-navigation hack, then it should behave like a hash navigation.

-Justin



More information about the whatwg mailing list