test for bug 952756
authorAtte Kettunen <attekett@gmail.com>
Thu, 06 Feb 2014 08:18:39 +1300
changeset 178129 3eb7ea1fb2d7c48cad80de182668a8a9b87d950b
parent 178128 5282b4fa4cea935add054c75a09d32e6d29b741a
child 178130 a908ed1d0408be43d310715ac363702b245a824c
push id5439
push userffxbld
push dateMon, 17 Mar 2014 23:08:15 +0000
treeherdermozilla-aurora@c0befb3c8038 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs952756
milestone30.0a1
test for bug 952756
content/media/test/crashtests/952756.html
content/media/test/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/media/test/crashtests/952756.html
@@ -0,0 +1,19 @@
+<script>
+var Context0= new AudioContext()
+var BufferSource0=Context0.createBufferSource();
+BufferSource0.buffer=function(){
+	var length=35887;
+	var Buffer=Context0.createBuffer(1,length,Context0.sampleRate);
+	var bufferData= Buffer.getChannelData(0);
+	for (var i = 0; i < length; ++i) { bufferData[i] = Math.sin(i*(0.39765272522345185))};
+	return Buffer;
+}();
+BufferSource0.start(0.01932738965842873,0.33345631847623736,0.3893404237460345);
+BufferSource0.buffer=function(){
+	var length=15952;
+	var Buffer=Context0.createBuffer(1,length,Context0.sampleRate);
+	var bufferData= Buffer.getChannelData(0);
+	for (var i = 0; i < length; ++i) { bufferData[i] = Math.sin(i*(85))};
+	return Buffer;
+}();
+</script>
--- a/content/media/test/crashtests/crashtests.list
+++ b/content/media/test/crashtests/crashtests.list
@@ -57,12 +57,13 @@ load 907986-3.html
 load 907986-4.html
 load 910171-1.html
 load 920987.html
 load 925619-1.html
 load 925619-2.html
 load 926619.html
 load 933151.html
 load 933156.html
+load 952756.html
 load offline-buffer-source-ended-1.html
 skip-if(B2G) load oscillator-ended-1.html # intermittent B2G timeouts, bug 920338
 skip-if(B2G) load oscillator-ended-2.html # intermittent B2G timeouts, bug 920338
 test-pref(media.mediasource.enabled,true) load 926665.html