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