| 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="../../resources/js-test.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> |
| 11 <script> | 11 <script> |
| 12 var form1 = document.getElementById('f1'); | 12 var form1 = document.getElementById('f1'); |
| 13 | 13 |
| 14 debug('Missing value default:'); | 14 debug('Missing value default:'); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 </body> | 87 </body> |
| 88 </html> | 88 </html> |
| OLD | NEW |