RESOLVED CONFIGURATION CHANGED 97868
[Resource Timing] Resource timing entry of an iframe may be not available if it is unloaded.
https://bugs.webkit.org/show_bug.cgi?id=97868
Summary [Resource Timing] Resource timing entry of an iframe may be not available if ...
pdeng6
Reported 2012-09-27 23:14:27 PDT
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.
Attachments
Patch (2.93 KB, patch)
2012-10-07 22:16 PDT, pdeng6
no flags
pdeng6
Comment 1 2012-10-07 22:16:25 PDT
Ojan Vafai
Comment 2 2012-10-09 16:00:44 PDT
Comment on attachment 167503 [details] Patch Is this not exposed to the web at all?
Anders Carlsson
Comment 3 2014-02-05 11:17:29 PST
Comment on attachment 167503 [details] Patch Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.
Joseph Pecoraro
Comment 4 2017-02-10 11:43:34 PST
Hmm, this looks outdated now, and looks like it would work based on the description. Patch had no test. Lets close.
Note You need to log in before you can comment on or make changes to this bug.