[webkit-changes] cvs commit: LayoutTests/fast/js/kde/resources
function_length.js
Maciej
mjs at opensource.apple.com
Tue Dec 27 19:47:49 PST 2005
mjs 05/12/27 19:47:48
Modified: . ChangeLog
fast/js/kde function_length-expected.txt
fast/js/kde/resources function_length.js
Log:
Rubber stamped by Eric.
- proper length for Array concat function is 1, not 0; also add test
for String concat.
* fast/js/kde/function_length-expected.txt:
* fast/js/kde/resources/function_length.js:
Revision Changes Path
1.193 +10 -0 LayoutTests/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/LayoutTests/ChangeLog,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -r1.192 -r1.193
--- ChangeLog 27 Dec 2005 20:06:39 -0000 1.192
+++ ChangeLog 28 Dec 2005 03:47:47 -0000 1.193
@@ -1,3 +1,13 @@
+2005-12-27 Maciej Stachowiak <mjs at apple.com>
+
+ Rubber stamped by Eric.
+
+ - proper length for Array concat function is 1, not 0; also add test
+ for String concat.
+
+ * fast/js/kde/function_length-expected.txt:
+ * fast/js/kde/resources/function_length.js:
+
2005-12-27 Anders Carlsson <andersca at mac.com>
Reviewed by Darin.
1.2 +2 -1 LayoutTests/fast/js/kde/function_length-expected.txt
Index: function_length-expected.txt
===================================================================
RCS file: /cvs/root/LayoutTests/fast/js/kde/function_length-expected.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- function_length-expected.txt 26 Dec 2005 23:07:09 -0000 1.1
+++ function_length-expected.txt 28 Dec 2005 03:47:48 -0000 1.2
@@ -1,6 +1,6 @@
PASS Array.prototype.toString.length is 0
PASS Array.prototype.toLocaleString.length is 0
-FAIL Array.prototype.concat.length should be 0. Was 1
+PASS Array.prototype.concat.length is 1
PASS Array.prototype.join.length is 1
PASS Array.prototype.pop.length is 0
PASS Array.prototype.push.length is 1
@@ -89,6 +89,7 @@
PASS RegExp.prototype.test.length is 0
PASS RegExp.prototype.toString.length is 0
PASS String.fromCharCode.length is 1
+PASS String.prototype.concat.length is 1
PASS String.prototype.toString.length is 0
PASS String.prototype.valueOf.length is 0
PASS String.prototype.charAt.length is 1
1.2 +2 -1 LayoutTests/fast/js/kde/resources/function_length.js
Index: function_length.js
===================================================================
RCS file: /cvs/root/LayoutTests/fast/js/kde/resources/function_length.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- function_length.js 26 Dec 2005 23:07:29 -0000 1.1
+++ function_length.js 28 Dec 2005 03:47:48 -0000 1.2
@@ -1,6 +1,6 @@
shouldBe("Array.prototype.toString.length","0");
shouldBe("Array.prototype.toLocaleString.length","0");
-shouldBe("Array.prototype.concat.length","0");
+shouldBe("Array.prototype.concat.length","1");
shouldBe("Array.prototype.join.length","1");
shouldBe("Array.prototype.pop.length","0");
shouldBe("Array.prototype.push.length","1");
@@ -89,6 +89,7 @@
shouldBe("RegExp.prototype.test.length","0");
shouldBe("RegExp.prototype.toString.length","0");
shouldBe("String.fromCharCode.length","1");
+shouldBe("String.prototype.concat.length","1");
shouldBe("String.prototype.toString.length","0");
shouldBe("String.prototype.valueOf.length","0");
shouldBe("String.prototype.charAt.length","1");
More information about the webkit-changes
mailing list