New issue
Advanced search Search tips

Issue 646542 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

fonts.gstatic.com appearing in HAR but not in Network Tab

Reported by spen...@streetlike.com, Sep 13 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce the problem:
See http://stackoverflow.com/questions/39447291/fonts-gstatic-com-not-appearing-in-chrome-network-tab-but-it-is-in-har-file

1. Go to www.sweatybetty.com
2. Export HAR and search for fonts.gstatic.com
3. Not present in Network Tab

You can also see in webpagetest that fonts.gstatic.com is present on the page

What is the expected behavior?
Fonts.gstatic.com should appear in Network Tab

What went wrong?
fonts.gstatic.com loading but not appearing in Chrome Developer tools Network Tab

Did this work before? N/A 

Chrome version: 52.0.2743.116  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0
 
Status: WontFix (was: Unconfirmed)
Thanks Spencer for the description. I took a look at the HAR you linked in your SO question and it looks like fonts.gstatic.com is in an HTTP response "Link" header value and content (i.e. CSS file).

I did a bit of researching and the Link property doesn't actually fetch the source[1]. In the HTTP response content[2], the browser is iterating through the @font-face src values and tries to use the first possible one (e.g. in this case, if you have the font locally, it won't try to load via url). For more info: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src

If there's another issue, please feel free to re-open this, otherwise it looks like this isn't a bug.

[1] https://www.w3.org/wiki/LinkHeader
[2] Prettified version of the content:

@font-face {
    font-family: 'Pathway Gothic One';
    font-style: normal;
    font-weight: 400;
    src: local('Pathway Gothic One'),local(PathwayGothicOne-Regular),url(http://fonts.gstatic.com/s/pathwaygothicone/v4/Lqv9ztoTUV8Q0FmQZzPqaBRcxZ7No-r1mAtcnpNU5cQ.woff2) format("woff2");
    unicode-range: U+0100-024F,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF;
}

Sign in to add a comment