| Index: LayoutTests/fast/events/window-onerror-08.html
|
| diff --git a/LayoutTests/fast/events/window-onerror-08.html b/LayoutTests/fast/events/window-onerror-08.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..801110df6ea95ca90aac6497c7def8e5def477b9
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/events/window-onerror-08.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <script src="resources/onerror-test.js"></script>
|
| + <script>
|
| + window.onerror = function (message) {
|
| + log("window.event.type = " + window.event.type);
|
| + log("window.event.message = " + window.event.message);
|
| + log("window.event.filename = " + stripURL(window.event.filename));
|
| + log("window.event.lineno = " + window.event.lineno);
|
| + return true;
|
| + };
|
| + </script>
|
| +</head>
|
| +<body>
|
| + <p>This tests that when 'window.onerror' handler is called, 'window.event' is the corresponding ErrorEvent object.</p>
|
| + <script>
|
| + throwException()
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|