Title: [154762] trunk/LayoutTests
- Revision
- 154762
- Author
- [email protected]
- Date
- 2013-08-28 11:31:41 -0700 (Wed, 28 Aug 2013)
Log Message
Fix a typo in the test name.
* fast/forms/past-names-map-should-not-contain-disassociated-elements-expected.txt: Copied from LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt.
* fast/forms/past-names-map-should-not-contain-disassociated-elements.html: Copied from LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements.html.
* fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt: Removed.
* fast/forms/past-names-map-should-not-contained-disassociated-elements.html: Removed.
Modified Paths
Added Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (154761 => 154762)
--- trunk/LayoutTests/ChangeLog 2013-08-28 18:28:55 UTC (rev 154761)
+++ trunk/LayoutTests/ChangeLog 2013-08-28 18:31:41 UTC (rev 154762)
@@ -1,3 +1,12 @@
+2013-08-28 Ryosuke Niwa <[email protected]>
+
+ Fix a typo in the test name.
+
+ * fast/forms/past-names-map-should-not-contain-disassociated-elements-expected.txt: Copied from LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt.
+ * fast/forms/past-names-map-should-not-contain-disassociated-elements.html: Copied from LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements.html.
+ * fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt: Removed.
+ * fast/forms/past-names-map-should-not-contained-disassociated-elements.html: Removed.
+
2013-08-27 Ryosuke Niwa <[email protected]>
Don't keep unassociated elements in the past names map
Copied: trunk/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements-expected.txt (from rev 154761, trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt) (0 => 154762)
--- trunk/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements-expected.txt 2013-08-28 18:31:41 UTC (rev 154762)
@@ -0,0 +1,16 @@
+This test ensures elements are removed from the past names map of a form element once they are no longer associated with the form element.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS form1['foo'] is input
+PASS form2.appendChild(form1.firstChild); form1['foo'] is undefined.
+PASS form2['foo'] is input
+PASS form2.removeChild(input);form2['foo'] is undefined.
+PASS form1.appendChild(input); form1['foo'] is input
+PASS input.setAttribute('form', 'form1'); form1.removeChild(input); input.appendChild(form1); form1['foo'] is undefined.
+PASS form1['foo'] is not input
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Copied: trunk/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements.html (from rev 154761, trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements.html) (0 => 154762)
--- trunk/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements.html (rev 0)
+++ trunk/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements.html 2013-08-28 18:31:41 UTC (rev 154762)
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<body>
+<form id="form1"><input type="text" name="foo"></form>
+<form id="form2"></form>
+<script src=""
+<script>
+
+description('This test ensures elements are removed from the past names map of a form element once they are no longer associated with the form element.');
+
+var form1 = document.querySelector('#form1');
+var form2 = document.querySelector('#form2');
+var input = document.querySelector('input');
+
+shouldBe("form1['foo']", "input");
+shouldBeUndefined("form2.appendChild(form1.firstChild); form1['foo']");
+
+shouldBe("form2['foo']", "input");
+shouldBeUndefined("form2.removeChild(input);form2['foo']");
+
+shouldBe("form1.appendChild(input); form1['foo']", "input");
+shouldBeUndefined("input.setAttribute('form', 'form1'); form1.removeChild(input); input.appendChild(form1); form1['foo']");
+shouldNotBe("form1['foo']", "input");
+
+var successfullyParsed = true;
+
+</script>
+<script src=""
+</body>
+</html>
Deleted: trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt (154761 => 154762)
--- trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt 2013-08-28 18:28:55 UTC (rev 154761)
+++ trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements-expected.txt 2013-08-28 18:31:41 UTC (rev 154762)
@@ -1,16 +0,0 @@
-This test ensures elements are removed from the past names map of a form element once they are no longer associated with the form element.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS form1['foo'] is input
-PASS form2.appendChild(form1.firstChild); form1['foo'] is undefined.
-PASS form2['foo'] is input
-PASS form2.removeChild(input);form2['foo'] is undefined.
-PASS form1.appendChild(input); form1['foo'] is input
-PASS input.setAttribute('form', 'form1'); form1.removeChild(input); input.appendChild(form1); form1['foo'] is undefined.
-PASS form1['foo'] is not input
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements.html (154761 => 154762)
--- trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements.html 2013-08-28 18:28:55 UTC (rev 154761)
+++ trunk/LayoutTests/fast/forms/past-names-map-should-not-contained-disassociated-elements.html 2013-08-28 18:31:41 UTC (rev 154762)
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<form id="form1"><input type="text" name="foo"></form>
-<form id="form2"></form>
-<script src=""
-<script>
-
-description('This test ensures elements are removed from the past names map of a form element once they are no longer associated with the form element.');
-
-var form1 = document.querySelector('#form1');
-var form2 = document.querySelector('#form2');
-var input = document.querySelector('input');
-
-shouldBe("form1['foo']", "input");
-shouldBeUndefined("form2.appendChild(form1.firstChild); form1['foo']");
-
-shouldBe("form2['foo']", "input");
-shouldBeUndefined("form2.removeChild(input);form2['foo']");
-
-shouldBe("form1.appendChild(input); form1['foo']", "input");
-shouldBeUndefined("input.setAttribute('form', 'form1'); form1.removeChild(input); input.appendChild(form1); form1['foo']");
-shouldNotBe("form1['foo']", "input");
-
-var successfullyParsed = true;
-
-</script>
-<script src=""
-</body>
-</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes