Index: LayoutTests/fast/events/window-onerror-05.html |
diff --git a/LayoutTests/fast/events/window-onerror-05.html b/LayoutTests/fast/events/window-onerror-05.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1877cad5f933585acd99c1628472091071ad5394 |
--- /dev/null |
+++ b/LayoutTests/fast/events/window-onerror-05.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="../js/resources/js-test-pre.js"></script> |
+ <script src="resources/onerror-test.js"></script> |
+</head> |
+<body> |
+ <p>This test should trigger 'window.onerror', and successfully handle the error.</p> |
+ <script> |
+ DumpOnErrorArgumentValuesAndReturn(true); |
+ a( // This syntax error is intentional. |
+ </script> |
+ <script src="../js/resources/js-test-post.js"></script> |
+</body> |
+</html> |