2 <script src=
"../../resources/js-test.js"></script>
4 description("Verify that an aborted and stopping FileReader doesn't crash");
6 window
.jsTestIsAsync
= true;
9 testRunner
.dumpAsText();
12 function setReader(r
) {
17 reader
.readAsText(new Blob());
19 document
.body
.removeChild(document
.getElementById('ifr'));
22 testPassed("No crash");
26 <iframe id=ifr
src=
"resources/file-reader-abort-gc-iframe.html"></iframe>