[Webkit-unassigned] [Bug 51076] New: didClearWindowObject may be dispatched when window object is not cleared

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 14 17:06:23 PST 2010


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

           Summary: didClearWindowObject may be dispatched when window
                    object is not cleared
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jhoneycutt at apple.com


FrameLoader::receivedFirstData() calls DocumentWriter::begin(), which is responsible for clearing the window object before loading new content. If a frame is showing the initial empty document, and the URL we're transitioning to is in the same security origin, DocumentWriter::begin() will choose not to clear the window object.

After DocumentWriter::begin() returns, FrameLoader::receivedFirstData() dispatches the didClearWindowObject callback - whether or not the window object was cleared.

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