[Webkit-unassigned] [Bug 97868] New: [Resource Timing]Resource timing entry of an iframe may be not available if it is unloaded.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 27 23:14:01 PDT 2012


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

           Summary: [Resource Timing]Resource timing entry of an iframe
                    may be not available if it is unloaded.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pan.deng at intel.com


In current PerformanceResourceTiming implementation, a RefPtr of Document is helded from which we can get DocumentTime.
The problem scenario is :
1, an iframe requested
2, perforamnce entry for iframe is populated, and Document for iframe held as ref ptr m_requestingDocument.
3, iframe is unloaded by script. m_requestingDocument->loader() is not available yet.
4, when performance timeline consumer access resource timing entry, something bad will happen.

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