[Webkit-unassigned] [Bug 242451] New: Cross-Origin iFrames not adding PerformanceTimingEntry when it comes from cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 7 09:39:05 PDT 2022


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

            Bug ID: 242451
           Summary: Cross-Origin iFrames not adding PerformanceTimingEntry
                    when it comes from cache
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at jameshartig.com

Created attachment 460738

  --> https://bugs.webkit.org/attachment.cgi?id=460738&action=review

Safeframe embedded page

Cross-origin iFrames with Timing-Allow-Origin: * are not generating an PerformanceTimingEntry when the iframe comes from cache.

The code on https://jsbin.com/veyidigudi loads a safeframe and then adds the performance entry in a textNode after it. The first time you load it, there will be an entry but when you refresh the page the timing entry goes away. Clearing cache and refreshing brings the timing entry back until you refresh for the 4rd time (and it comes from cache again).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220707/d945ca55/attachment-0001.htm>


More information about the webkit-unassigned mailing list