[whatwg] pushstate + hashchanged

Ivan Vim pivo at pobox.sk
Mon Jan 21 17:28:08 PST 2008


Pushstate looks great, but with it a new need arises. When the user changes the
path in the locationbar, reload is triggered. It should not, as to match the
behavior of the hash change. Instead, just an event should be dispatched.
Something like hashchanged or popstate event, I'm not sure. Which portion of the
path should cause reload and which should not ('cause is supposedly managed by
javasript) would be configurable by a new property, e.g.  something like
document.basePath.

So what do you think?

Ivan Vim



More information about the whatwg mailing list