blob: 587a91fdd4d014ea4ac133dd258a2ba09ebb2769 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
window.isOnErrorTest = true;
</script>
<script src="../../resources/js-test.js"></script>
<script src="resources/onerror-test.js"></script>
</head>
<body>
<script>
description("This test should trigger 'window.onerror', and successfully handle the error.");
dumpOnErrorArgumentValuesAndReturn(true);
unknownObject.unknownProperty++; // caught by window.onerror
</script>
</body>
</html>