<html> | |
<head> | |
<base href="/inspector-debug/"></base> | |
<script src="/inspector-debug/Runtime.js"></script> | |
<script src="/inspector-unit/inspector-unit-test.js"></script> | |
<script> | |
function test() | |
{ | |
setTimeout(_ => { throw {stack: "This error is expected"} }, 0); | |
} | |
</script> | |
</head> | |
<body> | |
Tests that a test will properly exit if it has an asynchronous error. | |
</body> | |
</html> |