Open Bug 1438928 Opened 7 years ago Updated 2 years ago

Netmonitor and Webconsole do not report 404 request for <img> with invalid src

Categories

(DevTools :: Netmonitor, defect, P3)

59 Branch
defect

Tracking

(Not tracked)

People

(Reporter: jeff, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180117222144 Steps to reproduce: My php "root" url echo inside an img src was not written correctly, so broken php code displayed in the img url. Image could not load. Actual results: Nothing in console. Expected results: I expected to see the 404 error in the console. Showed chrome console as an example of expected behavior.
Component: Untriaged → Developer Tools
Do you see a 404 request in the Network panel?
Component: Developer Tools → Developer Tools: Console
Flags: needinfo?(jeff)
Summary: Inspector console does not report 404 → Webconsole does not report 404 request for <img> with invalid src
Yes, network panel shows 404 on the image request.
Flags: needinfo?(jeff)
Do you have the "Network" filter enabled ? You need to toggle the filter bar with the filter icon (next to trash icon), and enable "Requests"
Flags: needinfo?(jeff)
If I go to `data:text/html,<meta charset=utf8><style>img {border: 2px solid red;}</style><body>404 img<img src="foo.png"><img src="https://upload.wikimedia.org/wikipedia/commons/d/d2/Mozilla_logo.svg"></body>` I only see the mozilla logo request in the netmonitor, not the foo.png one.
Component: Developer Tools: Console → Developer Tools: Netmonitor
Summary: Webconsole does not report 404 request for <img> with invalid src → Netmonitor and Webconsole do not report 404 request for <img> with invalid src
Product: Firefox → DevTools
I can confirm str in comment #4 I don't see the foo.png image in the list Honza
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(jeff)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: