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..1e4cbb4712587c7de0fd930d300343b4a541ad86 |
--- /dev/null |
+++ b/LayoutTests/fast/events/window-onerror-05.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script> |
+ window.isOnErrorTest = true; |
+ </script> |
+ <script src="../js/resources/js-test-pre.js"></script> |
+ <script src="resources/onerror-test.js"></script> |
+</head> |
+<body> |
+ <script> |
+ dumpOnErrorArgumentValuesAndReturn(true); |
+ </script> |
+ <script> |
+ a) // This syntax error is intentional. |
+ </script> |
+ <script src="../js/resources/js-test-post.js"></script> |
+</body> |
+</html> |