6

I have a problem with external font-face loading with headless Chrome 79 (same problem with Canary) on Windows (both 32 bits and 64 bits versions).

Here's an example with Google Fonts:

chrome.exe --headless --disable-gpu https://fonts.google.com

Using the DevTools inspector, I get this error:

Font face error with Headless Chrome 79 on Windows

There is no problem with non-headless mode.

I get this font face loading problem with each page which uses Google Fonts.

I wasn't able to reproduce this error on Bionic.

I'm totally stuck. Any help would be greatly appreciated.

RLesur
  • 5,810
  • 1
  • 18
  • 53

1 Answers1

3

I just stumbled over the same issue today.

Adding the following parameter solved that issue for me:

--virtual-time-budget=10000

It will tell Chrome to at wait (max. 10000ms) for all pending network request.

Source: https://stackoverflow.com/a/53690355/4045505

AKCD
  • 1,466
  • 13
  • 5