blob: d04c3e70190773418fdea86af38baafc042b29b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<title>Test ImageDecoder destruction w/ ReadableStream doesn't crash.</title>
<body>
<script>
let iframe = document.createElement('iframe');
document.body.appendChild(iframe);
let decoder = new iframe.contentWindow.ImageDecoder({
data: new Blob(['blob']).stream(),
type: 'image/jpeg',
});
document.querySelector('body').remove();
</script>
</body>
|