blob: 1a0bc2481fb1824586b686ac6f30cce9219894f5 [file] [log] [blame]
<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>