[whatwg] pushState

Ian Hickson ian at hixie.ch
Mon Jul 28 15:32:16 PDT 2008


On Fri, 25 Jul 2008, Jonas Sicking wrote:
>
> So what I think we should do is to enforce that 'data' is a JSON
> serializable object.

(We need a better term -- and definition -- for this.)


> When entering a SH state for which a Document has been destroyed, we 
> load the URL associated with that SH entry. After the 'load' event for 
> the Document has fired, and if a data object was provided in the 
> pushState call for the SH entry, we fire a PopStateEvent event 
> containing the data stored for the object.

How would this work with bookmarking?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list