зеркало из https://github.com/mozilla/pjs.git
Test not valid in JDK 1.4.
This commit is contained in:
Родитель
ed67c25e25
Коммит
bf7a1f94a5
|
@ -136,6 +136,8 @@
|
||||||
// of the instance should be the same as the method of String.prototype
|
// of the instance should be the same as the method of String.prototype
|
||||||
// fromCharCode charCodeAt constructor split
|
// fromCharCode charCodeAt constructor split
|
||||||
|
|
||||||
|
/* No longer valid in JDK 1.4: java.lang.String now has a split method.
|
||||||
|
|
||||||
a[a.length] = new TestObject(
|
a[a.length] = new TestObject(
|
||||||
"var s" +a.length+" = new java.lang.String(\"0 1 2 3 4 5 6 7 8 9\"); s"+a.length+".split(\" \") +''",
|
"var s" +a.length+" = new java.lang.String(\"0 1 2 3 4 5 6 7 8 9\"); s"+a.length+".split(\" \") +''",
|
||||||
"s"+a.length,
|
"s"+a.length,
|
||||||
|
@ -143,6 +145,7 @@
|
||||||
0,
|
0,
|
||||||
true,
|
true,
|
||||||
"0,1,2,3,4,5,6,7,8,9" );
|
"0,1,2,3,4,5,6,7,8,9" );
|
||||||
|
*/
|
||||||
|
|
||||||
a[a.length] = new TestObject(
|
a[a.length] = new TestObject(
|
||||||
"var s" +a.length+" = new java.lang.String(\"0 1 2 3 4 5 6 7 8 9\"); s"+a.length+".constructor",
|
"var s" +a.length+" = new java.lang.String(\"0 1 2 3 4 5 6 7 8 9\"); s"+a.length+".constructor",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче