[Webkit-unassigned] [Bug 92272] New: ProgressTracker never completes if iframe detached during parsing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 11:17:21 PDT 2012


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

           Summary: ProgressTracker never completes if iframe detached
                    during parsing
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: creis at chromium.org
                CC: japhet at chromium.org


If an iframe is removed from its parent after it finishes loading but while parsing is still in progress, ProgressTracker::progressCompleted is never called for it.  This leaves m_numProgressTrackedFrames non-zero, which means the parent page will never reach ProgressTracker::finalProgressComplete, and the loading icon will spin forever in that tab.

This happens in practice for Google Docs, as discovered at http://crbug.com/120321.

I've put together a simplified repro case (attached), but I've only been able to repro if I attach a debugger and set a breakpoint in MainResourceLoader::didFinishLoading.  If the breakpoint gets hit when adding the iframe, the bug occurs, and the loading icon spins forever.  (I'm not sure how to make the test more deterministic.  The bug is inconsistent on Google Docs as well, suggesting a race.)

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