[Webkit-unassigned] [Bug 40451] history.back() example that works in a main frame breaks in an iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 11 10:21:04 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40451





--- Comment #6 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2010-06-11 10:21:03 PST ---
When embedded in an IFRAME, it seems like WebKit is failing to change the location of the IFRAME from e.g. #_settings to #_home upon navigating back.

While debugging the back navigation, one thing that is striking is that the isTargetItem property is set to the true for the topframe and not the inner frame.  That seems quite surprising.  It causes HistoryController::recursiveGoToItem to just navigate the top frame from iframe.html to iframe.html, which ends up being a no-op.  As a result, the navigation completes without doing anything.

The source of the mixed up isTargetItem flag probably will explain why we see this bug.  I wonder if the initial redirection from test.html to test.html#_home could be related.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list