New issue
Advanced search Search tips

Issue 803305 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 795225
Owner:
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Garbage characters shown momentarily to users before icons on all sites

Reported by jidanni@gmail.com, Jan 18 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

Example URL:

Steps to reproduce the problem:
Today I found a whopper bug.

In the labs with the fast equipment will never notice it, otherwise is
very startling... like there is some virus at work.

OK, here's how to see it: in developer tools use something like
SLOW.jpg profile.

Now browse say https://contacts.google.com/ (logged in)
Notice how the Red "+" icon is first shown as a weird Chinese character,
before finally becoming "+".

Now browse e.g.,
https://udn.com/news/story/11319/2936071
Notice how the top row of icons is momentarily ".... r"
Even the smaller ones in the small row above it are junk.

They are not random characters, as they are the same every time.

Please first try the above throttling profile and "Disable Cache" in
Developer Tools -> Networking, else you will never be able to reproduce
it in the labs.

What is the expected behavior?

What went wrong?
Impact: users are exposed to a weird intermediary internal step that
they should never see, although lasting usually less than one second,
still installing fears that there is something that has been hacked and
has secondary control of the screen. If anything just show blanks, not
weird characters. Thank you.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.84  Channel: n/a
OS Version: 
Flash Version:
 
SLOW.jpg
18.7 KB View Download
contacts.jpg
83.2 KB View Download
udn.jpg
38.0 KB View Download

Comment 1 by jidanni@gmail.com, Jan 18 2018

Oops the above Contacts.jpg is the GOOD one, the one you will see if you wait for it to complete...
And here is what it looks like before it completes!:
BUG_CONTACTS.jpg
28.2 KB View Download

Comment 2 by jidanni@gmail.com, Jan 18 2018

And for completeness here is what the full loaded UDN site looks like of course.
PROPER_udn.jpg
28.2 KB View Download

Comment 3 by jidanni@gmail.com, Jan 18 2018

Can you believe the character shown on the Google Contacts image is so rare it doesn't even show up on https://www.mdbg.net/chinese/dictionary?page=chardict&cdqchc=%E5%9C%9F%E5%8E%B6%E8%99%AB .

Comment 4 by tkent@chromium.org, Jan 18 2018

Components: -Blink Blink>WebFonts
These sites use icon fonts.


Owner: ksakamoto@chromium.org
Status: WontFix (was: Unconfirmed)
This is WebFont's fallback behavior. If a remote font couldn't be loaded within 3 seconds, Chrome shows text in a fallback font.

These icon fonts use "private use area" of Unicode. If fallback font in your environment happened to have a glyph in that private area, a wired character would be shown.

For example the "+" button is U+E145 in the material icons font, and it seems some font have Chinese character at that codepoint.
http://www.fileformat.info/info/unicode/char/e145/fontsupport.htm

Comment 6 by jidanni@gmail.com, Jan 18 2018

So something is wrong with Chromium's https://css-tricks.com/fout-foit-foft/

Comment 7 by jidanni@gmail.com, Jan 18 2018

Ah, https://en.wikipedia.org/wiki/Flash_of_unstyled_content says see
https://bugs.chromium.org/p/chromium/issues/list?can=1&q=fouc&sort=id

Anyway I still have the problem here with a 2012 laptop and 2M/64k connection.
Hm, the spec says browser shouldn't fallback for Private-Use Area.

https://drafts.csswg.org/css-fonts/#char-handling-issues

So this is a bug we should fix. Re-opening, thanks for the report!
Status: Assigned (was: WontFix)
Mergedinto: 795225
Status: Duplicate (was: Assigned)
...and realized that it's already taken care of :)
https://bugs.chromium.org/p/chromium/issues/detail?id=795225

This should be fixed in Chrome 64+.

Note that the rightmost icon in udn.com uses non-private code point, so it'll still be displayed as "r" after 3 seconds on 64+.

Sign in to add a comment