W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] Question about pushState

From: Justin Lebar <justin.lebar@gmail.com>
Date: Thu, 17 Dec 2009 01:25:22 -0500
Message-ID: <c84706c70912162225k153223d6lc0a3b1b4e3d37ac8@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC