[Webkit-unassigned] [Bug 194589] New: Inserting <link rel=preload via script results in duplicate downloads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 13 05:10:48 PST 2019


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

            Bug ID: 194589
           Summary: Inserting <link rel=preload via script results in
                    duplicate downloads
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ad at andydavies.net
                CC: beidson at apple.com

Created attachment 361912

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

Console showing resource timing entries

https://andydavies.github.io/test-rel-preload/tests/electro/index-js-inserted-link-preload-v2.html has a script block that injects <link rel=preload elements for four fonts

When the page is loaded in Safari, frequently (but not always) each script is downloaded twice - see the attached Inspector screenshot

The double downloads don't appear in the Resource Timing entries for the page, with there only being one entry per font

Viewing the server logs (with the same page on a different server) shows the fonts were downloaded twice

-- 
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/20190213/3f4e9d9d/attachment.html>


More information about the webkit-unassigned mailing list