Skip to content

Commit

Permalink
Bug 1725190 - Incorrect file extension when downloading CR3 files. r=…
Browse files Browse the repository at this point in the history
…jolin

Add failing test

Differential Revision: https://phabricator.services.mozilla.com/D127290
  • Loading branch information
baumanj committed Oct 6, 2021
1 parent 9c9b9ff commit 67849aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ const tests = [
{ path: "data/bug1079747.mp4", expected: "application/octet-stream" },
// An MP3 bytestream in a RIFF container, truncated to 512 bytes.
{ path: "data/mp3-in-riff.wav", expected: "audio/mpeg" },
// The sniffing-relevant portion of a Canon raw image
{ path: "data/bug1725190.cr3", expected: "application/octet-stream" },
];

// A basic listener that reads checks the if we sniffed properly.
Expand Down
1 change: 1 addition & 0 deletions toolkit/components/mediasniffer/test/unit/xpcshell.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ head =
skip-if = toolkit == 'android'
support-files =
data/bug1079747.mp4
data/bug1725190.cr3
data/detodos.mp3
data/ff-inst.exe
data/file.mkv
Expand Down

0 comments on commit 67849aa

Please sign in to comment.