Bug 943461. Part 12: Remove spurious ScriptProcessorNode from test. r=karl
authorRobert O'Callahan <robert@ocallahan.org>
Tue, 10 Dec 2013 13:49:03 +1300
changeset 162330 76bf4bf3492623c86ed86b66e1c6abc3c0a0b3cc
parent 162329 c735d3475955280cfd887d45374d6430acc628c8
child 162331 adc635735f62f4a3aabb845a43044679acff604a
push idunknown
push userunknown
push dateunknown
reviewerskarl
bugs943461
milestone29.0a1
Bug 943461. Part 12: Remove spurious ScriptProcessorNode from test. r=karl
content/media/webaudio/test/test_audioBufferSourceNode.html
--- a/content/media/webaudio/test/test_audioBufferSourceNode.html
+++ b/content/media/webaudio/test/test_audioBufferSourceNode.html
@@ -14,18 +14,16 @@ var gTest = {
   length: 4096,
   createGraph: function(context) {
     var buffer = context.createBuffer(1, 2048, context.sampleRate);
     for (var i = 0; i < 2048; ++i) {
       buffer.getChannelData(0)[i] = Math.sin(440 * 2 * Math.PI * i / context.sampleRate);
     }
 
     var source = context.createBufferSource();
-
-    var sp = context.createScriptProcessor(2048);
     source.start(0);
     source.buffer = buffer;
     return source;
   },
   createExpectedBuffers: function(context) {
     var buffers = [];
     var buffer = context.createBuffer(2, 2048, context.sampleRate);
     for (var i = 0; i < 2048; ++i) {