Bug 1619197 Added .opus file to audiofilter r=hsivonen
authorAkshat Dixit <Akshat Dixit> <Akshat Dixit>
Mon, 18 Jan 2021 09:18:43 +0000
changeset 563531 20be56fe1d22cde4808066468fffff854c885939
parent 563530 c392ef336132d0ac904b1d773b97f211fd811836
child 563532 0dfb27633c1d1cad734cf2d410c8fbad4f58c9e8
push id38115
push usercbrindusan@mozilla.com
push dateMon, 18 Jan 2021 21:42:32 +0000
treeherdermozilla-central@10e78dae989c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsivonen
bugs1619197
milestone86.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1619197 Added .opus file to audiofilter r=hsivonen Differential Revision: https://phabricator.services.mozilla.com/D100526
dom/html/test/forms/test_input_file_picker.html
toolkit/content/filepicker.properties
--- a/dom/html/test/forms/test_input_file_picker.html
+++ b/dom/html/test/forms/test_input_file_picker.html
@@ -76,17 +76,19 @@
 SimpleTest.waitForExplicitFinish();
 SimpleTest.requestFlakyTimeout("untriaged");
 
 var MockFilePicker = SpecialPowers.MockFilePicker;
 MockFilePicker.init(window);
 
 // The following lists are from toolkit/content/filepicker.properties which is used by filePicker
 var imageExtensionList = "*.jpe; *.jpg; *.jpeg; *.gif; *.png; *.bmp; *.ico; *.svg; *.svgz; *.tif; *.tiff; *.ai; *.drw; *.pct; *.psp; *.xcf; *.psd; *.raw; *.webp"
-var audioExtensionList = "*.aac; *.aif; *.flac; *.iff; *.m4a; *.m4b; *.mid; *.midi; *.mp3; *.mpa; *.mpc; *.oga; *.ogg; *.ra; *.ram; *.snd; *.wav; *.wma"
+
+var audioExtensionList = "*.aac; *.aif; *.flac; *.iff; *.m4a; *.m4b; *.mid; *.midi; *.mp3; *.mpa; *.mpc; *.oga; *.ogg; *.opus; *.ra; *.ram; *.snd; *.wav; *.wma"
+
 var videoExtensionList = "*.avi; *.divx; *.flv; *.m4v; *.mkv; *.mov; *.mp4; *.mpeg; *.mpg; *.ogm; *.ogv; *.ogx; *.rm; *.rmvb; *.smil; *.webm; *.wmv; *.xvid"
 
 // [ element name | number of filters | extension list or filter mask | filter index ]
 var testData = [["a", 1, MockFilePicker.filterImages, 1],
                 ["b", 1, MockFilePicker.filterAudio, 1],
                 ["c", 1, MockFilePicker.filterVideo, 1],
                 ["d", 3, imageExtensionList + "; " + audioExtensionList, 1],
                 ["e", 3, imageExtensionList + "; " + videoExtensionList, 1],
--- a/toolkit/content/filepicker.properties
+++ b/toolkit/content/filepicker.properties
@@ -3,10 +3,10 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 allFilter=*
 htmlFilter=*.html; *.htm; *.shtml; *.xhtml
 textFilter=*.txt; *.text
 imageFilter=*.jpe; *.jpg; *.jpeg; *.gif; *.png; *.bmp; *.ico; *.svg; *.svgz; *.tif; *.tiff; *.ai; *.drw; *.pct; *.psp; *.xcf; *.psd; *.raw; *.webp
 xmlFilter=*.xml
 xulFilter=*.xul
-audioFilter=*.aac; *.aif; *.flac; *.iff; *.m4a; *.m4b; *.mid; *.midi; *.mp3; *.mpa; *.mpc; *.oga; *.ogg; *.ra; *.ram; *.snd; *.wav; *.wma
+audioFilter=*.aac; *.aif; *.flac; *.iff; *.m4a; *.m4b; *.mid; *.midi; *.mp3; *.mpa; *.mpc; *.oga; *.ogg; *.opus; *.ra; *.ram; *.snd; *.wav; *.wma
 videoFilter=*.avi; *.divx; *.flv; *.m4v; *.mkv; *.mov; *.mp4; *.mpeg; *.mpg; *.ogm; *.ogv; *.ogx; *.rm; *.rmvb; *.smil; *.webm; *.wmv; *.xvid