W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2008

[whatwg] pushstate + hashchanged

From: Ivan Vim <pivo@pobox.sk>
Date: Tue, 22 Jan 2008 02:28:08 +0100
Message-ID: <20080122012808.GD3639@mola.mine.nu>

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
Received on Monday, 21 January 2008 17:28:08 UTC

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