| Index: LayoutTests/fast/events/window-onerror-03.html
|
| diff --git a/LayoutTests/fast/events/window-onerror-03.html b/LayoutTests/fast/events/window-onerror-03.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5a7c42b57f3b8690f72c2626d0dc6647c614bbc0
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/events/window-onerror-03.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <script src="resources/onerror-test.js"></script>
|
| + <script>
|
| + DumpOnErrorArgumentValuesAndReturn(true);
|
| +
|
| + function test()
|
| + {
|
| + eval("1=2"); // caught by window.onerror
|
| + }
|
| + </script>
|
| +</head>
|
| +<body onload="test();">
|
| + <p>This test should trigger 'window.onerror', and successfully handle the error.</p>
|
| +</body>
|
| +</html>
|
|
|