| Index: LayoutTests/fast/events/window-onerror-01.html
|
| diff --git a/LayoutTests/fast/events/window-onerror-01.html b/LayoutTests/fast/events/window-onerror-01.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b84b9024a4ee5c1aab65d6e49c37b3c5d195b9e6
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/events/window-onerror-01.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 successfully handle the error.");
|
| + dumpOnErrorArgumentValuesAndReturn(true);
|
| + hahaha_good_luck_finding_me(); // caught by window.onerror
|
| + </script>
|
| + <script src="../js/resources/js-test-post.js"></script>
|
| +</body>
|
| +</html>
|
|
|