blob: a3ea0c3733b2ef6a76f10850dcd63362386fad4a [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test.js"></script>
<script>
description("Test should not crash");
window.jsTestIsAsync = true;
(async () => {
try {
let abortController = new AbortController();
abortController.abort();
GCController.collect();
let x = abortController.signal.reason;
try { x.foo; } catch { }
finishJSTest();
} catch(e) {
console.log("saw exception!!!");
finishJSTest();
}
})();
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>