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="../../../resources/js-test.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> |
11 window.jsTestIsAsync = true; | 11 window.jsTestIsAsync = true; |
12 | 12 |
13 var form, input, str; | 13 var form, input, str; |
14 | 14 |
(...skipping 18 matching lines...) Expand all Loading... |
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 </html> | 42 </html> |
OLD | NEW |