blob: 0299b8131bc5cd140f1c6bd53c0345836c6b01a9 [file] [log] [blame]
<html>
<head>
<script src="../../resources/js-test-pre.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>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>