Bug 804387. Part 11: Fix testcase to expect correct sample rate. r=roc
☠☠ backed out by 58ea26c5a810 ☠ ☠
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 25 Jan 2013 16:44:28 -0500
changeset 130715 80e8530f06ea05aec86b85bbd7964ebe687959e2
parent 130714 3de2271ad47f5f1f2372702446507702465a0c61
child 130716 684ac55e17bd42c15389b41bcb424ce5b3eb4760
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs804387
milestone21.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 804387. Part 11: Fix testcase to expect correct sample rate. r=roc
content/media/webaudio/test/test_AudioContext.html
--- a/content/media/webaudio/test/test_AudioContext.html
+++ b/content/media/webaudio/test/test_AudioContext.html
@@ -17,17 +17,17 @@ addLoadEvent(function() {
     new AudioContext();
   } catch (e) {
     accessThrows = true;
   }
   ok(accessThrows, "AudioContext should be hidden behind a pref");
   SpecialPowers.setBoolPref("media.webaudio.enabled", true);
   var ac = new AudioContext();
   ok(ac, "Create a AudioContext object");
-  is(ac.sampleRate, 44100, "Correct sample rate");
+  is(ac.sampleRate, 48000, "Correct sample rate");
   SpecialPowers.clearUserPref("media.webaudio.enabled");
   SimpleTest.finish();
 });
 
 </script>
 </pre>
 </body>
 </html>