[Webkit-unassigned] [Bug 31838] New: Nested start/stop events in dispatchDidChangeLocationWithinPage for pages that do fragment redirect in window.onload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 24 10:11:08 PST 2009


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

           Summary: Nested start/stop events in
                    dispatchDidChangeLocationWithinPage for pages that do
                    fragment redirect in window.onload
           Product: WebKit
           Version: 420+
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xiyuan at chromium.org
                CC: fishd at chromium.org


Start/stop events are generated in dispatchDidChangeLocationWithinPage for
WebView delegate. Currently they are generated regardless whether a frame is is
loading or not. This causes nested start/stop events being fired when
dispatchDidChangeLocationWithinPage happens from a fragment redirect in
window.onloader handler.

Attached patch makes the start/stop events only being fired when the page's
main frame has stopped loading to avoid such situation.

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