[Webkit-unassigned] [Bug 42861] Session history should skip over JS redirects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 24 22:39:44 PDT 2010


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





--- Comment #6 from Alexey Proskuryakov <ap at webkit.org>  2010-07-24 22:39:44 PST ---
The words to search source code for are "lockBackForwardList" and "quickRedirect". As evidenced by FIXMEs around them, the logic is tangled, but it looks like it should be possible to explore with moderate effort.

Specifically, the 1 second cutoff is implemented in RedirectScheduler::scheduleRedirect():

    // We want a new history item if the refresh timeout is > 1 second.
    if (!m_redirect || delay <= m_redirect->delay())
        schedule(new ScheduledRedirect(delay, url, true, delay <= 1, false));

But it may become impossible to understand the logic if the Chromium behavior is added to WebCore without refactoring what we have now. That's what I'm trying to avoid.

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