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

[whatwg] Session history and frames in the previous top level browsing context

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Sat, 03 Oct 2009 00:19:52 +0300
Message-ID: <4AC66E78.60702@helsinki.fi>
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
Received on Friday, 2 October 2009 14:19:52 UTC

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