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 236fe792ece4ad9815c3a4d1555dfe98cda7bef1..5993841677bded4cba9132cf01c76d011c46a69d 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 beddcc1f07983c3cf748f2051aca6cde426062d6..8457280fcc3fc41d555f1cdd15901bbf4474ee34 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 88ac408cf3b1fbb20651068070e67260f26e061a..fb83695a96d246fccc043c390f317358705cb4a1 100644 (file)
@@ -215,5 +215,5 @@ PASS select2.selectedIndex is 1
 PASS successfullyParsed is true
 
 TEST COMPLETE
+
 
index 3d8c1bd9b190f3491c5f500a2ed5fb412b602466..1572d2580a30bdeea15eff360dd90f61be939a18 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>