W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] Onpopstate is Flawed

From: Roger Hågensen <rescator@emsai.net>
Date: Thu, 03 Feb 2011 00:21:08 +0100
Message-ID: <4D49E6E4.9080700@emsai.net>
On 2011-02-02 23:48, Jonas Sicking wrote:
> I think my latest proposed change makes this a whole lot better since
> the state is immediately available to scripts. The problem with only
> sticking the state in an event is that there is really no good point
> to fire the event. The later you fire it the longer it takes before
> the page works properly. The sooner you fire it the bigger risk you
> run that some script runs too late to get be able to catch the event.
> / Jonas

Yeah it's a shame it can't be atomic.

Roger "Rescator" H?gensen.
Freelancer - http://www.EmSai.net/
Received on Wednesday, 2 February 2011 15:21:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:30 UTC