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