W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Session history

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 7 Jul 2009 00:30:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907060437470.1060@hixie.dreamhostps.com>
On Thu, 2 Jul 2009, Olli Pettay wrote:
> [22:59]	<smaug>	I'm trying to understand the "Each browsing context, including
> nested browsing context, has a distinct session history."
> [23:00]	<smaug>	but in practice if go(-1) is called in a iframe (and it hasn't
> been navigated from the original page), the top level page is navigated

I've now fixed the spec to match IE's behaviour when it comes to 
history.go(), history.length, and history.back().

This doesn't quite match what Gecko, Webkit, or Opera do, but then they 
all each do their own slightly different thing, so I had to pick one, and 
IE seemed like the obvious choice.

I have some tests here:

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 6 July 2009 17:30:40 UTC

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