Open Bug 1693248 Opened 3 years ago Updated 3 years ago

"save page" fails due to failed font download

Categories

(Core :: Layout: Text and Fonts, defect)

Firefox 86
defect

Tracking

()

UNCONFIRMED

People

(Reporter: u20230201, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

Steps to reproduce:

I tried to save https://wiki.documentfoundation.org/ReleaseNotes/7.0 as "webpage, complete"

Actual results:

Saving failed (small yellow circle above the download arrow).
It seem the problem was a font that could not be accessed (I deliberately blocked Google font tracking via NoScript):
downloadable font: download failed (font-family: "Roboto" style:normal weight:400 stretch:100 src index:0): bad URI or cross-site access not allowed source: https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxK.woff2

Expected results:

The page should be saved (as it was with previous versions), or there should be a helpful message telling the user what to do (ignore error, or abort download).

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

Does the entire operation fail, or is it just alerting you to the fact that some part of the page failed (because it was blocked)? When I try to reproduce this, I get the "failed" message but it does successfully save the rest of the page & non-blocked resources.

Ulrich, could you please confirm what you mean by "failed" (see comment 2)? Does the page get saved, but without its font resource, or is nothing saved at all?

Severity: -- → S4
Flags: needinfo?(Ulrich.Windl)

(In reply to Jonathan Kew (:jfkthame) from comment #3)

Ulrich, could you please confirm what you mean by "failed" (see comment 2)? Does the page get saved, but without its font resource, or is nothing saved at all?

Good question: First I assumed the download failed, because of the "orange dot" and the message saying "Download failed". After having reported the bug I realized that "something" had been downloaded. Assumed, it's rather hard to say how complete or incomplete the download is.
Another thing I realized after having reported the bug was "cookie consent": I had blocked that (youtube-nocookie.com), too. So maybe it was not the fonts triggering the problem.

To summarize: It's very confusing when a message says "download failed" (without further details) and actually quite a lot was downloaded.

Flags: needinfo?(Ulrich.Windl)
You need to log in before you can comment on or make changes to this bug.