[whatwg] Question about pushState

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

Received on Wednesday, 16 December 2009 22:25:22 UTC