OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 | 5 |
6 <p>Test method and formmethod attributes</p> | 6 <p>Test method and formmethod attributes</p> |
7 | 7 |
8 <form id=f1></form> | 8 <form id=f1></form> |
9 | 9 |
10 <div id=console></div> | 10 <div id=console></div> |
(...skipping 13 matching lines...) Expand all Loading... |
24 debug(''); | 24 debug(''); |
25 debug('Valid values:'); | 25 debug('Valid values:'); |
26 shouldBe('form1.method = "Post"; form1.method', '"post"'); | 26 shouldBe('form1.method = "Post"; form1.method', '"post"'); |
27 shouldBe('form1.getAttribute("method")', '"Post"'); | 27 shouldBe('form1.getAttribute("method")', '"Post"'); |
28 | 28 |
29 shouldBe('form1.method = "Get"; form1.method', '"get"'); | 29 shouldBe('form1.method = "Get"; form1.method', '"get"'); |
30 shouldBe('form1.getAttribute("method")', '"Get"'); | 30 shouldBe('form1.getAttribute("method")', '"Get"'); |
31 | 31 |
32 debug(''); | 32 debug(''); |
33 </script> | 33 </script> |
34 <script src="../js/resources/js-test-post.js"></script> | |
35 </body> | 34 </body> |
36 </html> | 35 </html> |
OLD | NEW |