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

RESOLVED DUPLICATE of bug 567165

Status

RESOLVED DUPLICATE of bug 567165
8 years ago
2 months ago

People

(Reporter: zwol, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
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.

Updated

8 years ago
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 567165

Updated

2 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.