summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/examples/apisample4.htm
blob: c8fbbded695fd65d46c604936da8c9a83d588442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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>