blob: 6deea53a26998da8255ebbf1f94de23ddf606115 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description(
"This test makes sure we don't crash when throwing an error with a very large message"
);
var thrown = false;
try {
throw 'a'.repeat(2 ** 31 - 100);
} catch(e) {
console.log(e);
}
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>