| Index: webkit/data/layout_tests/chrome/fast/dom/dom-add-optionelement.html
|
| ===================================================================
|
| --- webkit/data/layout_tests/chrome/fast/dom/dom-add-optionelement.html (revision 12664)
|
| +++ webkit/data/layout_tests/chrome/fast/dom/dom-add-optionelement.html (working copy)
|
| @@ -1,27 +0,0 @@
|
| -<html>
|
| -<body >
|
| -Purpose: To test if the add() method adds an option to a dropdown list. Bug# 806258.
|
| -<br>
|
| -<form name="my_form">
|
| - <select name="my_select">
|
| - <option value="a">a</option>
|
| - </select>
|
| -</form>
|
| -
|
| -<script>
|
| -if (window.layoutTestController)
|
| - layoutTestController.dumpAsText();
|
| -
|
| -document.my_form.my_select.add(new Option("b", "b"),null);
|
| -if (document.my_form.my_select.options[1].value == 'b')
|
| -{
|
| - document.write("TEST PASSED");
|
| -}
|
| -else{
|
| - document.write("TEST FAILED");
|
| -}
|
| -</script>
|
| -
|
| -</body>
|
| -</html>
|
| -
|
|
|