browse by category or date

Google ChromeWhenever I tinkered with this blog, I always view the result through Google Chrome’s Developer Tools Console to see any errors. Today I realized I found one error.

And this is the offending line (prettified into multiple lines):

<link 
	rel='stylesheet' 
	id='open-sans-css'  
	href='//fonts.googleapis.com/css' 
	type='text/css' 
	media='all' 
/>

Problem is, the url is invalid. If we open the url //fonts.googleapis.com/css, Google will serve an error page.

My first reaction to this was view my WordPress theme’s source code. Nothing. The next suspect would be my WordPress plugins. I used Notepad++ to help me scouring my WordPress local copy.

It found nothing. If it’s not my theme, or my plugins, then I should be WordPress itself that added the offending line. To prove it, I searched it in my website’s root directory.

grep --include=\*.php -rnw . -e "open-sans-css"

Still found nothing. Then out of curiosity, I viewed the source code in Firefox. Surprise! The offending line is not there! It was Google Chrome itself who added the offending line. FYI, I’m using the latest Chrome version.

Now that we know the culprit, the next question is why. Why would Chrome added this line? I kinda think that Google wants to add a standardized web-font, making sure that any website that use open-sans font will have the same look in all Chrome browser.

What do you think?

PS: I’ve reported this issue to Google.

GD Star Rating
loading...
What is Google Chrome doing?, 2.0 out of 5 based on 2 ratings

Possibly relevant:

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Incoming Search

browser, bugs, chrome

No Comment

Add Your Comment