Changeset 9819 in webkit for trunk/JavaScriptCore/tests


Ignore:
Timestamp:
Jul 18, 2005, 10:40:55 AM (20 years ago)
Author:
ggaren
Message:

-fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4008
Error objects report incorrect length

Reviewed by darin.

  • kjs/error_object.cpp: Error objects now include a length property (ErrorObjectImp::ErrorObjectImp):
  • tests/mozilla/expected.html: updated expected results to reflect fix
  • tests/mozilla/js1_5/Exceptions/regress-123002.js: test now expects ecma compliant results
Location:
trunk/JavaScriptCore/tests/mozilla
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/tests/mozilla/expected.html

    r9795 r9819  
    88Test List: All tests<br>
    99Skip List: ecma/Date<br>
    10 967 test(s) selected, 962 test(s) completed, 101 failures reported (10.49% failed)<br>
     10967 test(s) selected, 962 test(s) completed, 100 failures reported (10.39% failed)<br>
    1111Engine command line: /Users/ggaren/Development/symroots/testkjs <br>
    1212OS type: Darwin il0204a-dhcp30.apple.com 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun  3 21:09:06 PDT 2005; root:xnu-792.2.3.obj~1/RELEASE_PPC Power Macintosh powerpc<br>
    13 Testcase execution time: 1 minutes, 35 seconds.<br>
    14 Tests completed on Fri Jul 15 09:54:30 2005.<br><br>
     13Testcase execution time: 1 minutes, 33 seconds.<br>
     14Tests completed on Mon Jul 18 10:51:30 2005.<br><br>
    1515[ <a href='#fail_detail'>Failure Details</a> | <a href='#retest_list'>Retest List</a> | <a href='menu.html'>Test Selection Page</a> ]<br>
    1616<hr>
     
    122122--> (Mon Feb 28 2000 15:59:59 GMT-0800).toLocaleTimeString() = 3:59:59 PM PST FAILED! expected: 15:59:59<br>
    123123--> (Tue Feb 29 2000 00:00:00 GMT-0800).toLocaleTimeString() = 12:00:00 AM PST FAILED! expected: 00:00:00<br>
    124 --> (Fri Jul 15 2005 09:54:00 GMT-0700).toLocaleTimeString() = 9:54:00 AM PDT FAILED! expected: 09:54:00<br>
    125 --> (Fri Jul 15 2005 17:54:00 GMT-0700).toLocaleTimeString() = 5:54:00 PM PDT FAILED! expected: 17:54:00<br>
     124--> (Mon Jul 18 2005 10:51:01 GMT-0700).toLocaleTimeString() = 10:51:01 AM PDT FAILED! expected: 10:51:01<br>
     125--> (Mon Jul 18 2005 18:51:01 GMT-0700).toLocaleTimeString() = 6:51:01 PM PDT FAILED! expected: 18:51:01<br>
    126126--> (Fri Dec 31 2004 16:00:00 GMT-0800).toLocaleTimeString() = 4:00:00 PM PST FAILED! expected: 16:00:00<br>
    127127--> (Fri Dec 31 2004 15:59:59 GMT-0800).toLocaleTimeString() = 3:59:59 PM PST FAILED! expected: 15:59:59<br>
     
    12651265Exception, line 248: TypeError: Undefined value<br>
    12661266</tt><br>
    1267 <a name='failure76'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Exceptions/regress-123002.js'>js1_5/Exceptions/regress-123002.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=123002' target='other_window'>Bug Number 123002</a><br>
     1267<a name='failure76'></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>
    12681268 [ <a href='#failure75'>Previous Failure</a> | <a href='#failure77'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    1269 <tt>--> STATUS: Testing Error.length<br>
    1270 Failure messages were:<br>
    1271 --> FAILED!: [reported from test()] Section "Error" of test -<br>
    1272 --> FAILED!: [reported from test()] Expected value '3', Actual value '0'<br>
    1273 --> FAILED!: [reported from test()] <br>
    1274 --> FAILED!: [reported from test()] Section "EvalError" of test -<br>
    1275 --> FAILED!: [reported from test()] Expected value '3', Actual value '0'<br>
    1276 --> FAILED!: [reported from test()] <br>
    1277 --> FAILED!: [reported from test()] Section "RangeError" of test -<br>
    1278 --> FAILED!: [reported from test()] Expected value '3', Actual value '0'<br>
    1279 --> FAILED!: [reported from test()] <br>
    1280 --> FAILED!: [reported from test()] Section "ReferenceError" of test -<br>
    1281 --> FAILED!: [reported from test()] Expected value '3', Actual value '0'<br>
    1282 --> FAILED!: [reported from test()] <br>
    1283 --> FAILED!: [reported from test()] Section "SyntaxError" of test -<br>
    1284 --> FAILED!: [reported from test()] Expected value '3', Actual value '0'<br>
    1285 --> FAILED!: [reported from test()] <br>
    1286 --> FAILED!: [reported from test()] Section "TypeError" of test -<br>
    1287 --> FAILED!: [reported from test()] Expected value '3', Actual value '0'<br>
    1288 --> FAILED!: [reported from test()] <br>
    1289 --> FAILED!: [reported from test()] Section "URIError" of test -<br>
    1290 --> FAILED!: [reported from test()] Expected value '3', Actual value '0'<br>
    1291 --> FAILED!: [reported from test()] <br>
    1292 </tt><br>
    1293 <a name='failure77'></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>
    1294  [ <a href='#failure76'>Previous Failure</a> | <a href='#failure78'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    12951269<tt>Expected exit code 0, got 3<br>
    12961270Testcase terminated with signal 0<br>
     
    13001274Exception, line 66: TypeError: Undefined value<br>
    13011275</tt><br>
    1302 <a name='failure78'></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>
     1276<a name='failure77'></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>
     1277 [ <a href='#failure76'>Previous Failure</a> | <a href='#failure78'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1278<tt>Expected exit code 0, got 3<br>
     1279Testcase terminated with signal 0<br>
     1280Complete testcase output was:<br>
     1281Exception, line 33: SyntaxError: Parse error<br>
     1282</tt><br>
     1283<a name='failure78'></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>
    13031284 [ <a href='#failure77'>Previous Failure</a> | <a href='#failure79'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13041285<tt>Expected exit code 0, got 3<br>
    13051286Testcase terminated with signal 0<br>
    13061287Complete testcase output was:<br>
    1307 Exception, line 33: SyntaxError: Parse error<br>
    1308 </tt><br>
    1309 <a name='failure79'></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>
     1288Exception, line 29: SyntaxError: Parse error<br>
     1289</tt><br>
     1290<a name='failure79'></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>
    13101291 [ <a href='#failure78'>Previous Failure</a> | <a href='#failure80'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13111292<tt>Expected exit code 0, got 3<br>
    13121293Testcase terminated with signal 0<br>
    13131294Complete testcase output was:<br>
    1314 Exception, line 29: SyntaxError: Parse error<br>
    1315 </tt><br>
    1316 <a name='failure80'></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>
     1295Exception, line 48: SyntaxError: Parse error<br>
     1296</tt><br>
     1297<a name='failure80'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-004.js'>js1_5/GetSet/getset-004.js</a> failed</b> <br>
    13171298 [ <a href='#failure79'>Previous Failure</a> | <a href='#failure81'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13181299<tt>Expected exit code 0, got 3<br>
    13191300Testcase terminated with signal 0<br>
    13201301Complete testcase output was:<br>
    1321 Exception, line 48: SyntaxError: Parse error<br>
    1322 </tt><br>
    1323 <a name='failure81'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-004.js'>js1_5/GetSet/getset-004.js</a> failed</b> <br>
     1302Exception, line 48: TypeError: Value undefined (result of expression obj.__defineSetter__) is not object.<br>
     1303</tt><br>
     1304<a name='failure81'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-005.js'>js1_5/GetSet/getset-005.js</a> failed</b> <br>
    13241305 [ <a href='#failure80'>Previous Failure</a> | <a href='#failure82'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13251306<tt>Expected exit code 0, got 3<br>
    13261307Testcase terminated with signal 0<br>
    13271308Complete testcase output was:<br>
    1328 Exception, line 48: TypeError: Value undefined (result of expression obj.__defineSetter__) is not object.<br>
    1329 </tt><br>
    1330 <a name='failure82'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-005.js'>js1_5/GetSet/getset-005.js</a> failed</b> <br>
     1309Exception, line 57: TypeError: Value undefined (result of expression obj.__defineSetter__) is not object.<br>
     1310</tt><br>
     1311<a name='failure82'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-006.js'>js1_5/GetSet/getset-006.js</a> failed</b> <br>
    13311312 [ <a href='#failure81'>Previous Failure</a> | <a href='#failure83'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13321313<tt>Expected exit code 0, got 3<br>
    13331314Testcase terminated with signal 0<br>
    13341315Complete testcase output was:<br>
    1335 Exception, line 57: TypeError: Value undefined (result of expression obj.__defineSetter__) is not object.<br>
    1336 </tt><br>
    1337 <a name='failure83'></a><dd><b>Testcase <a target='other_window' href='./js1_5/GetSet/getset-006.js'>js1_5/GetSet/getset-006.js</a> failed</b> <br>
     1316Exception, line 62: TypeError: Value undefined (result of expression obj.__defineSetter__) is not object.<br>
     1317</tt><br>
     1318<a name='failure83'></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>
    13381319 [ <a href='#failure82'>Previous Failure</a> | <a href='#failure84'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13391320<tt>Expected exit code 0, got 3<br>
    13401321Testcase terminated with signal 0<br>
    13411322Complete testcase output was:<br>
    1342 Exception, line 62: TypeError: Value undefined (result of expression obj.__defineSetter__) is not object.<br>
    1343 </tt><br>
    1344 <a name='failure84'></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>
     1323Exception, line 49: TypeError: Value undefined (result of expression obj.toSource) is not object.<br>
     1324</tt><br>
     1325<a name='failure84'></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>
    13451326 [ <a href='#failure83'>Previous Failure</a> | <a href='#failure85'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13461327<tt>Expected exit code 0, got 3<br>
    13471328Testcase terminated with signal 0<br>
    13481329Complete testcase output was:<br>
    1349 Exception, line 49: TypeError: Value undefined (result of expression obj.toSource) is not object.<br>
    1350 </tt><br>
    1351 <a name='failure85'></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>
     1330Exception, line 49: ReferenceError: Can't find variable: uneval<br>
     1331</tt><br>
     1332<a name='failure85'></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>
    13521333 [ <a href='#failure84'>Previous Failure</a> | <a href='#failure86'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13531334<tt>Expected exit code 0, got 3<br>
    13541335Testcase terminated with signal 0<br>
    13551336Complete testcase output was:<br>
    1356 Exception, line 49: ReferenceError: Can't find variable: uneval<br>
    1357 </tt><br>
    1358 <a name='failure86'></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>
     1337Exception, line 50: TypeError: Value undefined (result of expression obj1.toSource) is not object.<br>
     1338</tt><br>
     1339<a name='failure86'></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>
    13591340 [ <a href='#failure85'>Previous Failure</a> | <a href='#failure87'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13601341<tt>Expected exit code 0, got 3<br>
    13611342Testcase terminated with signal 0<br>
    13621343Complete testcase output was:<br>
    1363 Exception, line 50: TypeError: Value undefined (result of expression obj1.toSource) is not object.<br>
    1364 </tt><br>
    1365 <a name='failure87'></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>
     1344Exception, line 50: ReferenceError: Can't find variable: uneval<br>
     1345</tt><br>
     1346<a name='failure87'></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>
    13661347 [ <a href='#failure86'>Previous Failure</a> | <a href='#failure88'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    1367 <tt>Expected exit code 0, got 3<br>
    1368 Testcase terminated with signal 0<br>
    1369 Complete testcase output was:<br>
    1370 Exception, line 50: ReferenceError: Can't find variable: uneval<br>
    1371 </tt><br>
    1372 <a name='failure88'></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>
    1373  [ <a href='#failure87'>Previous Failure</a> | <a href='#failure89'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13741348<tt>--> STATUS: Reassignment to a const is NOT an error per ECMA<br>
    13751349Failure messages were:<br>
     
    13811355--> FAILED!: [reported from test()] <br>
    13821356</tt><br>
    1383 <a name='failure89'></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>
     1357<a name='failure88'></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>
     1358 [ <a href='#failure87'>Previous Failure</a> | <a href='#failure89'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1359<tt>Expected exit code 0, got 3<br>
     1360Testcase terminated with signal 0<br>
     1361Complete testcase output was:<br>
     1362Exception, line 351: SyntaxError: Parse error<br>
     1363</tt><br>
     1364<a name='failure89'></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>
    13841365 [ <a href='#failure88'>Previous Failure</a> | <a href='#failure90'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13851366<tt>Expected exit code 0, got 3<br>
    13861367Testcase terminated with signal 0<br>
    13871368Complete testcase output was:<br>
    1388 Exception, line 351: SyntaxError: Parse error<br>
    1389 </tt><br>
    1390 <a name='failure90'></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>
     1369Exception, line 76: ReferenceError: Can't find variable: clone<br>
     1370</tt><br>
     1371<a name='failure90'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-156354.js'>js1_5/Regress/regress-156354.js</a> failed</b> <br>
    13911372 [ <a href='#failure89'>Previous Failure</a> | <a href='#failure91'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    13921373<tt>Expected exit code 0, got 3<br>
    13931374Testcase terminated with signal 0<br>
    13941375Complete testcase output was:<br>
    1395 Exception, line 76: ReferenceError: Can't find variable: clone<br>
    1396 </tt><br>
    1397 <a name='failure91'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-156354.js'>js1_5/Regress/regress-156354.js</a> failed</b> <br>
     1376Exception, line 56: TypeError: Value undefined (result of expression this.propertyIsEnumerable) is not object.<br>
     1377</tt><br>
     1378<a name='failure91'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-168347.js'>js1_5/Regress/regress-168347.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=168347' target='other_window'>Bug Number 168347</a><br>
    13981379 [ <a href='#failure90'>Previous Failure</a> | <a href='#failure92'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    1399 <tt>Expected exit code 0, got 3<br>
    1400 Testcase terminated with signal 0<br>
    1401 Complete testcase output was:<br>
    1402 Exception, line 56: TypeError: Value undefined (result of expression this.propertyIsEnumerable) is not object.<br>
    1403 </tt><br>
    1404 <a name='failure92'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-168347.js'>js1_5/Regress/regress-168347.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=168347' target='other_window'>Bug Number 168347</a><br>
    1405  [ <a href='#failure91'>Previous Failure</a> | <a href='#failure93'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    14061380<tt>--> STATUS: Testing F.toString()<br>
    14071381Failure messages were:<br>
     
    14131387--> FAILED!: [reported from test()] <br>
    14141388</tt><br>
    1415 <a name='failure93'></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>
     1389<a name='failure92'></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>
     1390 [ <a href='#failure91'>Previous Failure</a> | <a href='#failure93'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1391<tt>Expected exit code 0, got 3<br>
     1392Testcase terminated with signal 0<br>
     1393Complete testcase output was:<br>
     1394Exception, line 62: URIError: URI error<br>
     1395</tt><br>
     1396<a name='failure93'></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>
    14161397 [ <a href='#failure92'>Previous Failure</a> | <a href='#failure94'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    1417 <tt>Expected exit code 0, got 3<br>
    1418 Testcase terminated with signal 0<br>
    1419 Complete testcase output was:<br>
    1420 Exception, line 62: URIError: URI error<br>
    1421 </tt><br>
    1422 <a name='failure94'></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>
    1423  [ <a href='#failure93'>Previous Failure</a> | <a href='#failure95'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    14241398<tt>--> STATUS: Don't crash on extraneous arguments to str.match(), etc.<br>
    14251399Failure messages were:<br>
     
    14711445--> FAILED!: [reported from test()] <br>
    14721446</tt><br>
    1473 <a name='failure95'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-185165.js'>js1_5/Regress/regress-185165.js</a> failed</b> <br>
    1474  [ <a href='#failure94'>Previous Failure</a> | <a href='#failure96'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1447<a name='failure94'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-185165.js'>js1_5/Regress/regress-185165.js</a> failed</b> <br>
     1448 [ <a href='#failure93'>Previous Failure</a> | <a href='#failure95'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    14751449<tt>Expected exit code 0, got 3<br>
    14761450Testcase terminated with signal 0<br>
     
    14791453Exception, line 3: SyntaxError: Parse error<br>
    14801454</tt><br>
    1481 <a name='failure96'></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>
    1482  [ <a href='#failure95'>Previous Failure</a> | <a href='#failure97'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1455<a name='failure95'></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>
     1456 [ <a href='#failure94'>Previous Failure</a> | <a href='#failure96'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    14831457<tt>Expected exit code 0, got 3<br>
    14841458Testcase terminated with signal 0<br>
     
    14881462Exception, line 61: TypeError: Value undefined (result of expression obj.toSource) is not object.<br>
    14891463</tt><br>
    1490 <a name='failure97'></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>
    1491  [ <a href='#failure96'>Previous Failure</a> | <a href='#failure98'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1464<a name='failure96'></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>
     1465 [ <a href='#failure95'>Previous Failure</a> | <a href='#failure97'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    14921466<tt>--> STATUS: Testing calling obj.eval(str)<br>
    14931467Failure messages were:<br>
     
    14971471--> FAILED!: [reported from test()] <br>
    14981472</tt><br>
    1499 <a name='failure98'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-96128-n.js'>js1_5/Regress/regress-96128-n.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=96128' target='other_window'>Bug Number 96128</a><br>
    1500  [ <a href='#failure97'>Previous Failure</a> | <a href='#failure99'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1473<a name='failure97'></a><dd><b>Testcase <a target='other_window' href='./js1_5/Regress/regress-96128-n.js'>js1_5/Regress/regress-96128-n.js</a> failed</b> <a href='http://bugzilla.mozilla.org/show_bug.cgi?id=96128' target='other_window'>Bug Number 96128</a><br>
     1474 [ <a href='#failure96'>Previous Failure</a> | <a href='#failure98'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    15011475<tt>Expected exit code 3, got 0<br>
    15021476Testcase terminated with signal 11<br>
     
    15051479--> STATUS: Testing that JS infinite recursion protection works<br>
    15061480</tt><br>
    1507 <a name='failure99'></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>
    1508  [ <a href='#failure98'>Previous Failure</a> | <a href='#failure100'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1481<a name='failure98'></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>
     1482 [ <a href='#failure97'>Previous Failure</a> | <a href='#failure99'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    15091483<tt>--> STATUS: Testing |with (x) {function f() {}}| when |x.f| already exists<br>
    15101484Failure messages were:<br>
     
    15211495--> FAILED!: [reported from test()] <br>
    15221496</tt><br>
    1523 <a name='failure100'></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>
     1497<a name='failure99'></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>
     1498 [ <a href='#failure98'>Previous Failure</a> | <a href='#failure100'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
     1499<tt>Expected exit code 0, got 3<br>
     1500Testcase terminated with signal 0<br>
     1501Complete testcase output was:<br>
     1502Exception, line 57: ReferenceError: Can't find variable: Script<br>
     1503</tt><br>
     1504<a name='failure100'></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>
    15241505 [ <a href='#failure99'>Previous Failure</a> | <a href='#failure101'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    1525 <tt>Expected exit code 0, got 3<br>
    1526 Testcase terminated with signal 0<br>
    1527 Complete testcase output was:<br>
    1528 Exception, line 57: ReferenceError: Can't find variable: Script<br>
    1529 </tt><br>
    1530 <a name='failure101'></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>
    1531  [ <a href='#failure100'>Previous Failure</a> | <a href='#failure102'>Next Failure</a> | <a href='#tippy_top'>Top of Page</a> ]<br>
    15321506<tt>--> STATUS: Testing scope after changing obj.__proto__<br>
    15331507Failure messages were:<br>
     
    15461520<a name='retest_list'></a>
    15471521<h2>Retest List</h2><br>
    1548 # Retest List, kjs, generated Fri Jul 15 09:54:30 2005.
     1522# Retest List, kjs, generated Mon Jul 18 10:51:30 2005.
    15491523# Original test base was: All tests.
    1550 # 962 of 967 test(s) were completed, 101 failures reported.
     1524# 962 of 967 test(s) were completed, 100 failures reported.
    15511525ecma/GlobalObject/15.1.2.2-2.js
    15521526ecma/LexicalConventions/7.7.3-1.js
     
    16241598js1_5/Exceptions/catchguard-003.js
    16251599js1_5/Exceptions/errstack-001.js
    1626 js1_5/Exceptions/regress-123002.js
    16271600js1_5/Exceptions/regress-50447.js
    16281601js1_5/GetSet/getset-001.js
  • trunk/JavaScriptCore/tests/mozilla/js1_5/Exceptions/regress-123002.js

    r5172 r9819  
    7272 * Are we in Rhino or SpiderMonkey?
    7373 */
    74 var LENGTH_EXPECTED = inRhino()? LENGTH_RHINO : LENGTH_SPIDERMONKEY;
     74// var LENGTH_EXPECTED = inRhino()? LENGTH_RHINO : LENGTH_SPIDERMONKEY;
     75// ECMA spec says length should be 1
     76var LENGTH_EXPECTED = 1;
    7577
    7678/*
Note: See TracChangeset for help on using the changeset viewer.