Index: LayoutTests/fast/events/window-errorevent-02.html |
diff --git a/LayoutTests/fast/events/window-errorevent-02.html b/LayoutTests/fast/events/window-errorevent-02.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..94f5abbbfec61a334987b40363a6faa81d4d2763 |
--- /dev/null |
+++ b/LayoutTests/fast/events/window-errorevent-02.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="resources/onerror-test.js"></script> |
+ <script> |
+ DumpErrorEventAndAllowDefault(); |
+ </script> |
+</head> |
+<body> |
+ <p>This test should trigger 'window.onerror', and successfully handle the error.</p> |
+ <script> |
+ throwException(); |
+ </script> |
+</body> |
+</html> |