| 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 enctype and formenctype attributes</p> | 6 <p>Test enctype and formenctype 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // Firefox matches to the specification. | 77 // Firefox matches to the specification. |
| 78 shouldBe('form1.enctype = " multipart/form-data"; form1.enctype', '"application
/x-www-form-urlencoded"'); | 78 shouldBe('form1.enctype = " multipart/form-data"; form1.enctype', '"application
/x-www-form-urlencoded"'); |
| 79 shouldBe('form1.getAttribute("enctype")', '" multipart/form-data"'); | 79 shouldBe('form1.getAttribute("enctype")', '" multipart/form-data"'); |
| 80 shouldBe('form1.enctype = "multipart/form-data "; form1.enctype', '"application
/x-www-form-urlencoded"'); | 80 shouldBe('form1.enctype = "multipart/form-data "; form1.enctype', '"application
/x-www-form-urlencoded"'); |
| 81 shouldBe('form1.getAttribute("enctype")', '"multipart/form-data "'); | 81 shouldBe('form1.getAttribute("enctype")', '"multipart/form-data "'); |
| 82 | 82 |
| 83 shouldBe('form1.enctype = "application/x-www-form-urlencoded "; form1.enctype',
'"application/x-www-form-urlencoded"'); | 83 shouldBe('form1.enctype = "application/x-www-form-urlencoded "; form1.enctype',
'"application/x-www-form-urlencoded"'); |
| 84 | 84 |
| 85 debug(''); | 85 debug(''); |
| 86 </script> | 86 </script> |
| 87 <script src="../js/resources/js-test-post.js"></script> | |
| 88 </body> | 87 </body> |
| 89 </html> | 88 </html> |
| OLD | NEW |