Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /webaudio/the-audio-api/the-audiobuffer-interface/crashtests/copyFromChannel-bufferOffset-1.html - WPT Dashboard Interop Dashboard
<html>
<head>
<title>Test large bufferOffset in copyFromChannel()</title>
</head>
<script>
const a = new AudioBuffer({length: 0x51986, sampleRate: 44100});
const b = new Float32Array(0x10);
a.getChannelData(0); // to avoid zero data optimization
a.copyFromChannel(b, 0, 0x1523c7cc)
</script>
</html>