| 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="../../resources/js-test.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> |
| 11 <!-- This script's body will be used to build a Blob URL to use as a Worker.
--> | 11 <!-- This script's body will be used to build a Blob URL to use as a Worker.
--> |
| 12 <script id="workerCode" type="text/plain"> | 12 <script id="workerCode" type="text/plain"> |
| 13 onerror = function(message, url, lineno, colno, error) { | 13 onerror = function(message, url, lineno, colno, error) { |
| 14 bar.foo = 0; | 14 bar.foo = 0; |
| 15 return false; | 15 return false; |
| 16 } | 16 } |
| 17 | 17 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 31 // the error handler triggers an error | 31 // the error handler triggers an error |
| 32 { | 32 { |
| 33 message: "Uncaught ReferenceError: bar is not defined", | 33 message: "Uncaught ReferenceError: bar is not defined", |
| 34 filename: "[blob: URL]", | 34 filename: "[blob: URL]", |
| 35 lineno: 3, | 35 lineno: 3, |
| 36 colno: 13, | 36 colno: 13, |
| 37 }]); | 37 }]); |
| 38 </script> | 38 </script> |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |