[whatwg] Session history and frames in the previous top level browsing context
Olli Pettay
Olli.Pettay at helsinki.fi
Fri Oct 2 14:19:52 PDT 2009
Hi,
seems like HTML5 doesn't properly specify what should happen if the
'previous top level page' contained frames and go(-<some value>) is
used to navigate back.
Browsers also do different things. A pretty simple testcase is here
http://mozilla.pettay.fi/moztests/history/Start.html
Just click the links until 'B iframe 2' is loaded.
go(-2) should apparently load previous top level page, and
in its iframe it should load the previously loaded document,
not the document, which iframe element in the top level page refers to.
Section 6.10 doesn't seem to specify that behavior properly.
Perhaps even more interesting case is go(-3).
Which one is the right thing to do, IE8 behavior or
FF3.6/Opera10? And if IE8's, why its 'Back' button behaves differently.
And this all is still just about static pages. Things get more
complicated when (i)frames are added and removed dynamically.
-Olli
More information about the whatwg
mailing list