Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / window-onerror-03.html
blobd57f1cec9e1f680caaaaed5dad99e28448b6370a
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 window.isOnErrorTest = true;
6 </script>
7 <script src="../../resources/js-test.js"></script>
8 <script src="resources/onerror-test.js"></script>
9 </head>
10 <body>
11 <script>
12 description("This test should trigger 'window.onerror', and successfully handle the error.");
13 dumpOnErrorArgumentValuesAndReturn(true);
14 eval("1=2"); // caught by window.onerror
15 </script>
16 </body>
17 </html>