tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_bug875221.html (11122B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>Crashtest for bug 875221</title>
      5  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      6  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
      7 </head>
      8 <body>
      9 <pre id="test">
     10 <script class="testbody" type="text/javascript">
     11 /* eslint-disable no-implied-eval */
     12 
     13 SimpleTest.waitForExplicitFinish();
     14 SimpleTest.requestFlakyTimeout("This test is generated by a fuzzer, so we leave these setTimeouts untouched.");
     15 
     16 let o0, o1, o2, o3, o4, o5, o6, o7, o8, o9, o10;
     17 let o11, o12, o13, o14, o15, o16, o17, o18, o19;
     18 
     19 try { o0 = document.createElement('audio'); } catch(e) {  }
     20 try { (document.body || document.documentElement).appendChild(o0); } catch(e) {  }
     21 try { o1 = new OfflineAudioContext(1, 10, (new AudioContext()).sampleRate); } catch(e) {  }
     22 try { o1.startRendering(); } catch(e) {  }
     23 try { o1.listener.dopplerFactor = 1; } catch(e) {  }
     24 try { o2 = o1.createScriptProcessor(); } catch(e) {  }
     25 try { o3 = o1.createChannelMerger(4); } catch(e) {  }
     26 try { o1.listener.dopplerFactor = 3; } catch(e) {  }
     27 try { o1.listener.setPosition(0, 134217728, 64) } catch(e) {  }
     28 try { o1.listener.dopplerFactor = 15; } catch(e) {  }
     29 try { o1.startRendering(); } catch(e) {  }
     30 try { o4 = new OfflineAudioContext(1, 10, (new AudioContext()).sampleRate); } catch(e) {  }
     31 try { o4.listener.speedOfSound = 2048; } catch(e) {  }
     32 try { o4.listener.setPosition(32768, 1, 1) } catch(e) {  }
     33 try { o5 = o1.createChannelSplitter(4); } catch(e) {  }
     34 try { o4.listener.setVelocity(4, 1, 0) } catch(e) {  }
     35 try { o4.startRendering(); } catch(e) {  }
     36 try { o4.startRendering(); } catch(e) {  }
     37 try { o4.listener.setPosition(64, 1, 0) } catch(e) {  }
     38 try { o1.listener.setOrientation(4194304, 15, 8388608, 15, 1, 1) } catch(e) {  }
     39 try { o1.listener.dopplerFactor = 256; } catch(e) {  }
     40 try { o6 = o4.createDelay(16); } catch(e) {  }
     41 try { o4.startRendering(); } catch(e) {  }
     42 try { o4.listener.setOrientation(0, 1, 0, 0, 31, 1073741824) } catch(e) {  }
     43 try { o4.listener.speedOfSound = 1; } catch(e) {  }
     44 try { o1.listener.speedOfSound = 0; } catch(e) {  }
     45 try { o1.startRendering(); } catch(e) {  }
     46 try { o6.connect(o3, 1, 0) } catch(e) {  }
     47 try { o1.listener.setPosition(4294967296, 32, 1) } catch(e) {  }
     48 try { o1.listener.speedOfSound = 0; } catch(e) {  }
     49 try { o1.listener.speedOfSound = 0; } catch(e) {  }
     50 try { o1.listener.setVelocity(1, 256, 0) } catch(e) {  }
     51 try { o4.startRendering(); } catch(e) {  }
     52 try { o3.disconnect() } catch(e) {  }
     53 setTimeout("try { o4.startRendering(); } catch(e) {  }",50)
     54 try { o4.listener.setOrientation(0, 0, 2048, 128, 16384, 127) } catch(e) {  }
     55 try { o4.listener.setVelocity(0, 4, 1) } catch(e) {  }
     56 try { o7 = o4.createScriptProcessor(1024, 4, 1); } catch(e) {  }
     57 try { o8 = o4.createDynamicsCompressor(); } catch(e) {  }
     58 try { o1.startRendering(); } catch(e) {  }
     59 try { o2.connect(o7); } catch(e) {  }
     60 try { o7.connect(o4); } catch(e) {  }
     61 try { o2.connect(o7); } catch(e) {  }
     62 try { o7.connect(o4); } catch(e) {  }
     63 SpecialPowers.forceCC();
     64 SpecialPowers.forceGC();
     65 try { o4.listener.setOrientation(8192, 1, 1, 512, 0, 15) } catch(e) {  }
     66 setTimeout("try { o7.onaudioprocess = function() {}; } catch(e) {  }",50)
     67 try { o1.startRendering(); } catch(e) {  }
     68 try { o1.listener.speedOfSound = 1073741824; } catch(e) {  }
     69 try { o2.connect(o7); } catch(e) {  }
     70 try { o7.connect(o4); } catch(e) {  }
     71 try { o9 = o4.createScriptProcessor(1024, 1, 4); } catch(e) {  }
     72 try { o10 = o4.createAnalyser(); } catch(e) {  }
     73 try { o4.listener.speedOfSound = 0; } catch(e) {  }
     74 try { o2.connect(o7); } catch(e) {  }
     75 try { o9.connect(o1); } catch(e) {  }
     76 try { o4.listener.setVelocity(524288, 1, 65536) } catch(e) {  }
     77 setTimeout("try { o2.connect(o9); } catch(e) {  } setTimeout(done, 0);",1000)
     78 try { o7.connect(o4); } catch(e) {  }
     79 try { o1.listener.setVelocity(1, 127, 31) } catch(e) {  }
     80 try { o2.connect(o7); } catch(e) {  }
     81 try { o7.connect(o1); } catch(e) {  }
     82 setTimeout("try { o5.disconnect() } catch(e) {  }",100)
     83 try { o2.connect(o9); } catch(e) {  }
     84 try { o7.connect(o4); } catch(e) {  }
     85 try { o4.startRendering(); } catch(e) {  }
     86 setTimeout("try { o1.listener.dopplerFactor = 1; } catch(e) {  }",100)
     87 try { o5.disconnect() } catch(e) {  }
     88 try { o1.startRendering(); } catch(e) {  }
     89 try { o1.startRendering(); } catch(e) {  }
     90 try { o10.disconnect() } catch(e) {  }
     91 try { o1.startRendering(); } catch(e) {  }
     92 try { o11 = o1.createGain(); } catch(e) {  }
     93 try { o2.connect(o7); } catch(e) {  }
     94 try { o9.connect(o4); } catch(e) {  }
     95 try { o4.listener.setOrientation(31, 0, 15, 0, 33554432, 1) } catch(e) {  }
     96 try { o4.listener.dopplerFactor = 1; } catch(e) {  }
     97 try { o2.connect(o7); } catch(e) {  }
     98 try { o7.connect(o4); } catch(e) {  }
     99 try { o2.connect(o7); } catch(e) {  }
    100 setTimeout("try { o9.connect(o4); } catch(e) {  }",50)
    101 try { o2.connect(o9); } catch(e) {  }
    102 setTimeout("try { o9.connect(o1); } catch(e) {  }",200)
    103 try { o2.connect(o7); } catch(e) {  }
    104 try { o7.connect(o1); } catch(e) {  }
    105 try { o12 = o4.createDynamicsCompressor(); } catch(e) {  }
    106 try { o2.connect(o7); } catch(e) {  }
    107 try { o9.connect(o1); } catch(e) {  }
    108 try { o9.onaudioprocess = function() {}; } catch(e) {  }
    109 try { o1.listener.speedOfSound = 262144; } catch(e) {  }
    110 try { o2.connect(o7); } catch(e) {  }
    111 try { o7.connect(o4); } catch(e) {  }
    112 try { o2.connect(o9); } catch(e) {  }
    113 setTimeout("try { o7.connect(o4); } catch(e) {  }",50)
    114 try { o2.connect(o9); } catch(e) {  }
    115 try { o7.connect(o4); } catch(e) {  }
    116 try { o13 = o4.createGain(); } catch(e) {  }
    117 try { o4.listener.dopplerFactor = 31; } catch(e) {  }
    118 try { o11.gain.value = 268435456; } catch(e) {  }
    119 try { o1.listener.setOrientation(63, 3, 1, 63, 1, 2147483648) } catch(e) {  }
    120 try { o2.connect(o9); } catch(e) {  }
    121 try { o7.connect(o4); } catch(e) {  }
    122 try { o4.listener.setVelocity(1, 0, 1) } catch(e) {  }
    123 try { o11.gain.value = 65536; } catch(e) {  }
    124 try { o2.connect(o9); } catch(e) {  }
    125 setTimeout("try { o7.connect(o4); } catch(e) {  }",200)
    126 try { o14 = o4.createDynamicsCompressor(); } catch(e) {  }
    127 setTimeout("try { o2.connect(o9); } catch(e) {  }",50)
    128 try { o7.connect(o1); } catch(e) {  }
    129 try { o15 = o1.createWaveShaper(); } catch(e) {  }
    130 try { o2.connect(o7); } catch(e) {  }
    131 try { o7.connect(o1); } catch(e) {  }
    132 try { o16 = o1.createWaveShaper(); } catch(e) {  }
    133 try { o11.gain.value = 1; } catch(e) {  }
    134 try { o1.listener.speedOfSound = 16; } catch(e) {  }
    135 try { o4.listener.setVelocity(0, 127, 15) } catch(e) {  }
    136 try { o1.listener.setVelocity(0, 2048, 16777216) } catch(e) {  }
    137 try { o13.gain.value = 0; } catch(e) {  }
    138 try { o2.connect(o9); } catch(e) {  }
    139 try { o7.connect(o4); } catch(e) {  }
    140 try { o2.connect(o9); } catch(e) {  }
    141 try { o9.connect(o1); } catch(e) {  }
    142 try { o17 = document.createElement('audio'); } catch(e) {  }
    143 try { (document.body || document.documentElement).appendChild(o0); } catch(e) {  }
    144 try { o4.listener.setVelocity(3, 1, 256) } catch(e) {  }
    145 try { o11.gain.cancelScheduledValues(1) } catch(e) {  }
    146 try { o1.listener.dopplerFactor = 524288; } catch(e) {  }
    147 try { o9.onaudioprocess = function() {}; } catch(e) {  }
    148 setTimeout("try { o7.connect(o13, 0, 0) } catch(e) {  }",50)
    149 try { o1.listener.speedOfSound = 0; } catch(e) {  }
    150 try { o10.disconnect() } catch(e) {  }
    151 try { o2.connect(o9); } catch(e) {  }
    152 try { o9.connect(o4); } catch(e) {  }
    153 try { o2.connect(o7); } catch(e) {  }
    154 try { o9.connect(o4); } catch(e) {  }
    155 try { o1.listener.speedOfSound = 1; } catch(e) {  }
    156 try { o15.disconnect() } catch(e) {  }
    157 try { o11.gain.exponentialRampToValueAtTime(0, 15) } catch(e) {  }
    158 try { o15.curve = new Float32Array(15); } catch(e) {  }
    159 try { o4.listener.setVelocity(1, 1, 1) } catch(e) {  }
    160 try { o14.connect(o6, 0, 0) } catch(e) {  }
    161 try { o2.connect(o9); } catch(e) {  }
    162 try { o9.connect(o1); } catch(e) {  }
    163 try { o2.connect(o9); } catch(e) {  }
    164 try { o7.connect(o4); } catch(e) {  }
    165 try { o2.connect(o7); } catch(e) {  }
    166 setTimeout("try { o7.connect(o1); } catch(e) {  }",100)
    167 try { o4.listener.setVelocity(1, 7, 1) } catch(e) {  }
    168 try { o18 = document.createElement('audio'); } catch(e) {  }
    169 try { (document.body || document.documentElement).appendChild(o18); } catch(e) {  }
    170 try { o19 = o4.createGain(); } catch(e) {  }
    171 try { o2.connect(o7); } catch(e) {  }
    172 try { o7.connect(o1); } catch(e) {  }
    173 try { o4.listener.dopplerFactor = 0; } catch(e) {  }
    174 try { o1.listener.setPosition(256, 16, 1) } catch(e) {  }
    175 setTimeout("try { o2.connect(o9); } catch(e) {  }",50)
    176 try { o7.connect(o1); } catch(e) {  }
    177 try { o4.listener.speedOfSound = 31; } catch(e) {  }
    178 try { o2.connect(o7); } catch(e) {  }
    179 setTimeout("try { o9.connect(o4); } catch(e) {  }",1000)
    180 try { o11.gain.value = 127; } catch(e) {  }
    181 try { o7.connect(o7, 0, 0) } catch(e) {  }
    182 try { o4.listener.speedOfSound = 63; } catch(e) {  }
    183 try { o11.gain.value = 33554432; } catch(e) {  }
    184 try { o2.connect(o7); } catch(e) {  }
    185 try { o9.connect(o4); } catch(e) {  }
    186 try { o4.listener.speedOfSound = 16; } catch(e) {  }
    187 try { o4.listener.setVelocity(1048576, 0, 127) } catch(e) {  }
    188 try { o1.listener.dopplerFactor = 0; } catch(e) {  }
    189 try { o6.connect(o2, 0, 1) } catch(e) {  }
    190 try { o5.disconnect() } catch(e) {  }
    191 try { o3.disconnect() } catch(e) {  }
    192 try { o2.connect(o9); } catch(e) {  }
    193 try { o7.connect(o1); } catch(e) {  }
    194 try { o16.disconnect() } catch(e) {  }
    195 try { o2.connect(o9); } catch(e) {  }
    196 try { o7.connect(o1); } catch(e) {  }
    197 try { o9.disconnect() } catch(e) {  }
    198 try { o4.listener.speedOfSound = 1; } catch(e) {  }
    199 try { o2.connect(o7); } catch(e) {  }
    200 try { o7.connect(o4); } catch(e) {  }
    201 try { o11.gain.setValueCurveAtTime(new Float32Array(3), 2048, 3) } catch(e) {  }
    202 try { o13.gain.value = 8; } catch(e) {  }
    203 try { o2.connect(o7); } catch(e) {  }
    204 try { o9.connect(o4); } catch(e) {  }
    205 try { o4.listener.setOrientation(1, 2048, 1, 1, 0, 31) } catch(e) {  }
    206 try { o2.connect(o9); } catch(e) {  }
    207 try { o7.connect(o1); } catch(e) {  }
    208 try { o1.listener.speedOfSound = 256; } catch(e) {  }
    209 try { o2.connect(o7); } catch(e) {  }
    210 try { o9.connect(o4); } catch(e) {  }
    211 try { o4.listener.setVelocity(1, 67108864, 128) } catch(e) {  }
    212 setTimeout("try { o1.listener.setVelocity(0, 1, 1) } catch(e) {  }",100)
    213 try { o2.connect(o9); } catch(e) {  }
    214 try { o9.connect(o1); } catch(e) {  }
    215 setTimeout("try { o20 = o1.createBiquadFilter(); } catch(e) {  }",200)
    216 try { o13.gain.value = 4096; } catch(e) {  }
    217 try { o1.listener.dopplerFactor = 0; } catch(e) {  }
    218 try { o2.connect(o7); } catch(e) {  }
    219 try { o9.connect(o1); } catch(e) {  }
    220 try { o2.connect(o9); } catch(e) {  }
    221 try { o7.connect(o4); } catch(e) {  }
    222 setTimeout("try { o2.connect(o9); } catch(e) {  }",200)
    223 try { o7.connect(o1); } catch(e) {  }
    224 try { o3.connect(o15, 1, 1) } catch(e) {  }
    225 try { o2.connect(o12, 0, 0) } catch(e) {  }
    226 try { o19.gain.exponentialRampToValueAtTime(1, 0) } catch(e) {  }
    227 try { o2.connect(o7); } catch(e) {  }
    228 try { o7.connect(o4); } catch(e) {  }
    229 try { o2.connect(o7); } catch(e) {  }
    230 try { o9.connect(o1); } catch(e) {  }
    231 try { o2.connect(o7); } catch(e) {  }
    232 try { o7.connect(o4); } catch(e) {  }
    233 
    234 function done() {
    235  ok(true, "We did not crash.");
    236  SimpleTest.finish();
    237 }
    238 
    239 
    240 </script>
    241 </pre>
    242 </body>
    243 </html>