[whatwg] Onpopstate is Flawed

Roger Hågensen rescator at emsai.net
Wed Feb 2 15:21:08 PST 2011


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/




More information about the whatwg mailing list