Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 1: Update make-headers.sh to add headers for m4s files - r=edwin
authorGerald Squelart <from_mozilla@squelart.com>
Tue, 14 Apr 2015 17:52:56 +1000
changeset 239208 d0828107f8875e5f575350ed49d92a6f8f6d35f7
parent 239207 c13eef766b753a991ef57fd0eee0448c422e1862
child 239209 b385aa775aefef6b22adfb4285832d71a7e8c1b1
push idunknown
push userunknown
push dateunknown
reviewersedwin
bugs1151665
milestone40.0a1
Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 1: Update make-headers.sh to add headers for m4s files - r=edwin
dom/media/test/make-headers.sh
--- a/dom/media/test/make-headers.sh
+++ b/dom/media/test/make-headers.sh
@@ -3,19 +3,19 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Script to generate ^header^ files for all media files we use.
 # This is to ensure that our media files are not cached by necko,
 # so that our detection as to whether the server supports byte range
 # requests is not interferred with by Necko's cache. See bug 977398
 # for details. Necko will fix this in bug 977314. 
 
-FILES=(`ls *.ogg *.ogv *.webm *.mp3 *.opus *.mp4 *.wav`)
+FILES=(`ls *.ogg *.ogv *.webm *.mp3 *.opus *.mp4 *.m4s *.wav`)
 
-rm *.ogg^headers^ *.ogv^headers^ *.webm^headers^ *.mp3^headers^ *.opus^headers^ *.mp4^headers^ *.wav^headers^
+rm -f *.ogg^headers^ *.ogv^headers^ *.webm^headers^ *.mp3^headers^ *.opus^headers^ *.mp4^headers^ *.m4s^headers^ *.wav^headers^
 
 # Restore special headers.
 echo "X-Content-Duration: 1.96" > bug500311.ogv^headers^
 echo "X-Content-Duration: 9000" > bug520908.ogv^headers^
 
 for i in "${FILES[@]}"
 do
   echo "Cache-Control: no-store" >> $i^headers^