| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div id="test"> | 7 <div id="test"> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 </body> | 9 </body> |
| 10 <script> | 10 <script> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 { | 32 { |
| 33 try { | 33 try { |
| 34 str = typeof form['input'].form; | 34 str = typeof form['input'].form; |
| 35 } catch(e) { | 35 } catch(e) { |
| 36 str = 'threw exception'; | 36 str = 'threw exception'; |
| 37 } | 37 } |
| 38 shouldBe("str", "'threw exception'"); | 38 shouldBe("str", "'threw exception'"); |
| 39 finishJSTest(); | 39 finishJSTest(); |
| 40 } | 40 } |
| 41 </script> | 41 </script> |
| 42 <script src="../../js/resources/js-test-post.js"></script> | |
| 43 </html> | 42 </html> |
| OLD | NEW |