Closed Bug 619114 Opened 14 years ago Closed 14 years ago

produce console warning when an attempt is made to load a resource cross-origin but it fails

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 494130

People

(Reporter: roc, Unassigned)

Details

Attachments

(1 file)

Attached file testcase
If you load the attached testcase, the font load starts but we don't use the font because it's from another origin. No message is reported in the Web Console to explain why the font wasn't used. There should be one.
Do you mean the Error Console?
It should report to both (Error Console will be disabled before we ship, but  both consoles display most of these types of warnings). Doing this optimally may depend on one of the patches in bug 606498.
(And other errors that cause us not to load the font would ideally also print something on the console.)
Bug 494130 was originally logged to do this.
Closing this as a dup of bug 494130. I've posted a patch there to introduce some basic console messages.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: