tenfourfox/testing/web-platform/tests/resources/examples/apisample4.htm

17 lines
373 B
HTML
Raw Normal View History

2017-04-19 07:56:45 +00:00
<!DOCTYPE HTML>
<html>
<head>
<title>Harness Handling Uncaught Exception</title>
</head>
<script src="../testharness.js"></script>
<body>
<h1>Harness Handling Uncaught Exception</h1>
<div id="log"></div>
<script>
var t = async_test("This should show a harness status of 'Error' and a test status of 'Not Run'");
throw new Error("Example Error");
</script>
</body>
</html>