Closed Bug 1363618 Opened 9 years ago Closed 9 years ago

Opening a .dmg URL results in "Video format or MIME type is not supported"

Categories

(Core :: Audio/Video: Playback, defect)

55 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 --- fixed

People

(Reporter: mozbugz, Assigned: jya)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

Reported in https://github.com/webcompat/web-bugs/issues/6565: """ URL: https://www.charlessoft.com/pacifist_download/Pacifist_3.5.12.dmg Browser / Version: Firefox 55.0 Operating System: Mac OS X 10.12 Problem type: Video doesn't play Steps to Reproduce Navigate to: https://www.charlessoft.com/pacifist_download/Pacifist_3.5.12.dmg … Expected Behavior: Download disk image file Actual Behavior: "Video format or MIME type is not supported" message Technical Information: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR (0x806e0006) Resource: https://www.charlessoft.com/cgi-bin/pacifist_download.cgi?type=dmg From webcompat.com with ❤️ """ This URL pops a download box (as expected) on FF beta 54 and release 53. It shows the not-supported error on FF nightly 55, I tried on both Mac and Windows. (It's still possible to download the file by going to the parent directory, right-clicking on the file and selecting "Save Link as...")
In 55 we added the AAC ADTS sniffer. Maybe the signature in this dmg looks too much like AAC
Flags: needinfo?(jyavenard)
Component: Audio/Video → Audio/Video: Playback
Assignee: nobody → jyavenard
Blocks: 1355933
Flags: needinfo?(jyavenard)
Keywords: regression
it is the ADTS sniffer :(
This dmg actually contains an AAC blob in there, and the sniffer is looking everywhere. Will modify the sniffer so that the data must start with an ADTS marker... Will be sufficient enough for our need.
Bad sniffer! I think the ADTS stuff would detect a header not at the beginning because streams aren't guaranteed to start with the ADTS header.
Attachment #8866705 - Flags: review?(dglastonbury) → review+
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/40aa1f949308 Only parse blob starting with ADTS marker. r=kamidphish
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: