| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <script src="../js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 description("Tests to ensure that attributes are not set when an exceptions
is raised while converting argument to JSValue."); | 7 description("Tests to ensure that attributes are not set when an exceptions
is raised while converting argument to JSValue."); |
| 8 function setName(select) { | 8 function setName(select) { |
| 9 var stringLike = { | 9 var stringLike = { |
| 10 toString: function() { | 10 toString: function() { |
| 11 throw new Error("error"); | 11 throw new Error("error"); |
| 12 } | 12 } |
| 13 }; | 13 }; |
| 14 select.name = stringLike;; | 14 select.name = stringLike;; |
| 15 } | 15 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 40 </script> | 40 </script> |
| 41 | 41 |
| 42 </head> | 42 </head> |
| 43 <body onload="runTest()"> | 43 <body onload="runTest()"> |
| 44 <select id="select" name="select"> | 44 <select id="select" name="select"> |
| 45 <option value="value1">Value 1</option> | 45 <option value="value1">Value 1</option> |
| 46 <option value="value2" selected>Value 2</option> | 46 <option value="value2" selected>Value 2</option> |
| 47 <option value="value3">Value 3</option> | 47 <option value="value3">Value 3</option> |
| 48 </select> | 48 </select> |
| 49 <p id="description"></p> | 49 <p id="description"></p> |
| 50 <script src="../js/resources/js-test-pre.js"></script> | 50 <script src="../../resources/js-test.js"></script> |
| 51 </body> | 51 </body> |
| 52 </html> | 52 </html> |
| OLD | NEW |