Open Bug 1380232 Opened 7 years ago Updated 2 years ago

Wrong error message when a video document opens a non-existent file

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jwwang, Unassigned)

References

Details

Open this link in the URL bar: https://raw.githubusercontent.com/mozilla/gecko-dev/master/dom/media/test/nosuchfile.mp4.

FF shows "Video format or MIME type is not supported" while Chrome shows "404: Not Found".

We should show 404 as well instead of creating a video document to load a resource that doesn't exist at all.
See Also: → 1376004
Not sure which component does this bug belong to. Should it be DOM or Network?
Flags: needinfo?(cpearce)
Component: Audio/Video → Audio/Video: Playback
This seems like a dupe of bug 1376004? The video document creates a video element which has controls enabled.
Flags: needinfo?(cpearce)
No. I think our sniffer should detect 404 without creating a video document at all. I wonder how our sniffer chooses to open a 404 link with a video document.
I can't really mark this as a P1 but would love for someone to fix it.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.