Closed Bug 596133 Opened 14 years ago Closed 14 years ago

Web Console doesn't pick up "stylesheet was not loaded" messages

Categories

(DevTools :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 567165

People

(Reporter: zwol, Unassigned)

References

()

Details

If you visit the cited URL in Firefox 4.0b5, the Web Console will show these messages:

21:19:16:720: Network: GET http://scary.beasts.org/misc/twitter.html [HTTP/1.1 304 Not Modified 361ms]
21:19:17:093: Network: GET http://twitter.com/scarybeaststest [HTTP/1.1 200 OK 237ms]
21:19:17:413: Exception: document.body.currentStyle is undefined Source File: http://scary.beasts.org/misc/twitter.html Line: 0, Column: 8 Category: content javascript

But the Error Console picks up one more:

Error: The stylesheet http://twitter.com/scarybeaststest was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://scary.beasts.org/misc/twitter.html
Line: 0

The Web Console should show this message in between the second GET and the "document.body.currentStyle is undefined" message.

(Note: Yes, the URL is an exploit PoC.  We already fixed that bug. :-)
I think this is a duplicate of bug 595934.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.