1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<!DOCTYPE HTML>
<html>
<head>
<title>Crashtest for bug 875402</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.waitForExplicitFinish();
SimpleTest.requestFlakyTimeout("This test is generated by a fuzzer, so we leave these setTimeouts untouched.");
try { o1 = new OfflineAudioContext(1, 10, (new AudioContext()).sampleRate); } catch(e) { }
try { o2 = o1.createScriptProcessor(); } catch(e) { }
try { o4 = new OfflineAudioContext(1, 10, (new AudioContext()).sampleRate); } catch(e) { }
try { o5 = o1.createChannelSplitter(4); } catch(e) { }
try { o7 = o4.createScriptProcessor(1024, 4, 1); } catch(e) { }
SpecialPowers.forceCC();
SpecialPowers.forceGC();
try { o1.startRendering(); } catch(e) { }
try { o2.connect(o7); } catch(e) { }
try { o7.connect(o4); } catch(e) { }
try { o9 = o4.createScriptProcessor(1024, 1, 4); } catch(e) { }
try { o2.connect(o7); } catch(e) { }
try { o9.connect(o1); } catch(e) { }
setTimeout("try { o2.connect(o9); } catch(e) { } done();",1000)
try { o7.connect(o4); } catch(e) { }
setTimeout("try { o5.disconnect() } catch(e) { }",100)
try { o2.connect(o9); } catch(e) { }
try { o4.startRendering(); } catch(e) { }
try { o2.connect(o9); } catch(e) { }
setTimeout("try { o7.connect(o4); } catch(e) { }",50)
try { o13 = o4.createGain(); } catch(e) { }
setTimeout("try { o7.connect(o13, 0, 0) } catch(e) { }",50)
function done() {
ok(true, "We did not crash.");
SimpleTest.finish();
}
</script>
</pre>
</body>
</html>
|