[Webkit-unassigned] [Bug 25831] [GTK] events missing when a document is (re)loaded
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 1 02:01:22 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=25831
--- Comment #19 from Mario Sanchez Prada <msanchez at igalia.com> 2010-12-01 02:01:22 PST ---
Looks like the problem is related to another (still unresolved) bug, which is currently being worked around through an "ASSERT(m_currentItem); if (!m_current_item) return;" combo:
void HistoryController::restoreScrollPositionAndViewState()
{
[...]
ASSERT(m_currentItem);
// FIXME: As the ASSERT attests, it seems we should always have a currentItem here.
// One counterexample is <rdar://problem/4917290>
// For now, to cover this issue in release builds, there is no technical harm to returning
// early and from a user standpoint - as in the above radar - the previous page load failed
// so there *is* no scroll or view state to restore!
if (!m_currentItem)
return;
[...]
}
Not sure how to proceed here then... I'll try to investigate the root issue to see if I can help on that FIXME, or just find another way to implement the unit test avoiding this code (whenever it's possible), if I can't find a better fix for the whole problem.
Btw, is there any way I can check rdar://problem/4917290 ?
--
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