Changeset 129289 in webkit for trunk/Source/JavaScriptCore/tests


Ignore:
Timestamp:
Sep 21, 2012, 6:34:25 PM (13 years ago)
Author:
[email protected]
Message:

Pedantic test in Mozilla's JavaScript test suite fails. function-001.js function-001-n.js
https://bugs.webkit.org/show_bug.cgi?id=27219

Reviewed by Sam Weinig.

These tests are just wrong.
See ECMA 262 A.5, FunctionDelcaration does not require a semicolon.

  • tests/mozilla/expected.html:
  • tests/mozilla/js1_2/function/function-001-n.js:
  • tests/mozilla/js1_3/Script/function-001-n.js:
  • tests/mozilla/js1_3/regress/function-001-n.js:
Location:
trunk/Source/JavaScriptCore/tests/mozilla
Files:
4 edited

Legend:

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

    r127797 r129289  
    10101124 test(s) selected, 1116 test(s) completed, 44 failures reported (3.94% failed)<br>
    1111Engine command line: "/Volumes/Data/Saxony/OpenSource/WebKitBuild/Debug/jsc" <br>
    12 OS type: Darwin Bearclaw-Kaliber.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64<br>
    13 Testcase execution time: 52 seconds.<br>
    14 Tests completed on Thu Sep  6 15:11:19 2012.<br><br>
     12OS type: Darwin Bearclaw-Kaliber.local 12.0.0 Darwin Kernel Version 12.0.0: Fri Jun 22 20:01:10 PDT 2012; root:xnu-2050.7.7~1/RELEASE_X86_64 x86_64<br>
     13Testcase execution time: 54 seconds.<br>
     14Tests completed on Fri Sep 21 18:29:47 2012.<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>
     
    8181Complete testcase output was:<br>
    8282function-001.js functions not separated by semicolons are errors in version 120 and higher<br>
    83 eval("function f(){}function g(){}") = undefined FAILED! expected: error<br>
     83eval("function f(){}function g(){}") = undefined PASSED!<br>
    8484</tt><br>
    8585<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>
     
    164164BUGNUMBER: 10278<br>
    165165function-001.js functions not separated by semicolons are errors in version 120 and higher<br>
    166 eval("function f(){}function g(){}") = undefined FAILED! expected: error<br>
     166eval("function f(){}function g(){}") = undefined PASSED!<br>
    167167</tt><br>
    168168<a name='failure19'></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>
     
    182182BUGNUMBER: 10278<br>
    183183function-001.js functions not separated by semicolons are errors in version 120 and higher<br>
    184 eval("function f(){}function g(){}") = undefined FAILED! expected: error<br>
     184eval("function f(){}function g(){}") = undefined PASSED!<br>
    185185</tt><br>
    186186<a name='failure21'></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>
     
    438438<a name='retest_list'></a>
    439439<h2>Retest List</h2><br>
    440 # Retest List, squirrelfish, generated Thu Sep  6 15:11:19 2012.
     440# Retest List, squirrelfish, generated Fri Sep 21 18:29:47 2012.
    441441# Original test base was: All tests.
    442442# 1116 of 1124 test(s) were completed, 44 failures reported.
  • trunk/Source/JavaScriptCore/tests/mozilla/js1_2/function/function-001-n.js

    r11995 r129289  
    5454        SECTION,
    5555        "eval(\"function f(){}function g(){}\")",
    56         "error",
     56        undefined,
    5757        eval("function f(){}function g(){}") );
    5858
  • trunk/Source/JavaScriptCore/tests/mozilla/js1_3/Script/function-001-n.js

    r11995 r129289  
    5454        SECTION,
    5555        "eval(\"function f(){}function g(){}\")",
    56         "error",
     56        undefined,
    5757        eval("function f(){}function g(){}") );
    5858
  • trunk/Source/JavaScriptCore/tests/mozilla/js1_3/regress/function-001-n.js

    r11995 r129289  
    5454        SECTION,
    5555        "eval(\"function f(){}function g(){}\")",
    56         "error",
     56        undefined,
    5757        eval("function f(){}function g(){}") );
    5858
Note: See TracChangeset for help on using the changeset viewer.