OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
4 <script src="resources/import-helpers.js"></script> | 4 <script src="resources/import-helpers.js"></script> |
5 <head> | 5 <head> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 | 9 |
10 waitAndTest([ | 10 waitAndTest([ |
(...skipping 21 matching lines...) Expand all Loading... |
32 }, | 32 }, |
33 ready: function() { return toInsert.import && toInsert.import.querySelec
tor('h1'); }, | 33 ready: function() { return toInsert.import && toInsert.import.querySelec
tor('h1'); }, |
34 test: function() | 34 test: function() |
35 { | 35 { |
36 shouldBe("toInsert.import.querySelector('h1').innerHTML", "'Hello'")
; | 36 shouldBe("toInsert.import.querySelector('h1').innerHTML", "'Hello'")
; |
37 } | 37 } |
38 } | 38 } |
39 ]); | 39 ]); |
40 | 40 |
41 </script> | 41 </script> |
42 <script src="../../js/resources/js-test-post.js"></script> | |
43 </body> | 42 </body> |
44 </html> | 43 </html> |
OLD | NEW |