Chromium Code Reviews| Index: LayoutTests/fast/events/window-errorevent-01.html |
| diff --git a/LayoutTests/fast/events/window-errorevent-01.html b/LayoutTests/fast/events/window-errorevent-01.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..95dce498e797ad25081aeb76fed3fbcb1b9ee240 |
| --- /dev/null |
| +++ b/LayoutTests/fast/events/window-errorevent-01.html |
| @@ -0,0 +1,17 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<head> |
| + <script src="../js/resources/js-test-pre.js"></script> |
| + <script src="resources/onerror-test.js"></script> |
| + <script> |
| + DumpErrorEventAndPreventDefault(); |
| + </script> |
| +</head> |
| +<body> |
| + <p>This test should trigger 'window.onerror', and successfully handle the error.</p> |
|
do-not-use
2013/07/24 15:46:16
Maybe I'm misreading the diff but this new test do
Mike West
2013/07/25 08:09:42
Ugh. This expectation was indeed missing. That's f
|
| + <script> |
| + throwException(); |
| + </script> |
| + <script src="../js/resources/js-test-post.js"></script> |
| +</body> |
| +</html> |