Changeset 110657 in webkit
- Timestamp:
- Mar 13, 2012, 7:12:25 PM (13 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r110654 r110657 1 2012-03-13 Mark Hahnenberg <[email protected]> 2 3 Type conversion of exponential part failed 4 https://bugs.webkit.org/show_bug.cgi?id=80673 5 6 Reviewed by Geoffrey Garen. 7 8 * parser/Lexer.cpp: 9 (JSC::::lex): 10 * runtime/JSGlobalObjectFunctions.cpp: 11 (JSC::parseInt): 12 (JSC): 13 (JSC::jsStrDecimalLiteral): Added another template argument that exposes whether or not 14 we accept trailing junk to clients of jsStrDecimalLiteral. Also added additional template 15 parameter for strtod to allow trailing spaces. 16 (JSC::toDouble): 17 (JSC::parseFloat): Accept trailing junk, as per the ECMA 262 spec (15.1.2.3). 18 * runtime/LiteralParser.cpp: 19 (JSC::::Lexer::lexNumber): 20 * tests/mozilla/expected.html: Update the expected page for run-javascriptcore-tests so that 21 we will run ecma/TypeConversion/9.3.1-3.js as a regression test now. 22 * wtf/dtoa.cpp: 23 (WTF): 24 (WTF::strtod): We also needed to sometimes accept trailing spaces to pass a few other tests that were 25 broken by changing the default allowance of trailing junk in jsStrDecimalLiteral. 26 * wtf/dtoa.h: 27 * wtf/dtoa/double-conversion.cc: When the AdvanceToNonspace function was lifted out of the 28 Chromium codebase, the person porting it only thought to check for spaces when skipping whitespace. 29 A few of our JSC tests check for other types of trailing whitespace, so I've added checks for those 30 here to cover those cases (horizontal tab, vertical tab, carriage return, form feed, and line feed). 31 * wtf/text/WTFString.cpp: 32 (WTF::toDoubleType): Disallow trailing spaces, as this breaks form input verification stuff. 33 1 34 2012-03-13 Filip Pizlo <[email protected]> 2 35 -
trunk/Source/JavaScriptCore/parser/Lexer.cpp
r110033 r110657 1481 1481 // Null-terminate string for strtod. 1482 1482 m_buffer8.append('\0'); 1483 tokenData->doubleValue = WTF::strtod<WTF::AllowTrailingJunk >(reinterpret_cast<const char*>(m_buffer8.data()), 0);1483 tokenData->doubleValue = WTF::strtod<WTF::AllowTrailingJunk, WTF::DisallowTrailingSpaces>(reinterpret_cast<const char*>(m_buffer8.data()), 0); 1484 1484 } 1485 1485 token = NUMBER; -
trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
r110033 r110657 298 298 if (number >= mantissaOverflowLowerBound) { 299 299 if (radix == 10) 300 number = WTF::strtod<WTF::AllowTrailingJunk >(s.substringSharingImpl(firstDigitPosition, p - firstDigitPosition).utf8().data(), 0);300 number = WTF::strtod<WTF::AllowTrailingJunk, WTF::DisallowTrailingSpaces>(s.substringSharingImpl(firstDigitPosition, p - firstDigitPosition).utf8().data(), 0); 301 301 else if (radix == 2 || radix == 4 || radix == 8 || radix == 16 || radix == 32) 302 302 number = parseIntOverflow(s.substringSharingImpl(firstDigitPosition, p - firstDigitPosition).utf8().data(), p - firstDigitPosition, radix); … … 357 357 358 358 // See ecma-262 9.3.1 359 template < typename CharType>359 template <WTF::AllowTrailingJunkTag allowTrailingJunk, typename CharType> 360 360 static double jsStrDecimalLiteral(const CharType*& data, const CharType* end) 361 361 { … … 370 370 byteBuffer.append(0); 371 371 char* endOfNumber; 372 double number = WTF::strtod< WTF::AllowTrailingJunk>(byteBuffer.data(), &endOfNumber);372 double number = WTF::strtod<allowTrailingJunk, WTF::AllowTrailingSpaces>(byteBuffer.data(), &endOfNumber); 373 373 374 374 // Check if strtod found a number; if so return it. … … 426 426 number = jsHexIntegerLiteral(characters, endCharacters); 427 427 else 428 number = jsStrDecimalLiteral (characters, endCharacters);428 number = jsStrDecimalLiteral<WTF::DisallowTrailingJunk>(characters, endCharacters); 429 429 430 430 // Allow trailing white space. … … 483 483 return std::numeric_limits<double>::quiet_NaN(); 484 484 485 return jsStrDecimalLiteral (data, end);485 return jsStrDecimalLiteral<WTF::AllowTrailingJunk>(data, end); 486 486 } 487 487 … … 499 499 return std::numeric_limits<double>::quiet_NaN(); 500 500 501 return jsStrDecimalLiteral (data, end);501 return jsStrDecimalLiteral<WTF::AllowTrailingJunk>(data, end); 502 502 } 503 503 -
trunk/Source/JavaScriptCore/runtime/LiteralParser.cpp
r108742 r110657 538 538 buffer[i] = 0; 539 539 char* end; 540 token.numberToken = WTF::strtod<WTF::AllowTrailingJunk >(buffer.data(), &end);540 token.numberToken = WTF::strtod<WTF::AllowTrailingJunk, WTF::DisallowTrailingSpaces>(buffer.data(), &end); 541 541 ASSERT(buffer.data() + (token.end - token.start) == end); 542 542 return TokNumber; -
trunk/Source/JavaScriptCore/tests/mozilla/expected.html
r76180 r110657 7 7 <p class='results_summary'> 8 8 Test List: All tests<br> 9 Skip List: ecma/Date/15.9.2.1.js, ecma/Date/15.9.2.2-1.js, ecma/Date/15.9.2.2-2.js, ecma/Date/15.9.2.2-3.js, ecma/Date/15.9.2.2-4.js, ecma/Date/15.9.2.2-5.js, ecma/Date/15.9.2.2-6.js, ecma_3/Date/15.9.5.7.js <br>10 112 7 test(s) selected, 1119 test(s) completed, 51 failures reported (4.55% failed)<br>11 Engine command line: "/ Volumes/BigData/git/WebKit/WebKitBuild/Debug/jsc" <br>12 OS type: Darwin 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386<br>13 Testcase execution time: 1 minutes, 3seconds.<br>14 Tests completed on Wed Jan 19 13:26:57 2011.<br><br>9 Skip List: ecma/Date/15.9.2.1.js, ecma/Date/15.9.2.2-1.js, ecma/Date/15.9.2.2-2.js, ecma/Date/15.9.2.2-3.js, ecma/Date/15.9.2.2-4.js, ecma/Date/15.9.2.2-5.js, ecma/Date/15.9.2.2-6.js, ecma_3/Date/15.9.5.7.js, ecma/Date/15.9.5.14.js, ecma/Date/15.9.5.31-1.js, ecma/Date/15.9.5.34-1.js<br> 10 1124 test(s) selected, 1116 test(s) completed, 50 failures reported (4.48% failed)<br> 11 Engine command line: "/Users/mhahnenberg/Code/WebKit/WebKitBuild/Debug/jsc" <br> 12 OS type: Darwin Marks-MacBook-Pro.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64<br> 13 Testcase execution time: 44 seconds.<br> 14 Tests completed on Fri Mar 9 18:26:54 2012.<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> 17 17 <a name='fail_detail'></a> 18 18 <h2>Failure Details</h2><br> 19 <dl><a name='failure1'></a><dd><b>Testcase <a target='other_window' href='./ecma /TypeConversion/9.3.1-3.js'>ecma/TypeConversion/9.3.1-3.js</a> failed</b><br>19 <dl><a name='failure1'></a><dd><b>Testcase <a target='other_window' href='./ecma_2/Exceptions/function-001.js'>ecma_2/Exceptions/function-001.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=10278' target='other_window'>Bug Number 10278</a><br> 20 20 [ <a href='#failure2'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 21 21 <tt><br> 22 22 Failure messages were:<br> 23 - "-0x123456789abcde8" = NaN FAILED! expected: 81985529216486880<br> 24 - "-0x123456789abcde8" = NaN FAILED! expected: 81985529216486880<br> 25 </tt><br> 26 <a name='failure2'></a><dd><b>Testcase <a target='other_window' href='./ecma_2/Exceptions/function-001.js'>ecma_2/Exceptions/function-001.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=10278' target='other_window'>Bug Number 10278</a><br> 23 eval("function f(){}function g(){}") (threw no exception thrown = fail FAILED! expected: pass<br> 24 </tt><br> 25 <a name='failure2'></a><dd><b>Testcase <a target='other_window' href='./ecma_2/RegExp/regress-001.js'>ecma_2/RegExp/regress-001.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=http://bugzilla.mozilla.org/show_bug.cgi?id=2157' target='other_window'>Bug Number http://bugzilla.mozilla.org/show_bug.cgi?id=2157</a><br> 27 26 [ <a href='#failure1'>Previous Failure</a> | <a href='#failure3'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 28 <tt><br>29 Failure messages were:<br>30 eval("function f(){}function g(){}") (threw no exception thrown = fail FAILED! expected: pass<br>31 </tt><br>32 <a name='failure3'></a><dd><b>Testcase <a target='other_window' href='./ecma_2/RegExp/regress-001.js'>ecma_2/RegExp/regress-001.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=http://bugzilla.mozilla.org/show_bug.cgi?id=2157' target='other_window'>Bug Number http://bugzilla.mozilla.org/show_bug.cgi?id=2157</a><br>33 [ <a href='#failure2'>Previous Failure</a> | <a href='#failure4'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>34 27 <tt>Expected exit code 0, got 3<br> 35 28 Testcase terminated with signal 0<br> … … 38 31 BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=2157<br> 39 32 </tt><br> 40 <a name='failure 4'></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>41 [ <a href='#failure 3'>Previous Failure</a> | <a href='#failure5'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>33 <a name='failure3'></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> 34 [ <a href='#failure2'>Previous Failure</a> | <a href='#failure4'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 42 35 <tt>STATUS: Function Expression Statements basic test.<br> 43 36 Failure messages were:<br> … … 46 39 FAILED!: [reported from test()] <br> 47 40 </tt><br> 48 <a name='failure5'></a><dd><b>Testcase <a target='other_window' href='./ecma_3/Statements/regress-194364.js'>ecma_3/Statements/regress-194364.js</a> failed</b> <br> 41 <a name='failure4'></a><dd><b>Testcase <a target='other_window' href='./ecma_3/Statements/regress-194364.js'>ecma_3/Statements/regress-194364.js</a> failed</b> <br> 42 [ <a href='#failure3'>Previous Failure</a> | <a href='#failure5'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 43 <tt>Expected exit code 0, got 3<br> 44 Testcase terminated with signal 0<br> 45 Complete testcase output was:<br> 46 Testcase produced no output!</tt><br> 47 <a name='failure5'></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> 49 48 [ <a href='#failure4'>Previous Failure</a> | <a href='#failure6'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 50 <tt>Expected exit code 0, got 3<br>51 Testcase terminated with signal 0<br>52 Complete testcase output was:<br>53 Testcase produced no output!</tt><br>54 <a name='failure6'></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>55 [ <a href='#failure5'>Previous Failure</a> | <a href='#failure7'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>56 49 <tt>STATUS: Unicode format-control character (Category Cf) test.<br> 57 50 Failure messages were:<br> … … 60 53 FAILED!: [reported from test()] <br> 61 54 </tt><br> 62 <a name='failure7'></a><dd><b>Testcase <a target='other_window' href='./js1_2/Objects/toString-001.js'>js1_2/Objects/toString-001.js</a> failed</b> <br> 55 <a name='failure6'></a><dd><b>Testcase <a target='other_window' href='./js1_2/Objects/toString-001.js'>js1_2/Objects/toString-001.js</a> failed</b> <br> 56 [ <a href='#failure5'>Previous Failure</a> | <a href='#failure7'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 57 <tt>Expected exit code 0, got 3<br> 58 Testcase terminated with signal 0<br> 59 Complete testcase output was:<br> 60 JS1_2 Object.toString()<br> 61 </tt><br> 62 <a name='failure7'></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> 63 63 [ <a href='#failure6'>Previous Failure</a> | <a href='#failure8'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 64 <tt> Expected exit code 0, got 3<br>65 Testcase terminated with signal 0<br>66 Complete testcase output was:<br>67 JS1_2 Object.toString()<br>68 </tt><br> 69 <a name='failure8'></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>64 <tt><br> 65 Failure messages were:<br> 66 f.arity = undefined FAILED! expected: 3<br> 67 } FAILED! expected: <br> 68 </tt><br> 69 <a name='failure8'></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> 70 70 [ <a href='#failure7'>Previous Failure</a> | <a href='#failure9'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 71 <tt><br>72 Failure messages were:<br>73 f.arity = undefined FAILED! expected: 3<br>74 } FAILED! expected: <br>75 </tt><br>76 <a name='failure9'></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>77 [ <a href='#failure8'>Previous Failure</a> | <a href='#failure10'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>78 71 <tt>Expected exit code 3, got 0<br> 79 72 Testcase terminated with signal 0<br> … … 82 75 eval("function f(){}function g(){}") = undefined FAILED! expected: error<br> 83 76 </tt><br> 84 <a name='failure10'></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> 77 <a name='failure9'></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> 78 [ <a href='#failure8'>Previous Failure</a> | <a href='#failure10'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 79 <tt>Expected exit code 0, got 3<br> 80 Testcase terminated with signal 0<br> 81 Complete testcase output was:<br> 82 JS_1.2 The variable statment<br> 83 </tt><br> 84 <a name='failure10'></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> 85 85 [ <a href='#failure9'>Previous Failure</a> | <a href='#failure11'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 86 <tt>Expected exit code 0, got 3<br> 87 Testcase terminated with signal 0<br> 88 Complete testcase output was:<br> 89 JS_1.2 The variable statment<br> 90 </tt><br> 91 <a name='failure11'></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> 86 <tt><br> 87 Failure messages were:<br> 88 } FAILED! expected: <br> 89 } FAILED! expected: <br> 90 } FAILED! expected: <br> 91 } FAILED! expected: <br> 92 } FAILED! expected: <br> 93 </tt><br> 94 <a name='failure11'></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> 92 95 [ <a href='#failure10'>Previous Failure</a> | <a href='#failure12'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 93 96 <tt><br> … … 98 101 } FAILED! expected: <br> 99 102 } FAILED! expected: <br> 100 </tt><br> 101 <a name='failure12'></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> 103 } FAILED! expected: <br> 104 } FAILED! expected: <br> 105 } FAILED! expected: <br> 106 } FAILED! expected: <br> 107 </tt><br> 108 <a name='failure12'></a><dd><b>Testcase <a target='other_window' href='./js1_2/operator/equality.js'>js1_2/operator/equality.js</a> failed</b> <br> 102 109 [ <a href='#failure11'>Previous Failure</a> | <a href='#failure13'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 103 <tt><br>104 Failure messages were:<br>105 } FAILED! expected: <br>106 } FAILED! expected: <br>107 } FAILED! expected: <br>108 } FAILED! expected: <br>109 } FAILED! expected: <br>110 } FAILED! expected: <br>111 } FAILED! expected: <br>112 } FAILED! expected: <br>113 } FAILED! expected: <br>114 </tt><br>115 <a name='failure13'></a><dd><b>Testcase <a target='other_window' href='./js1_2/operator/equality.js'>js1_2/operator/equality.js</a> failed</b> <br>116 [ <a href='#failure12'>Previous Failure</a> | <a href='#failure14'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>117 110 <tt><br> 118 111 Failure messages were:<br> … … 120 113 ('x' == new String('x')) = true FAILED! expected: false<br> 121 114 </tt><br> 122 <a name='failure1 4'></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>123 [ <a href='#failure1 3'>Previous Failure</a> | <a href='#failure15'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>115 <a name='failure13'></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> 116 [ <a href='#failure12'>Previous Failure</a> | <a href='#failure14'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 124 117 <tt><br> 125 118 Failure messages were:<br> … … 127 120 re.exec('xyabcdef') = xy FAILED! expected: ["xy"]<br> 128 121 </tt><br> 129 <a name='failure1 5'></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>130 [ <a href='#failure1 4'>Previous Failure</a> | <a href='#failure16'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>122 <a name='failure14'></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> 123 [ <a href='#failure13'>Previous Failure</a> | <a href='#failure15'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 131 124 <tt><br> 132 125 Failure messages were:<br> … … 137 130 (multiline == true) 'a11\na22\na23\na24'.match(new RegExp('a..$','g')) = a24 FAILED! expected: a11,a22,a23,a24<br> 138 131 </tt><br> 139 <a name='failure1 6'></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>140 [ <a href='#failure1 5'>Previous Failure</a> | <a href='#failure17'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>132 <a name='failure15'></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> 133 [ <a href='#failure14'>Previous Failure</a> | <a href='#failure16'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 141 134 <tt><br> 142 135 Failure messages were:<br> … … 147 140 (['$*'] == true) 'a11\na22\na23\na24'.match(new RegExp('a..$','g')) = a24 FAILED! expected: a11,a22,a23,a24<br> 148 141 </tt><br> 149 <a name='failure17'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/beginLine.js'>js1_2/regexp/beginLine.js</a> failed</b> <br> 142 <a name='failure16'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/beginLine.js'>js1_2/regexp/beginLine.js</a> failed</b> <br> 143 [ <a href='#failure15'>Previous Failure</a> | <a href='#failure17'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 144 <tt><br> 145 Failure messages were:<br> 146 123xyz'.match(new RegExp('^\d+')) = null FAILED! expected: 123<br> 147 </tt><br> 148 <a name='failure17'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/endLine.js'>js1_2/regexp/endLine.js</a> failed</b> <br> 150 149 [ <a href='#failure16'>Previous Failure</a> | <a href='#failure18'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 151 150 <tt><br> 152 151 Failure messages were:<br> 153 123xyz'.match(new RegExp('^\d+')) = null FAILED! expected: 123<br>154 </tt><br> 155 <a name='failure18'></a><dd><b>Testcase <a target='other_window' href='./js1_2/regexp/ endLine.js'>js1_2/regexp/endLine.js</a> failed</b><br>152 xyz'.match(new RegExp('\d+$')) = null FAILED! expected: 890<br> 153 </tt><br> 154 <a name='failure18'></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> 156 155 [ <a href='#failure17'>Previous Failure</a> | <a href='#failure19'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 157 <tt><br> 158 Failure messages were:<br> 159 xyz'.match(new RegExp('\d+$')) = null FAILED! expected: 890<br> 160 </tt><br> 161 <a name='failure19'></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> 156 <tt>Expected exit code 0, got 3<br> 157 Testcase terminated with signal 0<br> 158 Complete testcase output was:<br> 159 BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=6359<br> 160 </tt><br> 161 <a name='failure19'></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> 162 162 [ <a href='#failure18'>Previous Failure</a> | <a href='#failure20'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 163 163 <tt>Expected exit code 0, got 3<br> 164 164 Testcase terminated with signal 0<br> 165 165 Complete testcase output was:<br> 166 BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id= 6359<br>167 </tt><br> 168 <a name='failure20'></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>166 BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=9141<br> 167 </tt><br> 168 <a name='failure20'></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> 169 169 [ <a href='#failure19'>Previous Failure</a> | <a href='#failure21'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 170 <tt>Expected exit code 0, got 3<br>171 Testcase terminated with signal 0<br>172 Complete testcase output was:<br>173 BUGNUMBER: http://bugzilla.mozilla.org/show_bug.cgi?id=9141<br>174 </tt><br>175 <a name='failure21'></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>176 [ <a href='#failure20'>Previous Failure</a> | <a href='#failure22'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>177 170 <tt>Expected exit code 0, got 3<br> 178 171 Testcase terminated with signal 0<br> … … 181 174 As described in Netscape doc "Whats new in JavaScript 1.2" RegExp: simple form<br> 182 175 </tt><br> 183 <a name='failure2 2'></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>184 [ <a href='#failure2 1'>Previous Failure</a> | <a href='#failure23'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>176 <a name='failure21'></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> 177 [ <a href='#failure20'>Previous Failure</a> | <a href='#failure22'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 185 178 <tt><br> 186 179 Failure messages were:<br> … … 190 183 'abc'.split(new RegExp('[a-z]')) = ,,, FAILED! expected: ,,<br> 191 184 </tt><br> 192 <a name='failure23'></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> 185 <a name='failure22'></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> 186 [ <a href='#failure21'>Previous Failure</a> | <a href='#failure23'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 187 <tt><br> 188 Failure messages were:<br> 189 new Boolean(false) = true FAILED! expected: false<br> 190 </tt><br> 191 <a name='failure23'></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> 193 192 [ <a href='#failure22'>Previous Failure</a> | <a href='#failure24'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 194 <tt><br>195 Failure messages were:<br>196 new Boolean(false) = true FAILED! expected: false<br>197 </tt><br>198 <a name='failure24'></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>199 [ <a href='#failure23'>Previous Failure</a> | <a href='#failure25'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>200 193 <tt>STATUS: Regression test for Bugzilla bug 99663<br> 201 194 Failure messages were:<br> … … 204 197 Section 3 of test - got Error: Can't find variable: it FAILED! expected: a "read-only" error<br> 205 198 </tt><br> 206 <a name='failure2 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>207 [ <a href='#failure2 4'>Previous Failure</a> | <a href='#failure26'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>199 <a name='failure24'></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> 200 [ <a href='#failure23'>Previous Failure</a> | <a href='#failure25'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 208 201 <tt>Expected exit code 3, got 0<br> 209 202 Testcase terminated with signal 0<br> … … 213 206 eval("function f(){}function g(){}") = undefined FAILED! expected: error<br> 214 207 </tt><br> 215 <a name='failure26'></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> 208 <a name='failure25'></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> 209 [ <a href='#failure24'>Previous Failure</a> | <a href='#failure26'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 210 <tt>Expected exit code 0, got 3<br> 211 Testcase terminated with signal 0<br> 212 Complete testcase output was:<br> 213 script-001 NativeScript<br> 214 </tt><br> 215 <a name='failure26'></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> 216 216 [ <a href='#failure25'>Previous Failure</a> | <a href='#failure27'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 217 <tt>Expected exit code 0, got 3<br>218 Testcase terminated with signal 0<br>219 Complete testcase output was:<br>220 script-001 NativeScript<br>221 </tt><br>222 <a name='failure27'></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>223 [ <a href='#failure26'>Previous Failure</a> | <a href='#failure28'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>224 217 <tt>Expected exit code 3, got 0<br> 225 218 Testcase terminated with signal 0<br> … … 229 222 eval("function f(){}function g(){}") = undefined FAILED! expected: error<br> 230 223 </tt><br> 231 <a name='failure28'></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> 224 <a name='failure27'></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> 225 [ <a href='#failure26'>Previous Failure</a> | <a href='#failure28'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 226 <tt>Expected exit code 0, got 3<br> 227 Testcase terminated with signal 0<br> 228 Complete testcase output was:<br> 229 Testcase produced no output!</tt><br> 230 <a name='failure28'></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> 232 231 [ <a href='#failure27'>Previous Failure</a> | <a href='#failure29'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 233 232 <tt>Expected exit code 0, got 3<br> … … 235 234 Complete testcase output was:<br> 236 235 Testcase produced no output!</tt><br> 237 <a name='failure29'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/catchguard-00 2.js'>js1_5/Exceptions/catchguard-002.js</a> failed</b> <br>236 <a name='failure29'></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> 238 237 [ <a href='#failure28'>Previous Failure</a> | <a href='#failure30'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 239 238 <tt>Expected exit code 0, got 3<br> … … 241 240 Complete testcase output was:<br> 242 241 Testcase produced no output!</tt><br> 243 <a name='failure30'></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>242 <a name='failure30'></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> 244 243 [ <a href='#failure29'>Previous Failure</a> | <a href='#failure31'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 245 244 <tt>Expected exit code 0, got 3<br> … … 247 246 Complete testcase output was:<br> 248 247 Testcase produced no output!</tt><br> 249 <a name='failure31'></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>248 <a name='failure31'></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> 250 249 [ <a href='#failure30'>Previous Failure</a> | <a href='#failure32'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 251 <tt>Expected exit code 0, got 3<br>252 Testcase terminated with signal 0<br>253 Complete testcase output was:<br>254 Testcase produced no output!</tt><br>255 <a name='failure32'></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>256 [ <a href='#failure31'>Previous Failure</a> | <a href='#failure33'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>257 250 <tt>Expected exit code 0, got 3<br> 258 251 Testcase terminated with signal 0<br> … … 261 254 STATUS: Test (non-ECMA) Error object properties fileName, lineNumber<br> 262 255 </tt><br> 263 <a name='failure33'></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> 256 <a name='failure32'></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> 257 [ <a href='#failure31'>Previous Failure</a> | <a href='#failure33'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 258 <tt>Expected exit code 0, got 3<br> 259 Testcase terminated with signal 0<br> 260 Complete testcase output was:<br> 261 Testcase produced no output!</tt><br> 262 <a name='failure33'></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> 264 263 [ <a href='#failure32'>Previous Failure</a> | <a href='#failure34'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 265 264 <tt>Expected exit code 0, got 3<br> … … 267 266 Complete testcase output was:<br> 268 267 Testcase produced no output!</tt><br> 269 <a name='failure34'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-00 2.js'>js1_5/GetSet/getset-002.js</a> failed</b> <br>268 <a name='failure34'></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> 270 269 [ <a href='#failure33'>Previous Failure</a> | <a href='#failure35'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 271 270 <tt>Expected exit code 0, got 3<br> … … 273 272 Complete testcase output was:<br> 274 273 Testcase produced no output!</tt><br> 275 <a name='failure35'></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>274 <a name='failure35'></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> 276 275 [ <a href='#failure34'>Previous Failure</a> | <a href='#failure36'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 277 276 <tt>Expected exit code 0, got 3<br> … … 279 278 Complete testcase output was:<br> 280 279 Testcase produced no output!</tt><br> 281 <a name='failure36'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-90596-00 1.js'>js1_5/Object/regress-90596-001.js</a> failed</b> <br>280 <a name='failure36'></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> 282 281 [ <a href='#failure35'>Previous Failure</a> | <a href='#failure37'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 283 282 <tt>Expected exit code 0, got 3<br> … … 285 284 Complete testcase output was:<br> 286 285 Testcase produced no output!</tt><br> 287 <a name='failure37'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-9 0596-002.js'>js1_5/Object/regress-90596-002.js</a> failed</b> <br>286 <a name='failure37'></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> 288 287 [ <a href='#failure36'>Previous Failure</a> | <a href='#failure38'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 289 288 <tt>Expected exit code 0, got 3<br> … … 291 290 Complete testcase output was:<br> 292 291 Testcase produced no output!</tt><br> 293 <a name='failure38'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Object/regress-96284-00 1.js'>js1_5/Object/regress-96284-001.js</a> failed</b> <br>292 <a name='failure38'></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> 294 293 [ <a href='#failure37'>Previous Failure</a> | <a href='#failure39'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 295 294 <tt>Expected exit code 0, got 3<br> … … 297 296 Complete testcase output was:<br> 298 297 Testcase produced no output!</tt><br> 299 <a name='failure39'></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>298 <a name='failure39'></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> 300 299 [ <a href='#failure38'>Previous Failure</a> | <a href='#failure40'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 301 <tt>Expected exit code 0, got 3<br>302 Testcase terminated with signal 0<br>303 Complete testcase output was:<br>304 Testcase produced no output!</tt><br>305 <a name='failure40'></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>306 [ <a href='#failure39'>Previous Failure</a> | <a href='#failure41'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>307 300 <tt>Expected exit code 0, got 3<br> 308 301 Testcase terminated with signal 0<br> … … 311 304 STATUS: Testing that we don't crash on obj.toSource()<br> 312 305 </tt><br> 313 <a name='failure4 1'></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>314 [ <a href='#failure 40'>Previous Failure</a> | <a href='#failure42'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>306 <a name='failure40'></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> 307 [ <a href='#failure39'>Previous Failure</a> | <a href='#failure41'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 315 308 <tt>STATUS: Reassignment to a const is NOT an error per ECMA<br> 316 309 Failure messages were:<br> … … 322 315 FAILED!: [reported from test()] <br> 323 316 </tt><br> 324 <a name='failure42'></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> 317 <a name='failure41'></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> 318 [ <a href='#failure40'>Previous Failure</a> | <a href='#failure42'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 319 <tt>Expected exit code 0, got 3<br> 320 Testcase terminated with signal 0<br> 321 Complete testcase output was:<br> 322 Testcase produced no output!</tt><br> 323 <a name='failure42'></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> 325 324 [ <a href='#failure41'>Previous Failure</a> | <a href='#failure43'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 326 325 <tt>Expected exit code 0, got 3<br> … … 328 327 Complete testcase output was:<br> 329 328 Testcase produced no output!</tt><br> 330 <a name='failure43'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-1 27557.js'>js1_5/Regress/regress-127557.js</a> failed</b> <br>329 <a name='failure43'></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> 331 330 [ <a href='#failure42'>Previous Failure</a> | <a href='#failure44'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 332 331 <tt>Expected exit code 0, got 3<br> … … 334 333 Complete testcase output was:<br> 335 334 Testcase produced no output!</tt><br> 336 <a name='failure44'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-17 2699.js'>js1_5/Regress/regress-172699.js</a> failed</b><br>335 <a name='failure44'></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> 337 336 [ <a href='#failure43'>Previous Failure</a> | <a href='#failure45'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 338 <tt>Expected exit code 0, got 3<br>339 Testcase terminated with signal 0<br>340 Complete testcase output was:<br>341 Testcase produced no output!</tt><br>342 <a name='failure45'></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>343 [ <a href='#failure44'>Previous Failure</a> | <a href='#failure46'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>344 337 <tt>STATUS: Don't crash on extraneous arguments to str.match(), etc.<br> 345 338 Failure messages were:<br> … … 391 384 FAILED!: [reported from test()] <br> 392 385 </tt><br> 393 <a name='failure46'></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> 386 <a name='failure45'></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> 387 [ <a href='#failure44'>Previous Failure</a> | <a href='#failure46'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 388 <tt>Expected exit code 0, got 3<br> 389 Testcase terminated with signal 0<br> 390 Complete testcase output was:<br> 391 Testcase produced no output!</tt><br> 392 <a name='failure46'></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> 394 393 [ <a href='#failure45'>Previous Failure</a> | <a href='#failure47'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 395 <tt>Expected exit code 0, got 3<br>396 Testcase terminated with signal 0<br>397 Complete testcase output was:<br>398 Testcase produced no output!</tt><br>399 <a name='failure47'></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>400 [ <a href='#failure46'>Previous Failure</a> | <a href='#failure48'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>401 394 <tt>STATUS: Testing scope after changing obj.__proto__<br> 402 395 Failure messages were:<br> … … 409 402 FAILED!: [reported from test()] <br> 410 403 </tt><br> 411 <a name='failure4 8'></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>412 [ <a href='#failure4 7'>Previous Failure</a> | <a href='#failure49'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>404 <a name='failure47'></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> 405 [ <a href='#failure46'>Previous Failure</a> | <a href='#failure48'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 413 406 <tt>STATUS: E4X should be enabled even when e4x=1 not specified<br> 414 407 Failure messages were:<br> … … 420 413 FAILED!: <br> 421 414 </tt><br> 422 <a name='failure49'></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> 415 <a name='failure48'></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> 416 [ <a href='#failure47'>Previous Failure</a> | <a href='#failure49'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 417 <tt>Expected exit code 0, got 3<br> 418 Testcase terminated with signal 0<br> 419 Complete testcase output was:<br> 420 Testcase produced no output!</tt><br> 421 <a name='failure49'></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> 423 422 [ <a href='#failure48'>Previous Failure</a> | <a href='#failure50'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 424 423 <tt>Expected exit code 0, got 3<br> … … 426 425 Complete testcase output was:<br> 427 426 Testcase produced no output!</tt><br> 428 <a name='failure50'></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>427 <a name='failure50'></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> 429 428 [ <a href='#failure49'>Previous Failure</a> | <a href='#failure51'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br> 430 <tt>Expected exit code 0, got 3<br>431 Testcase terminated with signal 0<br>432 Complete testcase output was:<br>433 Testcase produced no output!</tt><br>434 <a name='failure51'></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>435 [ <a href='#failure50'>Previous Failure</a> | <a href='#failure52'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>436 429 <tt>Expected exit code 0, got 3<br> 437 430 Testcase terminated with signal 0<br> … … 447 440 <a name='retest_list'></a> 448 441 <h2>Retest List</h2><br> 449 # Retest List, squirrelfish, generated Wed Jan 19 13:26:57 2011.442 # Retest List, squirrelfish, generated Fri Mar 9 18:26:54 2012. 450 443 # Original test base was: All tests. 451 # 1119 of 1127 test(s) were completed, 51 failures reported. 452 ecma/TypeConversion/9.3.1-3.js 444 # 1116 of 1124 test(s) were completed, 50 failures reported. 453 445 ecma_2/Exceptions/function-001.js 454 446 ecma_2/RegExp/regress-001.js -
trunk/Source/JavaScriptCore/wtf/dtoa.cpp
r107625 r110657 649 649 #define n_bigtens 5 650 650 651 template<AllowTrailingJunkTag allowTrailingJunk >651 template<AllowTrailingJunkTag allowTrailingJunk, AllowTrailingSpacesTag allowTrailingSpaces> 652 652 double strtod(const char* s00, char** se) 653 653 { … … 655 655 double_conversion::StringToDoubleConverter converter( 656 656 (allowTrailingJunk ? double_conversion::StringToDoubleConverter::ALLOW_TRAILING_JUNK : 0) | 657 (allowTrailingSpaces ? double_conversion::StringToDoubleConverter::ALLOW_TRAILING_SPACES : 0) | 657 658 double_conversion::StringToDoubleConverter::ALLOW_LEADING_SPACES, 658 659 0.0, … … 666 667 } 667 668 668 template double strtod<AllowTrailingJunk>(const char*, char**); 669 template double strtod<DisallowTrailingJunk>(const char*, char**); 669 template double strtod<AllowTrailingJunk, AllowTrailingSpaces>(const char*, char**); 670 template double strtod<AllowTrailingJunk, DisallowTrailingSpaces>(const char*, char**); 671 template double strtod<DisallowTrailingJunk, AllowTrailingSpaces>(const char*, char**); 672 template double strtod<DisallowTrailingJunk, DisallowTrailingSpaces>(const char*, char**); 670 673 671 674 static ALWAYS_INLINE int quorem(BigInt& b, BigInt& S) -
trunk/Source/JavaScriptCore/wtf/dtoa.h
r107625 r110657 37 37 38 38 enum AllowTrailingJunkTag { DisallowTrailingJunk = 0, AllowTrailingJunk }; 39 enum AllowTrailingSpacesTag { DisallowTrailingSpaces = 0, AllowTrailingSpaces }; 39 40 40 41 // s00: input string. Must not be 0 and must be terminated by 0. 41 42 // se: *se will have the last consumed character position + 1. 42 template<AllowTrailingJunkTag allowTrailingJunk >43 template<AllowTrailingJunkTag allowTrailingJunk, AllowTrailingSpacesTag allowTrailingSpaces> 43 44 double strtod(const char* s00, char** se); 44 45 -
trunk/Source/JavaScriptCore/wtf/dtoa/double-conversion.cc
r94520 r110657 435 435 436 436 437 // Returns true if a nonspace found and false if the end has reached.437 // Returns true if whitespace found and false if the end has reached. 438 438 static inline bool AdvanceToNonspace(const char** current, const char* end) { 439 439 while (*current != end) { 440 if (**current != ' ') return true; 441 ++*current; 440 switch(**current) { 441 case ' ': 442 case '\t': 443 case '\v': 444 case '\r': 445 case '\f': 446 case '\n': ++*current; continue; 447 default: return true; 448 } 442 449 } 443 450 return false; -
trunk/Source/JavaScriptCore/wtf/text/WTFString.cpp
r108001 r110657 1054 1054 char* start = bytes.data(); 1055 1055 char* end; 1056 double val = WTF::strtod<allowTrailingJunk >(start, &end);1056 double val = WTF::strtod<allowTrailingJunk, WTF::DisallowTrailingSpaces>(start, &end); 1057 1057 if (ok) 1058 1058 *ok = (end == 0 || *end == '\0') && !isnan(val);
Note:
See TracChangeset
for help on using the changeset viewer.