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..345808e9da4ca78dec4aa43abe3ece1b93f5b64b |
--- /dev/null |
+++ b/LayoutTests/fast/events/window-errorevent-02.html |
@@ -0,0 +1,18 @@ |
+<!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> |
+ description("This test should trigger 'window.onerror', and leave the error unhandled."); |
+ DumpErrorEventAndAllowDefault(); |
+ throwException(); |
+ </script> |
+ <script src="../js/resources/js-test-post.js"></script> |
+</body> |
+</html> |