blob: 4c960186e0d29885aebeb379181ed181ccc26d1d [file] [log] [blame] [edit]
<!DOCTYPE HTML>
<html>
<head>
<meta name="variant" content="">
<meta name="variant" content="?keep-promise">
<title>Harness Handling Uncaught Exception</title>
<script src="../../variants.js"></script>
</head>
<script src="/resources/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>
<script type="text/json" id="expected">
{
"summarized_status": {
"status_string": "ERROR",
"message": "Error: Example Error"
},
"summarized_tests": [
{
"status_string": "NOTRUN",
"name": "This should show a harness status of 'Error' and a test status of 'Not Run'",
"properties": {},
"message": null
}
],
"type": "complete"
}
</script>
</body>
</html>