blob: 038006748a4f1f8d6a098d8e85f04ded37395ea8 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body onload='load()'>
<script>
description("Regression test for https://bugs.webkit.org/show_bug.cgi?id=30774. This test passes if it doesn't crash.");
// Force string conversion of error objects to throw exceptions.
Error.prototype.toString = function() { throw 0; }
// Force a stack-overflow in the onload handler.
function load() { load(); }
</script>
</body>
</html>