Open Bug 360467 Opened 18 years ago Updated 2 years ago

stylesheet loading errors should be reported to the Error Console (malformed URI in the xml-stylesheet PI, missing stylesheet)

Categories

(Core :: XUL, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: asqueella, Unassigned)

References

Details

Loading the following XUL should log a warning in the Error Console. <?xml version="1.0"?> <?xml-stylesheet href="not-existing.css" type="text/css"?> <window id="yourwindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> </window> I'm filing this for XUL; if it's also wanted for other XML docs, feel free to move as appropriate.
The patch in bug 84582 will make the style sheet loading content API more amenable to this.
Depends on: 84582
Why only XML? This would be good for HTML too.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.