OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 window.isOnErrorTest = true; | 5 window.isOnErrorTest = true; |
6 </script> | 6 </script> |
7 <script src="../js/resources/js-test-pre.js"></script> | 7 <script src="../js/resources/js-test-pre.js"></script> |
8 <script src="resources/onerror-test.js"></script> | 8 <script src="resources/onerror-test.js"></script> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
(...skipping 15 matching lines...) Expand all Loading... |
26 <script> | 26 <script> |
27 description("This tests that returning true from a page-level handler su
ppresses the exception."); | 27 description("This tests that returning true from a page-level handler su
ppresses the exception."); |
28 | 28 |
29 checkErrorEventInHandler({ | 29 checkErrorEventInHandler({ |
30 message: "Uncaught ReferenceError: foo is not defined", | 30 message: "Uncaught ReferenceError: foo is not defined", |
31 filename: "[blob: URL]", | 31 filename: "[blob: URL]", |
32 lineno: 13, | 32 lineno: 13, |
33 colno: 9, | 33 colno: 9, |
34 }, true); | 34 }, true); |
35 </script> | 35 </script> |
36 <script src="../js/resources/js-test-post.js"></script> | |
37 </body> | 36 </body> |
38 </html> | 37 </html> |
39 | 38 |
OLD | NEW |