blob: f1c4aa0df4851e31944c15bc1fdad6bf699cf7d2 [file] [log] [blame]
<!doctype html>
<html>
<head>
<script src="../../http/tests/inspector/resources/inspector-test.js"></script>
<script>
function test()
{
InspectorTest.suppressStackTraces = true;
setTimeout(() => {
throw new Error("This is an exception thrown in the inspector page.");
});
}
</script>
</head>
<body onload="runTest()">
<p>Test that the uncaught exception hook will immediately terminate the test and print the associated exception and stack trace.</p>
</body>
</html>