Changeset 18071 in webkit
- Timestamp:
- Dec 7, 2006 7:22:27 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r17959 r18071 1 2006-12-07 Kevin Fyure <digdog@macports.org> 2 3 Reviewed by Darin. 4 5 http://bugs.webkit.org/show_bug.cgi?id=11545 6 Disable the testcases do not follow the ECMA-262v3 specification. 7 8 * tests/mozilla/expected.html: Update Results. 9 * tests/mozilla/js1_2/String/concat.js: 10 4 tests disabled. The result of concat Array object is not followinig 11 ECMA 15.5.4.6 12 * tests/mozilla/js1_2/function/Number.js: 13 1 test disabled. The result of Array object to Number object conversion 14 is not following ECMA 9.3. And the test was duplicated in 15 ecma/TypeConversion/9.3-1.js 16 * tests/mozilla/js1_2/function/String.js: 17 2 tests disabled. The result of Object/Array object to String object 18 conversion is not following ECMA 15.5.1.1 and ECMA 9.8 19 1 20 2006-11-30 Steve Falkenburg <sfalken@apple.com> 2 21 -
trunk/JavaScriptCore/tests/mozilla/expected.html
r17483 r18071 8 8 Test List: All tests<br> 9 9 Skip List: (none)<br> 10 1135 test(s) selected, 1127 test(s) completed, 7 3 failures reported (6.47% failed)<br>11 Engine command line: / Users/vlado/WebKit/WebKitBuild/Debug/testkjs <br>12 OS type: Darwin XP-SCK.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc<br>13 Testcase execution time: 6 minutes, 29seconds.<br>14 Tests completed on Thu Oct 12 19:11:562006.<br><br>10 1135 test(s) selected, 1127 test(s) completed, 70 failures reported (6.21% failed)<br> 11 Engine command line: /Downloads/Builds/Release/testkjs <br> 12 OS type: Darwin digdog.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc<br> 13 Testcase execution time: 3 minutes, 50 seconds.<br> 14 Tests completed on Thu Dec 7 19:06:30 2006.<br><br> 15 15 [ <a href='#fail_detail'>Failure Details</a> | <a href='#retest_list'>Retest List</a> | <a href='menu.html'>Test Selection Page</a> ]<br> 16 16 <hr> … … 45 45 --> -s2 == -Infinity || -s2 == -1.7976931348623157e+308 = false FAILED! expected: true<br> 46 46 --> -s3 == -Infinity || -s3 == -1.7976931348623157e+308 = false FAILED! expected: true<br> 47 --> parseInt(s1,10) == 1.7976931348623157e+308 || parseInt(s1,10) == Infinity = false FAILED! expected: true<br>48 --> parseInt(s2,10) == Infinity || parseInt(s2,10) == 1.7976931348623157e+308 = false FAILED! expected: true<br>49 --> parseInt(s1) == 1.7976931348623157e+308 || parseInt(s1) == Infinity = false FAILED! expected: true<br>50 --> parseInt(s2) == Infinity || parseInt(s2) == 1.7976931348623157e+308 = false FAILED! expected: true<br>51 47 --> 0x1000000000000081 = 1152921504606847000 FAILED! expected: 1152921504606847200<br> 52 48 --> 0x1000000000000281 = 1152921504606847500 FAILED! expected: 1152921504606847700<br> … … 71 67 Testcase terminated with signal 0<br> 72 68 Complete testcase output was:<br> 73 LEAK: 618 KJS::Node<br>74 69 --> RegExp/hex-001.js JS regexp anchoring on empty match bug<br> 75 70 --> BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=2157<br> 76 [1 1987] ./ecma_2/RegExp/regress-001.js line 18: TypeError: Object /a||b/ (result of expression /a||b/) does not allow calls.<br>71 [1939] ./ecma_2/RegExp/regress-001.js line 18: TypeError: Object /a||b/ (result of expression /a||b/) does not allow calls.<br> 77 72 </tt><br> 78 73 <a name='failure6'></a><dd><b>Testcase <a target='other_window' href='./ecma_2/RegExp/unicode-001.js'>ecma_2/RegExp/unicode-001.js</a> failed</b> <br> … … 81 76 Testcase terminated with signal 0<br> 82 77 Complete testcase output was:<br> 83 LEAK: 671 KJS::Node<br>84 78 --> RegExp/unicode-001.js new RegExp( pattern, flags )<br> 85 [1 1988] ./ecma_2/RegExp/unicode-001.js line 33: TypeError: Null value<br>79 [1940] ./ecma_2/RegExp/unicode-001.js line 33: TypeError: Null value<br> 86 80 </tt><br> 87 81 <a name='failure7'></a><dd><b>Testcase <a target='other_window' href='./ecma_3/Date/15.9.5.7.js'>ecma_3/Date/15.9.5.7.js</a> failed</b> <br> … … 89 83 <tt><br> 90 84 Failure messages were:<br> 91 --> (Wed Dec 31 1969 1 9:00:00 GMT-0500 (EST)).toLocaleTimeString() = 7:00:00 PM EST FAILED! expected: 19:00:00<br>92 --> (Wed Dec 31 1969 14:00:00 GMT-0500 (EST)).toLocaleTimeString() = 2:00:00 PM EST FAILED! expected: 14:00:00<br>93 --> (Sun Dec 31 1899 1 9:00:00 GMT-0500 (EST)).toLocaleTimeString() = 8:00:00 PM EDT FAILED! expected: 19:00:00<br>94 --> (Mon Jan 01 1900 00:00:00 GMT-0 500 (EST)).toLocaleTimeString() = 1:00:00 AM EDT FAILED! expected: 00:00:00<br>95 --> (Fri Dec 31 1999 1 9:00:00 GMT-0500 (EST)).toLocaleTimeString() = 7:00:00 PM EST FAILED! expected: 19:00:00<br>96 --> (Sat Jan 01 2000 00:00:00 GMT-0 500 (EST)).toLocaleTimeString() = 12:00:00 AM EST FAILED! expected: 00:00:00<br>97 --> (Mon Feb 28 2000 1 9:00:00 GMT-0500 (EST)).toLocaleTimeString() = 7:00:00 PM EST FAILED! expected: 19:00:00<br>98 --> (Mon Feb 28 2000 1 8:59:59 GMT-0500 (EST)).toLocaleTimeString() = 6:59:59 PM EST FAILED! expected: 18:59:59<br>99 --> (Tue Feb 29 2000 00:00:00 GMT-0 500 (EST)).toLocaleTimeString() = 12:00:00 AM EST FAILED! expected: 00:00:00<br>100 --> (Thu Oct 12 2006 19:10:40 GMT-0400 (EDT)).toLocaleTimeString() = 7:10:40 PM EDT FAILED! expected: 19:10:40<br>101 --> (Fri Oct 13 2006 00:10:40 GMT-0400 (EDT)).toLocaleTimeString() = 12:10:40 AM EDT FAILED! expected: 00:10:40<br>102 --> (Fri Dec 31 2004 1 9:00:00 GMT-0500 (EST)).toLocaleTimeString() = 7:00:00 PM EST FAILED! expected: 19:00:00<br>103 --> (Fri Dec 31 2004 1 8:59:59 GMT-0500 (EST)).toLocaleTimeString() = 6:59:59 PM EST FAILED! expected: 18:59:59<br>104 --> (Sat Jan 01 2005 00:00:00 GMT-0 500 (EST)).toLocaleTimeString() = 12:00:00 AM EST FAILED! expected: 00:00:00<br>85 --> (Wed Dec 31 1969 16:00:00 GMT-0800 (PST)).toLocaleTimeString() = 4:00:00 PM PST FAILED! expected: 16:00:00<br> 86 --> (Wed Dec 31 1969 08:00:00 GMT-0800 (PST)).toLocaleTimeString() = 8:00:00 AM PST FAILED! expected: 08:00:00<br> 87 --> (Sun Dec 31 1899 16:00:00 GMT-0800 (PST)).toLocaleTimeString() = 5:00:00 PM PDT FAILED! expected: 16:00:00<br> 88 --> (Mon Jan 01 1900 00:00:00 GMT-0800 (PST)).toLocaleTimeString() = 1:00:00 AM PDT FAILED! expected: 00:00:00<br> 89 --> (Fri Dec 31 1999 16:00:00 GMT-0800 (PST)).toLocaleTimeString() = 4:00:00 PM PST FAILED! expected: 16:00:00<br> 90 --> (Sat Jan 01 2000 00:00:00 GMT-0800 (PST)).toLocaleTimeString() = 12:00:00 AM PST FAILED! expected: 00:00:00<br> 91 --> (Mon Feb 28 2000 16:00:00 GMT-0800 (PST)).toLocaleTimeString() = 4:00:00 PM PST FAILED! expected: 16:00:00<br> 92 --> (Mon Feb 28 2000 15:59:59 GMT-0800 (PST)).toLocaleTimeString() = 3:59:59 PM PST FAILED! expected: 15:59:59<br> 93 --> (Tue Feb 29 2000 00:00:00 GMT-0800 (PST)).toLocaleTimeString() = 12:00:00 AM PST FAILED! expected: 00:00:00<br> 94 --> (Thu Dec 07 2006 19:05:31 GMT-0800 (PST)).toLocaleTimeString() = 7:05:31 PM PST FAILED! expected: 19:05:31<br> 95 --> (Fri Dec 08 2006 03:05:31 GMT-0800 (PST)).toLocaleTimeString() = 3:05:31 AM PST FAILED! expected: 03:05:31<br> 96 --> (Fri Dec 31 2004 16:00:00 GMT-0800 (PST)).toLocaleTimeString() = 4:00:00 PM PST FAILED! expected: 16:00:00<br> 97 --> (Fri Dec 31 2004 15:59:59 GMT-0800 (PST)).toLocaleTimeString() = 3:59:59 PM PST FAILED! expected: 15:59:59<br> 98 --> (Sat Jan 01 2005 00:00:00 GMT-0800 (PST)).toLocaleTimeString() = 12:00:00 AM PST FAILED! expected: 00:00:00<br> 105 99 </tt><br> 106 100 <a name='failure8'></a><dd><b>Testcase <a target='other_window' href='./ecma_3/FunExpr/fe-001.js'>ecma_3/FunExpr/fe-001.js</a> failed</b> <br> … … 109 103 Testcase terminated with signal 0<br> 110 104 Complete testcase output was:<br> 111 LEAK: 323 KJS::Node<br> 112 </tt><br> 105 Testcase produced no output!</tt><br> 113 106 <a name='failure9'></a><dd><b>Testcase <a target='other_window' href='./ecma_3/RegExp/15.10.2-1.js'>ecma_3/RegExp/15.10.2-1.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=(none)' target='other_window'>Bug Number (none)</a><br> 114 107 [ <a href='#failure8'>Previous Failure</a> | <a href='#failure10'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> … … 686 679 Testcase terminated with signal 0<br> 687 680 Complete testcase output was:<br> 688 LEAK: 397 KJS::Node<br> 689 [12141] ./ecma_3/Statements/regress-194364.js line 1: SyntaxError: Parse error<br> 681 [2093] ./ecma_3/Statements/regress-194364.js line 1: SyntaxError: Parse error<br> 690 682 </tt><br> 691 683 <a name='failure20'></a><dd><b>Testcase <a target='other_window' href='./ecma_3/Unicode/uc-001.js'>ecma_3/Unicode/uc-001.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=23610' target='other_window'>Bug Number 23610</a><br> … … 710 702 Testcase terminated with signal 0<br> 711 703 Complete testcase output was:<br> 712 LEAK: 403 KJS::Node<br>713 704 --> JS1_2 Object.toString()<br> 714 [ 12162] ./js1_2/Objects/toString-001.js line 103: TypeError: Object /^\{(.*)\}$/ (result of expression /^\{(.*)\}$/) does not allow calls.<br>715 </tt><br> 716 <a name='failure23'></a><dd><b>Testcase <a target='other_window' href='./js1_2/ String/concat.js'>js1_2/String/concat.js</a> failed</b> <br>705 [2114] ./js1_2/Objects/toString-001.js line 103: TypeError: Object /^\{(.*)\}$/ (result of expression /^\{(.*)\}$/) does not allow calls.<br> 706 </tt><br> 707 <a name='failure23'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/Function_object.js'>js1_2/function/Function_object.js</a> failed</b> <br> 717 708 [ <a href='#failure22'>Previous Failure</a> | <a href='#failure24'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 718 <tt><br>719 Failure messages were:<br>720 --> aString.concat([]) = test string FAILED! expected: test string[]<br>721 --> aString.concat([1,2,3]) = test string1,2,3 FAILED! expected: test string[1, 2, 3]<br>722 --> 'abcde'.concat([]) = abcde FAILED! expected: abcde[]<br>723 --> 'abcde'.concat([1,2,3]) = abcde1,2,3 FAILED! expected: abcde[1, 2, 3]<br>724 </tt><br>725 <a name='failure24'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/Function_object.js'>js1_2/function/Function_object.js</a> failed</b> <br>726 [ <a href='#failure23'>Previous Failure</a> | <a href='#failure25'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>727 709 <tt><br> 728 710 Failure messages were:<br> … … 732 714 } FAILED! expected: <br> 733 715 </tt><br> 734 <a name='failure25'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/Number.js'>js1_2/function/Number.js</a> failed</b> <br> 735 [ <a href='#failure24'>Previous Failure</a> | <a href='#failure26'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 736 <tt><br> 737 Failure messages were:<br> 738 --> Number([1,2,3]) = NaN FAILED! expected: 3<br> 739 </tt><br> 740 <a name='failure26'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/String.js'>js1_2/function/String.js</a> failed</b> <br> 741 [ <a href='#failure25'>Previous Failure</a> | <a href='#failure27'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 742 <tt><br> 743 Failure messages were:<br> 744 --> String({p:1}) = [object Object] FAILED! expected: {p:1}<br> 745 --> String([1,2,3]) = 1,2,3 FAILED! expected: [1, 2, 3]<br> 746 </tt><br> 747 <a name='failure27'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/function-001-n.js'>js1_2/function/function-001-n.js</a> failed</b> <br> 748 [ <a href='#failure26'>Previous Failure</a> | <a href='#failure28'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 716 <a name='failure24'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/function-001-n.js'>js1_2/function/function-001-n.js</a> failed</b> <br> 717 [ <a href='#failure23'>Previous Failure</a> | <a href='#failure25'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 749 718 <tt>Expected exit code 3, got 0<br> 750 719 Testcase terminated with signal 0<br> 751 720 Complete testcase output was:<br> 752 721 OK.<br> 753 LEAK: 331 KJS::Node<br>754 722 --> function-001.js functions not separated by semicolons are errors in version 120 and higher<br> 755 723 --> eval("function f(){}function g(){}") = undefined FAILED! expected: error<br> 756 724 </tt><br> 757 <a name='failure28'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/regexparg-1.js'>js1_2/function/regexparg-1.js</a> failed</b> <br> 725 <a name='failure25'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/regexparg-1.js'>js1_2/function/regexparg-1.js</a> failed</b> <br> 726 [ <a href='#failure24'>Previous Failure</a> | <a href='#failure26'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 727 <tt>Expected exit code 0, got 3<br> 728 Testcase terminated with signal 0<br> 729 Complete testcase output was:<br> 730 --> JS_1.2 The variable statment<br> 731 [2127] ./js1_2/function/regexparg-1.js line 80: TypeError: Object /abc/ (result of expression x) does not allow calls.<br> 732 </tt><br> 733 <a name='failure26'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/tostring-1.js'>js1_2/function/tostring-1.js</a> failed</b> <br> 734 [ <a href='#failure25'>Previous Failure</a> | <a href='#failure27'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 735 <tt><br> 736 Failure messages were:<br> 737 } FAILED! expected: <br> 738 } FAILED! expected: <br> 739 } FAILED! expected: <br> 740 } FAILED! expected: <br> 741 } FAILED! expected: <br> 742 </tt><br> 743 <a name='failure27'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/tostring-2.js'>js1_2/function/tostring-2.js</a> failed</b> <br> 744 [ <a href='#failure26'>Previous Failure</a> | <a href='#failure28'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 745 <tt><br> 746 Failure messages were:<br> 747 } FAILED! expected: <br> 748 } FAILED! expected: <br> 749 } FAILED! expected: <br> 750 } FAILED! expected: <br> 751 } FAILED! expected: <br> 752 } FAILED! expected: <br> 753 } FAILED! expected: <br> 754 } FAILED! expected: <br> 755 } FAILED! expected: <br> 756 </tt><br> 757 <a name='failure28'></a><dd><b>Testcase <a target='other_window' href='./js1_2/operator/equality.js'>js1_2/operator/equality.js</a> failed</b> <br> 758 758 [ <a href='#failure27'>Previous Failure</a> | <a href='#failure29'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 759 <tt>Expected exit code 0, got 3<br>760 Testcase terminated with signal 0<br>761 Complete testcase output was:<br>762 LEAK: 333 KJS::Node<br>763 --> JS_1.2 The variable statment<br>764 [12175] ./js1_2/function/regexparg-1.js line 80: TypeError: Object /abc/ (result of expression x) does not allow calls.<br>765 </tt><br>766 <a name='failure29'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/tostring-1.js'>js1_2/function/tostring-1.js</a> failed</b> <br>767 [ <a href='#failure28'>Previous Failure</a> | <a href='#failure30'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>768 <tt><br>769 Failure messages were:<br>770 } FAILED! expected: <br>771 } FAILED! expected: <br>772 } FAILED! expected: <br>773 } FAILED! expected: <br>774 } FAILED! expected: <br>775 </tt><br>776 <a name='failure30'></a><dd><b>Testcase <a target='other_window' href='./js1_2/function/tostring-2.js'>js1_2/function/tostring-2.js</a> failed</b> <br>777 [ <a href='#failure29'>Previous Failure</a> | <a href='#failure31'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>778 <tt><br>779 Failure messages were:<br>780 } FAILED! expected: <br>781 } FAILED! expected: <br>782 } FAILED! expected: <br>783 } FAILED! expected: <br>784 } FAILED! expected: <br>785 } FAILED! expected: <br>786 } FAILED! expected: <br>787 } FAILED! expected: <br>788 } FAILED! expected: <br>789 </tt><br>790 <a name='failure31'></a><dd><b>Testcase <a target='other_window' href='./js1_2/operator/equality.js'>js1_2/operator/equality.js</a> failed</b> <br>791 [ <a href='#failure30'>Previous Failure</a> | <a href='#failure32'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>792 759 <tt><br> 793 760 Failure messages were:<br> … … 795 762 --> ('x' == new String('x')) = true FAILED! expected: false<br> 796 763 </tt><br> 797 <a name='failure 32'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/RegExp_lastIndex.js'>js1_2/regexp/RegExp_lastIndex.js</a> failed</b> <br>798 [ <a href='#failure 31'>Previous Failure</a> | <a href='#failure33'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>764 <a name='failure29'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/RegExp_lastIndex.js'>js1_2/regexp/RegExp_lastIndex.js</a> failed</b> <br> 765 [ <a href='#failure28'>Previous Failure</a> | <a href='#failure30'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 799 766 <tt><br> 800 767 Failure messages were:<br> … … 802 769 --> re.exec('xyabcdef') = xy FAILED! expected: ["xy"]<br> 803 770 </tt><br> 804 <a name='failure3 3'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/RegExp_multiline.js'>js1_2/regexp/RegExp_multiline.js</a> failed</b> <br>805 [ <a href='#failure 32'>Previous Failure</a> | <a href='#failure34'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>771 <a name='failure30'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/RegExp_multiline.js'>js1_2/regexp/RegExp_multiline.js</a> failed</b> <br> 772 [ <a href='#failure29'>Previous Failure</a> | <a href='#failure31'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 806 773 <tt><br> 807 774 Failure messages were:<br> … … 812 779 --> (multiline == true) 'a11\na22\na23\na24'.match(new RegExp('a..$','g')) = a24 FAILED! expected: a11,a22,a23,a24<br> 813 780 </tt><br> 814 <a name='failure3 4'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/RegExp_multiline_as_array.js'>js1_2/regexp/RegExp_multiline_as_array.js</a> failed</b> <br>815 [ <a href='#failure3 3'>Previous Failure</a> | <a href='#failure35'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>781 <a name='failure31'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/RegExp_multiline_as_array.js'>js1_2/regexp/RegExp_multiline_as_array.js</a> failed</b> <br> 782 [ <a href='#failure30'>Previous Failure</a> | <a href='#failure32'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 816 783 <tt><br> 817 784 Failure messages were:<br> … … 822 789 --> (['$*'] == true) 'a11\na22\na23\na24'.match(new RegExp('a..$','g')) = a24 FAILED! expected: a11,a22,a23,a24<br> 823 790 </tt><br> 824 <a name='failure3 5'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/beginLine.js'>js1_2/regexp/beginLine.js</a> failed</b> <br>825 [ <a href='#failure3 4'>Previous Failure</a> | <a href='#failure36'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>791 <a name='failure32'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/beginLine.js'>js1_2/regexp/beginLine.js</a> failed</b> <br> 792 [ <a href='#failure31'>Previous Failure</a> | <a href='#failure33'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 826 793 <tt><br> 827 794 Failure messages were:<br> 828 795 123xyz'.match(new RegExp('^\d+')) = null FAILED! expected: 123<br> 829 796 </tt><br> 830 <a name='failure36'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/compile.js'>js1_2/regexp/compile.js</a> failed</b> <br> 831 [ <a href='#failure35'>Previous Failure</a> | <a href='#failure37'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 832 <tt>Expected exit code 0, got 3<br> 833 Testcase terminated with signal 0<br> 834 Complete testcase output was:<br> 835 LEAK: 329 KJS::Node<br> 797 <a name='failure33'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/compile.js'>js1_2/regexp/compile.js</a> failed</b> <br> 798 [ <a href='#failure32'>Previous Failure</a> | <a href='#failure34'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 799 <tt>Expected exit code 0, got 3<br> 800 Testcase terminated with signal 0<br> 801 Complete testcase output was:<br> 836 802 --> Executing script: compile.js<br> 837 803 --> As described in Netscape doc "Whats new in JavaScript 1.2" RegExp: compile<br> 838 [12202] ./js1_2/regexp/compile.js line 43: TypeError: Value undefined (result of expression regularExpression.compile) is not object.<br> 839 </tt><br> 840 <a name='failure37'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/endLine.js'>js1_2/regexp/endLine.js</a> failed</b> <br> 804 [2154] ./js1_2/regexp/compile.js line 43: TypeError: Value undefined (result of expression regularExpression.compile) is not object.<br> 805 </tt><br> 806 <a name='failure34'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/endLine.js'>js1_2/regexp/endLine.js</a> failed</b> <br> 807 [ <a href='#failure33'>Previous Failure</a> | <a href='#failure35'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 808 <tt><br> 809 Failure messages were:<br> 810 xyz'.match(new RegExp('\d+$')) = null FAILED! expected: 890<br> 811 </tt><br> 812 <a name='failure35'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/regress-6359.js'>js1_2/regexp/regress-6359.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=http://bugzilla.mozilla.org/show_bug.cgi?id=6359' target='other_window'>Bug Number http://bugzilla.mozilla.org/show_bug.cgi?id=6359</a><br> 813 [ <a href='#failure34'>Previous Failure</a> | <a href='#failure36'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 814 <tt>Expected exit code 0, got 3<br> 815 Testcase terminated with signal 0<br> 816 Complete testcase output was:<br> 817 --> BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=6359<br> 818 [2170] ./js1_2/regexp/regress-6359.js line 56: TypeError: Object /(a*)b\1+/ (result of expression /(a*)b\1+/) does not allow calls.<br> 819 </tt><br> 820 <a name='failure36'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/regress-9141.js'>js1_2/regexp/regress-9141.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=http://bugzilla.mozilla.org/show_bug.cgi?id=9141' target='other_window'>Bug Number http://bugzilla.mozilla.org/show_bug.cgi?id=9141</a><br> 821 [ <a href='#failure35'>Previous Failure</a> | <a href='#failure37'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 822 <tt>Expected exit code 0, got 3<br> 823 Testcase terminated with signal 0<br> 824 Complete testcase output was:<br> 825 --> BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=9141<br> 826 [2171] ./js1_2/regexp/regress-9141.js line 73: TypeError: Object /(?:xx|x)*/ (result of expression /(?:xx|x)*/) does not allow calls.<br> 827 </tt><br> 828 <a name='failure37'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/simple_form.js'>js1_2/regexp/simple_form.js</a> failed</b> <br> 841 829 [ <a href='#failure36'>Previous Failure</a> | <a href='#failure38'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 842 <tt><br> 843 Failure messages were:<br> 844 xyz'.match(new RegExp('\d+$')) = null FAILED! expected: 890<br> 845 </tt><br> 846 <a name='failure38'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/regress-6359.js'>js1_2/regexp/regress-6359.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=http://bugzilla.mozilla.org/show_bug.cgi?id=6359' target='other_window'>Bug Number http://bugzilla.mozilla.org/show_bug.cgi?id=6359</a><br> 847 [ <a href='#failure37'>Previous Failure</a> | <a href='#failure39'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 848 <tt>Expected exit code 0, got 3<br> 849 Testcase terminated with signal 0<br> 850 Complete testcase output was:<br> 851 LEAK: 329 KJS::Node<br> 852 --> BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=6359<br> 853 [12218] ./js1_2/regexp/regress-6359.js line 56: TypeError: Object /(a*)b\1+/ (result of expression /(a*)b\1+/) does not allow calls.<br> 854 </tt><br> 855 <a name='failure39'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/regress-9141.js'>js1_2/regexp/regress-9141.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=http://bugzilla.mozilla.org/show_bug.cgi?id=9141' target='other_window'>Bug Number http://bugzilla.mozilla.org/show_bug.cgi?id=9141</a><br> 856 [ <a href='#failure38'>Previous Failure</a> | <a href='#failure40'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 857 <tt>Expected exit code 0, got 3<br> 858 Testcase terminated with signal 0<br> 859 Complete testcase output was:<br> 860 LEAK: 329 KJS::Node<br> 861 --> BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=9141<br> 862 [12219] ./js1_2/regexp/regress-9141.js line 73: TypeError: Object /(?:xx|x)*/ (result of expression /(?:xx|x)*/) does not allow calls.<br> 863 </tt><br> 864 <a name='failure40'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/simple_form.js'>js1_2/regexp/simple_form.js</a> failed</b> <br> 865 [ <a href='#failure39'>Previous Failure</a> | <a href='#failure41'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 866 <tt>Expected exit code 0, got 3<br> 867 Testcase terminated with signal 0<br> 868 Complete testcase output was:<br> 869 LEAK: 329 KJS::Node<br> 830 <tt>Expected exit code 0, got 3<br> 831 Testcase terminated with signal 0<br> 832 Complete testcase output was:<br> 870 833 --> Executing script: simple_form.js<br> 871 834 --> As described in Netscape doc "Whats new in JavaScript 1.2" RegExp: simple form<br> 872 [ 12220] ./js1_2/regexp/simple_form.js line 43: TypeError: Object /[0-9]{3}/ (result of expression /[0-9]{3}/) does not allow calls.<br>873 </tt><br> 874 <a name='failure 41'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/special_characters.js'>js1_2/regexp/special_characters.js</a> failed</b> <br>875 [ <a href='#failure 40'>Previous Failure</a> | <a href='#failure42'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>835 [2172] ./js1_2/regexp/simple_form.js line 43: TypeError: Object /[0-9]{3}/ (result of expression /[0-9]{3}/) does not allow calls.<br> 836 </tt><br> 837 <a name='failure38'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/special_characters.js'>js1_2/regexp/special_characters.js</a> failed</b> <br> 838 [ <a href='#failure37'>Previous Failure</a> | <a href='#failure39'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 876 839 <tt><br> 877 840 Failure messages were:<br> … … 883 846 <br> 884 847 </tt><br> 885 <a name='failure 42'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/string_split.js'>js1_2/regexp/string_split.js</a> failed</b> <br>886 [ <a href='#failure 41'>Previous Failure</a> | <a href='#failure43'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>848 <a name='failure39'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/string_split.js'>js1_2/regexp/string_split.js</a> failed</b> <br> 849 [ <a href='#failure38'>Previous Failure</a> | <a href='#failure40'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 887 850 <tt><br> 888 851 Failure messages were:<br> … … 892 855 --> 'abc'.split(new RegExp('[a-z]')) = ,,, FAILED! expected: ,,<br> 893 856 </tt><br> 894 <a name='failure4 3'></a><dd><b>Testcase <a target='other_window' href='./js1_2/version120/boolean-001.js'>js1_2/version120/boolean-001.js</a> failed</b> <br>895 [ <a href='#failure 42'>Previous Failure</a> | <a href='#failure44'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>857 <a name='failure40'></a><dd><b>Testcase <a target='other_window' href='./js1_2/version120/boolean-001.js'>js1_2/version120/boolean-001.js</a> failed</b> <br> 858 [ <a href='#failure39'>Previous Failure</a> | <a href='#failure41'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 896 859 <tt><br> 897 860 Failure messages were:<br> 898 861 --> new Boolean(false) = true FAILED! expected: false<br> 899 862 </tt><br> 900 <a name='failure4 4'></a><dd><b>Testcase <a target='other_window' href='./js1_2/version120/regress-99663.js'>js1_2/version120/regress-99663.js</a> failed</b> <br>901 [ <a href='#failure4 3'>Previous Failure</a> | <a href='#failure45'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>863 <a name='failure41'></a><dd><b>Testcase <a target='other_window' href='./js1_2/version120/regress-99663.js'>js1_2/version120/regress-99663.js</a> failed</b> <br> 864 [ <a href='#failure40'>Previous Failure</a> | <a href='#failure42'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 902 865 <tt>--> STATUS: Regression test for Bugzilla bug 99663<br> 903 866 Failure messages were:<br> … … 906 869 --> Section 3 of test - got Error: Can't find variable: it FAILED! expected: a "read-only" error<br> 907 870 </tt><br> 908 <a name='failure4 5'></a><dd><b>Testcase <a target='other_window' href='./js1_3/Script/function-001-n.js'>js1_3/Script/function-001-n.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=10278' target='other_window'>Bug Number 10278</a><br>909 [ <a href='#failure4 4'>Previous Failure</a> | <a href='#failure46'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>871 <a name='failure42'></a><dd><b>Testcase <a target='other_window' href='./js1_3/Script/function-001-n.js'>js1_3/Script/function-001-n.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=10278' target='other_window'>Bug Number 10278</a><br> 872 [ <a href='#failure41'>Previous Failure</a> | <a href='#failure43'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 910 873 <tt>Expected exit code 3, got 0<br> 911 874 Testcase terminated with signal 0<br> 912 875 Complete testcase output was:<br> 913 876 OK.<br> 914 LEAK: 391 KJS::Node<br>915 877 --> BUGNUMBER: 10278<br> 916 878 --> function-001.js functions not separated by semicolons are errors in version 120 and higher<br> 917 879 --> eval("function f(){}function g(){}") = undefined FAILED! expected: error<br> 918 880 </tt><br> 919 <a name='failure46'></a><dd><b>Testcase <a target='other_window' href='./js1_3/Script/script-001.js'>js1_3/Script/script-001.js</a> failed</b> <br> 920 [ <a href='#failure45'>Previous Failure</a> | <a href='#failure47'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 921 <tt>Expected exit code 0, got 3<br> 922 Testcase terminated with signal 0<br> 923 Complete testcase output was:<br> 924 LEAK: 389 KJS::Node<br> 881 <a name='failure43'></a><dd><b>Testcase <a target='other_window' href='./js1_3/Script/script-001.js'>js1_3/Script/script-001.js</a> failed</b> <br> 882 [ <a href='#failure42'>Previous Failure</a> | <a href='#failure44'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 883 <tt>Expected exit code 0, got 3<br> 884 Testcase terminated with signal 0<br> 885 Complete testcase output was:<br> 925 886 --> script-001 NativeScript<br> 926 [ 12246] ./js1_3/Script/script-001.js line 133: ReferenceError: Can't find variable: Script<br>927 </tt><br> 928 <a name='failure4 7'></a><dd><b>Testcase <a target='other_window' href='./js1_3/regress/function-001-n.js'>js1_3/regress/function-001-n.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=10278' target='other_window'>Bug Number 10278</a><br>929 [ <a href='#failure4 6'>Previous Failure</a> | <a href='#failure48'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>887 [2199] ./js1_3/Script/script-001.js line 133: ReferenceError: Can't find variable: Script<br> 888 </tt><br> 889 <a name='failure44'></a><dd><b>Testcase <a target='other_window' href='./js1_3/regress/function-001-n.js'>js1_3/regress/function-001-n.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=10278' target='other_window'>Bug Number 10278</a><br> 890 [ <a href='#failure43'>Previous Failure</a> | <a href='#failure45'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 930 891 <tt>Expected exit code 3, got 0<br> 931 892 Testcase terminated with signal 0<br> 932 893 Complete testcase output was:<br> 933 894 OK.<br> 934 LEAK: 391 KJS::Node<br>935 895 --> BUGNUMBER: 10278<br> 936 896 --> function-001.js functions not separated by semicolons are errors in version 120 and higher<br> 937 897 --> eval("function f(){}function g(){}") = undefined FAILED! expected: error<br> 938 898 </tt><br> 939 <a name='failure48'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/catchguard-001.js'>js1_5/Exceptions/catchguard-001.js</a> failed</b> <br> 899 <a name='failure45'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/catchguard-001.js'>js1_5/Exceptions/catchguard-001.js</a> failed</b> <br> 900 [ <a href='#failure44'>Previous Failure</a> | <a href='#failure46'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 901 <tt>Expected exit code 0, got 3<br> 902 Testcase terminated with signal 0<br> 903 Complete testcase output was:<br> 904 Testcase produced no output!</tt><br> 905 <a name='failure46'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/catchguard-002.js'>js1_5/Exceptions/catchguard-002.js</a> failed</b> <br> 906 [ <a href='#failure45'>Previous Failure</a> | <a href='#failure47'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 907 <tt>Expected exit code 0, got 3<br> 908 Testcase terminated with signal 0<br> 909 Complete testcase output was:<br> 910 Testcase produced no output!</tt><br> 911 <a name='failure47'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/catchguard-003.js'>js1_5/Exceptions/catchguard-003.js</a> failed</b> <br> 912 [ <a href='#failure46'>Previous Failure</a> | <a href='#failure48'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 913 <tt>Expected exit code 0, got 3<br> 914 Testcase terminated with signal 0<br> 915 Complete testcase output was:<br> 916 Testcase produced no output!</tt><br> 917 <a name='failure48'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/errstack-001.js'>js1_5/Exceptions/errstack-001.js</a> failed</b> <br> 940 918 [ <a href='#failure47'>Previous Failure</a> | <a href='#failure49'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 941 919 <tt>Expected exit code 0, got 3<br> 942 920 Testcase terminated with signal 0<br> 943 921 Complete testcase output was:<br> 944 LEAK: 323 KJS::Node<br>945 </tt><br> 946 <a name='failure49'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/ catchguard-002.js'>js1_5/Exceptions/catchguard-002.js</a> failed</b><br>922 [2244] ./js1_5/Exceptions/errstack-001.js line 247: TypeError: Undefined value<br> 923 </tt><br> 924 <a name='failure49'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/regress-50447.js'>js1_5/Exceptions/regress-50447.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=50447' target='other_window'>Bug Number 50447</a><br> 947 925 [ <a href='#failure48'>Previous Failure</a> | <a href='#failure50'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 948 926 <tt>Expected exit code 0, got 3<br> 949 927 Testcase terminated with signal 0<br> 950 928 Complete testcase output was:<br> 951 LEAK: 323 KJS::Node<br>952 </tt><br>953 <a name='failure50'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/catchguard-003.js'>js1_5/Exceptions/catchguard-003.js</a> failed</b> <br>954 [ <a href='#failure49'>Previous Failure</a> | <a href='#failure51'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>955 <tt>Expected exit code 0, got 3<br>956 Testcase terminated with signal 0<br>957 Complete testcase output was:<br>958 LEAK: 323 KJS::Node<br>959 </tt><br>960 <a name='failure51'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/errstack-001.js'>js1_5/Exceptions/errstack-001.js</a> failed</b> <br>961 [ <a href='#failure50'>Previous Failure</a> | <a href='#failure52'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>962 <tt>Expected exit code 0, got 3<br>963 Testcase terminated with signal 0<br>964 Complete testcase output was:<br>965 LEAK: 473 KJS::Node<br>966 [12291] ./js1_5/Exceptions/errstack-001.js line 247: TypeError: Undefined value<br>967 </tt><br>968 <a name='failure52'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/regress-50447.js'>js1_5/Exceptions/regress-50447.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=50447' target='other_window'>Bug Number 50447</a><br>969 [ <a href='#failure51'>Previous Failure</a> | <a href='#failure53'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>970 <tt>Expected exit code 0, got 3<br>971 Testcase terminated with signal 0<br>972 Complete testcase output was:<br>973 LEAK: 654 KJS::Node<br>974 929 --> BUGNUMBER: 50447<br> 975 930 --> STATUS: Test (non-ECMA) Error object properties fileName, lineNumber<br> 976 [12292] ./js1_5/Exceptions/regress-50447.js line 65: TypeError: Undefined value<br> 977 </tt><br> 978 <a name='failure53'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-001.js'>js1_5/GetSet/getset-001.js</a> failed</b> <br> 931 [2245] ./js1_5/Exceptions/regress-50447.js line 65: TypeError: Undefined value<br> 932 </tt><br> 933 <a name='failure50'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-001.js'>js1_5/GetSet/getset-001.js</a> failed</b> <br> 934 [ <a href='#failure49'>Previous Failure</a> | <a href='#failure51'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 935 <tt>Expected exit code 0, got 3<br> 936 Testcase terminated with signal 0<br> 937 Complete testcase output was:<br> 938 Testcase produced no output!</tt><br> 939 <a name='failure51'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-002.js'>js1_5/GetSet/getset-002.js</a> failed</b> <br> 940 [ <a href='#failure50'>Previous Failure</a> | <a href='#failure52'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 941 <tt>Expected exit code 0, got 3<br> 942 Testcase terminated with signal 0<br> 943 Complete testcase output was:<br> 944 Testcase produced no output!</tt><br> 945 <a name='failure52'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-003.js'>js1_5/GetSet/getset-003.js</a> failed</b> <br> 946 [ <a href='#failure51'>Previous Failure</a> | <a href='#failure53'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 947 <tt>Expected exit code 0, got 3<br> 948 Testcase terminated with signal 0<br> 949 Complete testcase output was:<br> 950 Testcase produced no output!</tt><br> 951 <a name='failure53'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-90596-001.js'>js1_5/Object/regress-90596-001.js</a> failed</b> <br> 979 952 [ <a href='#failure52'>Previous Failure</a> | <a href='#failure54'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 980 953 <tt>Expected exit code 0, got 3<br> 981 954 Testcase terminated with signal 0<br> 982 955 Complete testcase output was:<br> 983 LEAK: 323 KJS::Node<br>984 </tt><br> 985 <a name='failure54'></a><dd><b>Testcase <a target='other_window' href='./js1_5/ GetSet/getset-002.js'>js1_5/GetSet/getset-002.js</a> failed</b> <br>956 [2260] ./js1_5/Object/regress-90596-001.js line 48: TypeError: Value undefined (result of expression obj.toSource) is not object.<br> 957 </tt><br> 958 <a name='failure54'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-90596-002.js'>js1_5/Object/regress-90596-002.js</a> failed</b> <br> 986 959 [ <a href='#failure53'>Previous Failure</a> | <a href='#failure55'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 987 960 <tt>Expected exit code 0, got 3<br> 988 961 Testcase terminated with signal 0<br> 989 962 Complete testcase output was:<br> 990 LEAK: 323 KJS::Node<br>991 </tt><br> 992 <a name='failure55'></a><dd><b>Testcase <a target='other_window' href='./js1_5/ GetSet/getset-003.js'>js1_5/GetSet/getset-003.js</a> failed</b> <br>963 [2261] ./js1_5/Object/regress-90596-002.js line 48: ReferenceError: Can't find variable: uneval<br> 964 </tt><br> 965 <a name='failure55'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-96284-001.js'>js1_5/Object/regress-96284-001.js</a> failed</b> <br> 993 966 [ <a href='#failure54'>Previous Failure</a> | <a href='#failure56'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 994 967 <tt>Expected exit code 0, got 3<br> 995 968 Testcase terminated with signal 0<br> 996 969 Complete testcase output was:<br> 997 LEAK: 323 KJS::Node<br>998 </tt><br> 999 <a name='failure56'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-9 0596-001.js'>js1_5/Object/regress-90596-001.js</a> failed</b> <br>970 [2263] ./js1_5/Object/regress-96284-001.js line 49: TypeError: Value undefined (result of expression obj1.toSource) is not object.<br> 971 </tt><br> 972 <a name='failure56'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-96284-002.js'>js1_5/Object/regress-96284-002.js</a> failed</b> <br> 1000 973 [ <a href='#failure55'>Previous Failure</a> | <a href='#failure57'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1001 974 <tt>Expected exit code 0, got 3<br> 1002 975 Testcase terminated with signal 0<br> 1003 976 Complete testcase output was:<br> 1004 LEAK: 765 KJS::Node<br> 1005 [12307] ./js1_5/Object/regress-90596-001.js line 48: TypeError: Value undefined (result of expression obj.toSource) is not object.<br> 1006 </tt><br> 1007 <a name='failure57'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-90596-002.js'>js1_5/Object/regress-90596-002.js</a> failed</b> <br> 977 [2264] ./js1_5/Object/regress-96284-002.js line 49: ReferenceError: Can't find variable: uneval<br> 978 </tt><br> 979 <a name='failure57'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-44009.js'>js1_5/Regress/regress-44009.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=44009' target='other_window'>Bug Number 44009</a><br> 1008 980 [ <a href='#failure56'>Previous Failure</a> | <a href='#failure58'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1009 981 <tt>Expected exit code 0, got 3<br> 1010 982 Testcase terminated with signal 0<br> 1011 983 Complete testcase output was:<br> 1012 LEAK: 769 KJS::Node<br>1013 [12308] ./js1_5/Object/regress-90596-002.js line 48: ReferenceError: Can't find variable: uneval<br>1014 </tt><br>1015 <a name='failure58'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-96284-001.js'>js1_5/Object/regress-96284-001.js</a> failed</b> <br>1016 [ <a href='#failure57'>Previous Failure</a> | <a href='#failure59'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1017 <tt>Expected exit code 0, got 3<br>1018 Testcase terminated with signal 0<br>1019 Complete testcase output was:<br>1020 LEAK: 397 KJS::Node<br>1021 [12310] ./js1_5/Object/regress-96284-001.js line 49: TypeError: Value undefined (result of expression obj1.toSource) is not object.<br>1022 </tt><br>1023 <a name='failure59'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-96284-002.js'>js1_5/Object/regress-96284-002.js</a> failed</b> <br>1024 [ <a href='#failure58'>Previous Failure</a> | <a href='#failure60'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1025 <tt>Expected exit code 0, got 3<br>1026 Testcase terminated with signal 0<br>1027 Complete testcase output was:<br>1028 LEAK: 397 KJS::Node<br>1029 [12311] ./js1_5/Object/regress-96284-002.js line 49: ReferenceError: Can't find variable: uneval<br>1030 </tt><br>1031 <a name='failure60'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-44009.js'>js1_5/Regress/regress-44009.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=44009' target='other_window'>Bug Number 44009</a><br>1032 [ <a href='#failure59'>Previous Failure</a> | <a href='#failure61'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1033 <tt>Expected exit code 0, got 3<br>1034 Testcase terminated with signal 0<br>1035 Complete testcase output was:<br>1036 LEAK: 396 KJS::Node<br>1037 984 --> BUGNUMBER: 44009<br> 1038 985 --> STATUS: Testing that we don't crash on obj.toSource()<br> 1039 [ 12316] ./js1_5/Regress/regress-44009.js line 60: TypeError: Value undefined (result of expression obj.toSource) is not object.<br>1040 </tt><br> 1041 <a name='failure 61'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-68498-003.js'>js1_5/Regress/regress-68498-003.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=68498' target='other_window'>Bug Number 68498</a><br>1042 [ <a href='#failure 60'>Previous Failure</a> | <a href='#failure62'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>986 [2269] ./js1_5/Regress/regress-44009.js line 60: TypeError: Value undefined (result of expression obj.toSource) is not object.<br> 987 </tt><br> 988 <a name='failure58'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-68498-003.js'>js1_5/Regress/regress-68498-003.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=68498' target='other_window'>Bug Number 68498</a><br> 989 [ <a href='#failure57'>Previous Failure</a> | <a href='#failure59'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1043 990 <tt>--> STATUS: Testing calling obj.eval(str)<br> 1044 991 Failure messages were:<br> … … 1048 995 --> FAILED!: [reported from test()] <br> 1049 996 </tt><br> 1050 <a name='failure 62'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-103602.js'>js1_5/Regress/regress-103602.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=103602' target='other_window'>Bug Number 103602</a><br>1051 [ <a href='#failure 61'>Previous Failure</a> | <a href='#failure63'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>997 <a name='failure59'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-103602.js'>js1_5/Regress/regress-103602.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=103602' target='other_window'>Bug Number 103602</a><br> 998 [ <a href='#failure58'>Previous Failure</a> | <a href='#failure60'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1052 999 <tt>--> STATUS: Reassignment to a const is NOT an error per ECMA<br> 1053 1000 Failure messages were:<br> … … 1059 1006 --> FAILED!: [reported from test()] <br> 1060 1007 </tt><br> 1061 <a name='failure63'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-104077.js'>js1_5/Regress/regress-104077.js</a> failed</b> <br> 1008 <a name='failure60'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-104077.js'>js1_5/Regress/regress-104077.js</a> failed</b> <br> 1009 [ <a href='#failure59'>Previous Failure</a> | <a href='#failure61'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1010 <tt>Expected exit code 0, got 3<br> 1011 Testcase terminated with signal 0<br> 1012 Complete testcase output was:<br> 1013 Testcase produced no output!</tt><br> 1014 <a name='failure61'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-127557.js'>js1_5/Regress/regress-127557.js</a> failed</b> <br> 1015 [ <a href='#failure60'>Previous Failure</a> | <a href='#failure62'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1016 <tt>Expected exit code 0, got 3<br> 1017 Testcase terminated with signal 0<br> 1018 Complete testcase output was:<br> 1019 [2295] ./js1_5/Regress/regress-127557.js line 75: ReferenceError: Can't find variable: clone<br> 1020 </tt><br> 1021 <a name='failure62'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-172699.js'>js1_5/Regress/regress-172699.js</a> failed</b> <br> 1022 [ <a href='#failure61'>Previous Failure</a> | <a href='#failure63'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1023 <tt>Expected exit code 0, got 3<br> 1024 Testcase terminated with signal 0<br> 1025 Complete testcase output was:<br> 1026 [2304] ./js1_5/Regress/regress-172699.js line 61: URIError: URI error<br> 1027 </tt><br> 1028 <a name='failure63'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-179524.js'>js1_5/Regress/regress-179524.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=179524' target='other_window'>Bug Number 179524</a><br> 1062 1029 [ <a href='#failure62'>Previous Failure</a> | <a href='#failure64'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1063 <tt>Expected exit code 0, got 3<br>1064 Testcase terminated with signal 0<br>1065 Complete testcase output was:<br>1066 LEAK: 323 KJS::Node<br>1067 </tt><br>1068 <a name='failure64'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-127557.js'>js1_5/Regress/regress-127557.js</a> failed</b> <br>1069 [ <a href='#failure63'>Previous Failure</a> | <a href='#failure65'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1070 <tt>Expected exit code 0, got 3<br>1071 Testcase terminated with signal 0<br>1072 Complete testcase output was:<br>1073 LEAK: 419 KJS::Node<br>1074 [12342] ./js1_5/Regress/regress-127557.js line 75: ReferenceError: Can't find variable: clone<br>1075 </tt><br>1076 <a name='failure65'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-172699.js'>js1_5/Regress/regress-172699.js</a> failed</b> <br>1077 [ <a href='#failure64'>Previous Failure</a> | <a href='#failure66'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1078 <tt>Expected exit code 0, got 3<br>1079 Testcase terminated with signal 0<br>1080 Complete testcase output was:<br>1081 LEAK: 397 KJS::Node<br>1082 [12353] ./js1_5/Regress/regress-172699.js line 61: URIError: URI error<br>1083 </tt><br>1084 <a name='failure66'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-179524.js'>js1_5/Regress/regress-179524.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=179524' target='other_window'>Bug Number 179524</a><br>1085 [ <a href='#failure65'>Previous Failure</a> | <a href='#failure67'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1086 1030 <tt>--> STATUS: Don't crash on extraneous arguments to str.match(), etc.<br> 1087 1031 Failure messages were:<br> … … 1133 1077 --> FAILED!: [reported from test()] <br> 1134 1078 </tt><br> 1135 <a name='failure6 7'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Scope/regress-185485.js'>js1_5/Scope/regress-185485.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=185485' target='other_window'>Bug Number 185485</a><br>1136 [ <a href='#failure6 6'>Previous Failure</a> | <a href='#failure68'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1079 <a name='failure64'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Scope/regress-185485.js'>js1_5/Scope/regress-185485.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=185485' target='other_window'>Bug Number 185485</a><br> 1080 [ <a href='#failure63'>Previous Failure</a> | <a href='#failure65'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1137 1081 <tt>--> STATUS: Testing |with (x) {function f() {}}| when |x.f| already exists<br> 1138 1082 Failure messages were:<br> … … 1149 1093 --> FAILED!: [reported from test()] <br> 1150 1094 </tt><br> 1151 <a name='failure68'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Scope/regress-220584.js'>js1_5/Scope/regress-220584.js</a> failed</b> <br> 1152 [ <a href='#failure67'>Previous Failure</a> | <a href='#failure69'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1153 <tt>Expected exit code 0, got 3<br> 1154 Testcase terminated with signal 0<br> 1155 Complete testcase output was:<br> 1156 LEAK: 397 KJS::Node<br> 1157 [12378] ./js1_5/Scope/regress-220584.js line 56: ReferenceError: Can't find variable: Script<br> 1158 </tt><br> 1159 <a name='failure69'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Scope/scope-001.js'>js1_5/Scope/scope-001.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=53268' target='other_window'>Bug Number 53268</a><br> 1160 [ <a href='#failure68'>Previous Failure</a> | <a href='#failure70'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1095 <a name='failure65'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Scope/regress-220584.js'>js1_5/Scope/regress-220584.js</a> failed</b> <br> 1096 [ <a href='#failure64'>Previous Failure</a> | <a href='#failure66'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1097 <tt>Expected exit code 0, got 3<br> 1098 Testcase terminated with signal 0<br> 1099 Complete testcase output was:<br> 1100 [2329] ./js1_5/Scope/regress-220584.js line 56: ReferenceError: Can't find variable: Script<br> 1101 </tt><br> 1102 <a name='failure66'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Scope/scope-001.js'>js1_5/Scope/scope-001.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=53268' target='other_window'>Bug Number 53268</a><br> 1103 [ <a href='#failure65'>Previous Failure</a> | <a href='#failure67'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1161 1104 <tt>--> STATUS: Testing scope after changing obj.__proto__<br> 1162 1105 Failure messages were:<br> … … 1169 1112 --> FAILED!: [reported from test()] <br> 1170 1113 </tt><br> 1171 <a name='failure 70'></a><dd><b>Testcase <a target='other_window' href='./js1_6/Regress/regress-301574.js'>js1_6/Regress/regress-301574.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=301574' target='other_window'>Bug Number 301574</a><br>1172 [ <a href='#failure6 9'>Previous Failure</a> | <a href='#failure71'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>1114 <a name='failure67'></a><dd><b>Testcase <a target='other_window' href='./js1_6/Regress/regress-301574.js'>js1_6/Regress/regress-301574.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=301574' target='other_window'>Bug Number 301574</a><br> 1115 [ <a href='#failure66'>Previous Failure</a> | <a href='#failure68'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1173 1116 <tt>--> STATUS: E4X should be enabled even when e4x=1 not specified<br> 1174 1117 Failure messages were:<br> … … 1180 1123 --> FAILED!: <br> 1181 1124 </tt><br> 1182 <a name='failure71'></a><dd><b>Testcase <a target='other_window' href='./js1_6/Regress/regress-309242.js'>js1_6/Regress/regress-309242.js</a> failed</b> <br> 1183 [ <a href='#failure70'>Previous Failure</a> | <a href='#failure72'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1184 <tt>Expected exit code 0, got 3<br> 1185 Testcase terminated with signal 0<br> 1186 Complete testcase output was:<br> 1187 LEAK: 1212 KJS::Node<br> 1188 </tt><br> 1189 <a name='failure72'></a><dd><b>Testcase <a target='other_window' href='./js1_6/Regress/regress-314887.js'>js1_6/Regress/regress-314887.js</a> failed</b> <br> 1190 [ <a href='#failure71'>Previous Failure</a> | <a href='#failure73'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1191 <tt>Expected exit code 0, got 3<br> 1192 Testcase terminated with signal 0<br> 1193 Complete testcase output was:<br> 1194 LEAK: 1212 KJS::Node<br> 1195 </tt><br> 1196 <a name='failure73'></a><dd><b>Testcase <a target='other_window' href='./js1_6/String/regress-306591.js'>js1_6/String/regress-306591.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=306591' target='other_window'>Bug Number 306591</a><br> 1197 [ <a href='#failure72'>Previous Failure</a> | <a href='#failure74'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1198 <tt>Expected exit code 0, got 3<br> 1199 Testcase terminated with signal 0<br> 1200 Complete testcase output was:<br> 1201 LEAK: 1212 KJS::Node<br> 1125 <a name='failure68'></a><dd><b>Testcase <a target='other_window' href='./js1_6/Regress/regress-309242.js'>js1_6/Regress/regress-309242.js</a> failed</b> <br> 1126 [ <a href='#failure67'>Previous Failure</a> | <a href='#failure69'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1127 <tt>Expected exit code 0, got 3<br> 1128 Testcase terminated with signal 0<br> 1129 Complete testcase output was:<br> 1130 Testcase produced no output!</tt><br> 1131 <a name='failure69'></a><dd><b>Testcase <a target='other_window' href='./js1_6/Regress/regress-314887.js'>js1_6/Regress/regress-314887.js</a> failed</b> <br> 1132 [ <a href='#failure68'>Previous Failure</a> | <a href='#failure70'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1133 <tt>Expected exit code 0, got 3<br> 1134 Testcase terminated with signal 0<br> 1135 Complete testcase output was:<br> 1136 Testcase produced no output!</tt><br> 1137 <a name='failure70'></a><dd><b>Testcase <a target='other_window' href='./js1_6/String/regress-306591.js'>js1_6/String/regress-306591.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=306591' target='other_window'>Bug Number 306591</a><br> 1138 [ <a href='#failure69'>Previous Failure</a> | <a href='#failure71'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 1139 <tt>Expected exit code 0, got 3<br> 1140 Testcase terminated with signal 0<br> 1141 Complete testcase output was:<br> 1202 1142 --> BUGNUMBER: 306591<br> 1203 1143 --> STATUS: String static methods<br> 1204 1144 --> STATUS: See https://bugzilla.mozilla.org/show_bug.cgi?id=304828<br> 1205 [ 12400] ./js1_6/String/regress-306591.js line 48: TypeError: Value undefined (result of expression String.split) is not object.<br>1145 [2351] ./js1_6/String/regress-306591.js line 48: TypeError: Value undefined (result of expression String.split) is not object.<br> 1206 1146 </tt><br> 1207 1147 </dl> … … 1211 1151 <a name='retest_list'></a> 1212 1152 <h2>Retest List</h2><br> 1213 # Retest List, kjs, generated Thu Oct 12 19:11:562006.1153 # Retest List, kjs, generated Thu Dec 7 19:06:30 2006. 1214 1154 # Original test base was: All tests. 1215 # 1127 of 1135 test(s) were completed, 7 3failures reported.1155 # 1127 of 1135 test(s) were completed, 70 failures reported. 1216 1156 ecma/GlobalObject/15.1.2.2-2.js 1217 1157 ecma/LexicalConventions/7.7.3-1.js … … 1236 1176 ecma_3/Unicode/uc-002.js 1237 1177 js1_2/Objects/toString-001.js 1238 js1_2/String/concat.js1239 1178 js1_2/function/Function_object.js 1240 js1_2/function/Number.js1241 js1_2/function/String.js1242 1179 js1_2/function/function-001-n.js 1243 1180 js1_2/function/regexparg-1.js -
trunk/JavaScriptCore/tests/mozilla/js1_2/String/concat.js
-
Property
allow-tabs
set to
*
r11995 r18071 50 50 testcases[count++] = new TestCase( SECTION, "aString.concat(true) ", "test stringtrue", aString.concat(true).toString()); 51 51 testcases[count++] = new TestCase( SECTION, "aString.concat(null) ", "test stringnull", aString.concat(null).toString()); 52 testcases[count++] = new TestCase( SECTION, "aString.concat([]) ", "test string[]", aString.concat([]).toString()); 53 testcases[count++] = new TestCase( SECTION, "aString.concat([1,2,3])", "test string[1, 2, 3]", aString.concat([1,2,3]).toString()); 52 /* 53 http://bugs.webkit.org/show_bug.cgi?id=11545#c3 54 According to ECMA 15.5.4.6, the argument of concat should send to ToString and 55 convert into a string value (not String object). So these arguments will be 56 convert into '' and '1,2,3' under ECMA-262v3, not the js1.2 expected '[]' and 57 '[1,2,3]' 58 */ 59 //testcases[count++] = new TestCase( SECTION, "aString.concat([]) ", "test string[]", aString.concat([]).toString()); 60 //testcases[count++] = new TestCase( SECTION, "aString.concat([1,2,3])", "test string[1, 2, 3]", aString.concat([1,2,3]).toString()); 54 61 55 62 testcases[count++] = new TestCase( SECTION, "'abcde'.concat(' more')", "abcde more", 'abcde'.concat(' more').toString()); … … 59 66 testcases[count++] = new TestCase( SECTION, "'abcde'.concat(true) ", "abcdetrue", 'abcde'.concat(true).toString()); 60 67 testcases[count++] = new TestCase( SECTION, "'abcde'.concat(null) ", "abcdenull", 'abcde'.concat(null).toString()); 61 testcases[count++] = new TestCase( SECTION, "'abcde'.concat([]) ", "abcde[]", 'abcde'.concat([]).toString()); 62 testcases[count++] = new TestCase( SECTION, "'abcde'.concat([1,2,3])", "abcde[1, 2, 3]", 'abcde'.concat([1,2,3]).toString()); 68 /* 69 http://bugs.webkit.org/show_bug.cgi?id=11545#c3 70 According to ECMA 15.5.4.6, the argument of concat should send to ToString and 71 convert into a string value (not String object). So these arguments will be 72 convert into '' and '1,2,3' under ECMA-262v3, not the js1.2 expected '[]' and 73 '[1,2,3]' 74 */ 75 //testcases[count++] = new TestCase( SECTION, "'abcde'.concat([]) ", "abcde[]", 'abcde'.concat([]).toString()); 76 //testcases[count++] = new TestCase( SECTION, "'abcde'.concat([1,2,3])", "abcde[1, 2, 3]", 'abcde'.concat([1,2,3]).toString()); 63 77 64 78 //what should this do: -
Property
allow-tabs
set to
-
trunk/JavaScriptCore/tests/mozilla/js1_2/function/Number.js
-
Property
allow-tabs
set to
*
r11995 r18071 60 60 -45, (Number(-45))); 61 61 62 // http://scopus.mcom.com/bugsplat/show_bug.cgi?id=12343563 // under js1.2, Number([1,2,3]) should return 3.62 // http://scopus.mcom.com/bugsplat/show_bug.cgi?id=123435 63 // under js1.2, Number([1,2,3]) should return 3. 64 64 65 testcases[count++] = new TestCase( SECTION, "Number([1,2,3]) ", 66 3, (Number([1,2,3]))); 65 /* 66 http://bugs.webkit.org/show_bug.cgi?id=11545#c4 67 According to ECMA 9.3, when input type was Object, should call 68 ToPrimitive(input arg, hint Number) first, and than ToNumber() later. However, 69 ToPrimitive() will use [[DefaultValue]](hint) rule when input Type was Object 70 (ECMA 8.6.2.6). So the input [1,2,3] will applied [[DefaultValue]](hint) rule 71 with hint Number, and it looks like this: 72 73 toString(valuOf([1,2,3])) => toString(1,2,3) => '1,2,3' 74 75 Than ToNumber('1,2,3') results NaN based on ECMA 9.3.1: If the grammar cannot 76 interpret the string as an expansion of StringNumericLiteral, then the result 77 of ToNumber is NaN. 78 */ 79 80 //testcases[count++] = new TestCase( SECTION, "Number([1,2,3]) ", 81 // 3, (Number([1,2,3]))); 67 82 68 83 function test() -
Property
allow-tabs
set to
-
trunk/JavaScriptCore/tests/mozilla/js1_2/function/String.js
-
Property
allow-tabs
set to
*
r11995 r18071 48 48 testcases[count++] = new TestCase( SECTION, "String(1.23) ", 49 49 '1.23', (String(1.23))); 50 testcases[count++] = new TestCase( SECTION, "String({p:1}) ", 51 '{p:1}', (String({p:1}))); 50 /* 51 http://bugs.webkit.org/show_bug.cgi?id=11545#c5 52 According to ECMA 9.8, when input type of String object argument was Object, we 53 should applied ToPrimitive(input arg, hint String) first, and later ToString(). 54 And just like previous one, ToPrimitive() will use [[DefaultValue]](hint) 55 with hint String to convert the input (toString() below uses the rule in ECMA 15.2.4.2): 56 57 valueOf(toString({p:1}) => valueOf('[object Object]') => '[object Object]' 58 59 And ToString() called after ToPrimitive(), so the correct result would be: 60 61 [object Object] 62 */ 63 //testcases[count++] = new TestCase( SECTION, "String({p:1}) ", 64 // '{p:1}', (String({p:1}))); 52 65 testcases[count++] = new TestCase( SECTION, "String(null) ", 53 66 'null', (String(null))); 54 testcases[count++] = new TestCase( SECTION, "String([1,2,3]) ", 55 '[1, 2, 3]', (String([1,2,3]))); 67 /* 68 http://bugs.webkit.org/show_bug.cgi?id=11545#c5 69 According to ECMA 9.8, when input type of String object argument was Object, we 70 should applied ToPrimitive(input arg, hint String) first, and later ToString(). 71 And just like previous one, ToPrimitive() will use [[DefaultValue]](hint) 72 with hint String to convert the input (toString() below uses the rule in ECMA 15.2.4.2): 73 74 valueOf(toString([1,2,3])) => valueOf('1,2,3') => '1,2,3' 75 76 And ToString() called after ToPrimitive(), so the correct result would be: 77 78 1,2,3 79 */ 80 //testcases[count++] = new TestCase( SECTION, "String([1,2,3]) ", 81 // '[1, 2, 3]', (String([1,2,3]))); 56 82 57 83 -
Property
allow-tabs
set to
Note: See TracChangeset
for help on using the changeset viewer.