Reviewed by Anders.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Feb 2007 11:14:29 +0000 (11:14 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Feb 2007 11:14:29 +0000 (11:14 +0000)
        Fix the test not to include any custom content in its auto-generated HTML wrapper.

        * fast/js/resources/select-options-add.js:
        * fast/js/select-options-add-expected.txt:
        * fast/js/select-options-add.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19840 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/js/resources/select-options-add.js
LayoutTests/fast/js/select-options-add-expected.txt
LayoutTests/fast/js/select-options-add.html

index 236fe79..5993841 100644 (file)
@@ -1,3 +1,13 @@
+2007-02-24  Alexey Proskuryakov  <ap@webkit.org>
+
+        Reviewed by Anders.
+
+        Fix the test not to include any custom content in its auto-generated HTML wrapper.
+
+        * fast/js/resources/select-options-add.js:
+        * fast/js/select-options-add-expected.txt:
+        * fast/js/select-options-add.html:
+
 2007-02-23  Mitz Pettel  <mitz@webkit.org>
 
         Reviewed by Maciej.
index beddcc1..8457280 100644 (file)
@@ -3,6 +3,15 @@ description(
 "It covers both the the one-argument (1.x) and two-argument (2.x) signatures of the add() method."
 );
 
+div = document.createElement("div");
+sel = document.createElement("select");
+sel.setAttribute("id", "select1");
+div.appendChild(sel);
+sel = document.createElement("select");
+sel.setAttribute("id", "select2");
+div.appendChild(sel);
+document.body.insertBefore(div, document.getElementById("console").nextSibling);
+
 debug("1.1 Add Option to empty Options");
 var select1 = document.getElementById("select1");
 var option1 = document.createElement("OPTION");
index 88ac408..fb83695 100644 (file)
@@ -215,5 +215,5 @@ PASS select2.selectedIndex is 1
 PASS successfullyParsed is true
 
 TEST COMPLETE
+
 
index 3d8c1bd..1572d25 100644 (file)
@@ -7,10 +7,6 @@
 <body>
 <p id="description"></p>
 <div id="console"></div>
-<div>
-<select id="select1"></select>
-<select id="select2"></select>
-</div>
 <script src="resources/select-options-add.js"></script>
 <script src="resources/js-test-post.js"></script>
 </body>