ddkilzer@apple.com | e69d663 | 2013-05-08 16:33:31 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <script> |
roger_fong@apple.com | 83d12ea | 2013-05-08 19:19:32 +0000 | [diff] [blame] | 4 | if (window.testRunner) { |
| 5 | testRunner.dumpAsText(); |
| 6 | testRunner.waitUntilDone(); |
ddkilzer@apple.com | e69d663 | 2013-05-08 16:33:31 +0000 | [diff] [blame] | 7 | } |
| 8 | </script> |
| 9 | <script src="resources/parse-error-external-script-in-new-Function.js"></script> |
| 10 | <script> |
roger_fong@apple.com | 83d12ea | 2013-05-08 19:19:32 +0000 | [diff] [blame] | 11 | if (window.testRunner) { |
| 12 | testRunner.notifyDone(); |
ddkilzer@apple.com | e69d663 | 2013-05-08 16:33:31 +0000 | [diff] [blame] | 13 | } |
| 14 | </script> |
| 15 | </head> |
| 16 | <body> |
| 17 | This tests that a line number and error message is printed for a parse error in a separate source file using new Function(). |
| 18 | </body> |
| 19 | </html> |