mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
crashtest for bug 1020370 r=padenot
This commit is contained in:
parent
9b2a92cd0e
commit
cefc41986c
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<script>
|
||||
const rate = 44101; // not divisible by 2
|
||||
var context = new window.OfflineAudioContext(1, 512, rate);
|
||||
var buffer = context.createBuffer(1, 128, rate);
|
||||
buffer.getChannelData(0)[0] = 1.0;
|
||||
var source = context.createBufferSource();
|
||||
source.buffer = buffer;
|
||||
source.playbackRate.value = rate / (Math.pow(2, 30) * 1.0000001);
|
||||
source.start(512 / rate);
|
||||
context.startRendering().
|
||||
then(function() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
});
|
||||
</script>
|
@ -84,6 +84,7 @@ load 1185192.html
|
||||
load analyser-channels-1.html
|
||||
load audiocontext-double-suspend.html
|
||||
load buffer-source-ended-1.html
|
||||
load buffer-source-resampling-start-1.html
|
||||
load doppler-1.html
|
||||
HTTP load media-element-source-seek-1.html
|
||||
load offline-buffer-source-ended-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user