Open
Bug 1088603
Opened 11 years ago
Updated 3 years ago
404 JavaScript files are reported as html files in the network panel in the devtools
Categories
(DevTools :: Netmonitor, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: gundersen, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141011015303
Steps to reproduce:
Creat an html page with a <script src="this/does/not/exist.js"></script> element, making sure the js file doesn't exist on the server. The server will return a 404 page which is text/html for the js file, rather than tex/javascript.
Actual results:
The missing js file is reported by the network panel in the devtools, but it is marked as being of type html. It is only visible when the "All" filter or "HTML" filter is set at the bottom of the network panel in the devtools.
Expected results:
The missing js file should show up when the JS filter is selected at the bottom of the network panel in the devtools. The type should be based on how the file was fetched (from a <script> tag), not on the Content-Type in the server response.
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•