blob: 1c17c6e35c0249538cab4e79287e129f299bb03a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<html>
<head>
<script>
window.addEventListener("load", () => {
const context = new AudioContext({})
const controller = new AbortController()
let processor = context.createScriptProcessor(512, 27, 2)
processor.addEventListener("audioprocess", async () => {}, { signal: controller.signal })
processor = null;
SpecialPowers.forceGC()
for (let i = 0; i < 7; i++) {
controller.abort();
}
})
</script>
</head>
</html>
|