[Bug 13660] New: 4.8.2 unload behavior of iframes seems risky

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13660

           Summary: 4.8.2 unload behavior of iframes seems risky
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: cyns@microsoft.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


This behavior seems risky.  Is it new behavior?
"On the other hand, if an iframe is removed from a Document and is then
subsequently garbage collected, this will likely mean (in the absence of other
references) that the child browsing context's WindowProxy object will become
eligble for garbage collection, which will then lead to that browsing context
being discarded, which will then lead to its Document being discarded also.
This happens without notice to any scripts running in that Document; for
example, no unload events are fired (the "unload a document" steps are not
run)."

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 4 August 2011 02:30:27 UTC