[whatwg] Session history

Ian Hickson ian at hixie.ch
Mon Jul 6 17:30:40 PDT 2009


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:
   http://www.hixie.ch/tests/adhoc/dom/level0/history/

Cheers,
-- 
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