Bug 27219 - Pedantic test in Mozilla's JavaScript test suite fails. function-001.js function-001-n.js
Summary: Pedantic test in Mozilla's JavaScript test suite fails. function-001.js funct...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Minor
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 09:34 PDT by Carol Szabo
Modified: 2012-09-21 18:34 PDT (History)
0 users

See Also:


Attachments
Fix (6.20 KB, patch)
2012-09-21 18:33 PDT, Gavin Barraclough
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carol Szabo 2009-07-13 09:34:39 PDT
The ecma_2/Exceptions/function-001.js test fails in all JavaScriptCore products because JavaScriptCore does not require a semicolon between function declarations as the test expects.
This same test is repeated in other places such as js1_2/function/function-001-n.js,  js1_3/Script/function-001-n.js, js1_3/regress/function-001-n.js.
Comment 1 Carol Szabo 2009-07-13 09:36:23 PDT
If there is no intent to fix this bug as the fix may create more harm to the user than help to the developer, shouldn't all the tests involving this issue be skipped and time wasted to run them and analyze the results saved? Since whether they fail or succeed it does not matter?
Comment 2 Gavin Barraclough 2012-09-21 18:33:15 PDT
Created attachment 165239 [details]
Fix
Comment 3 Gavin Barraclough 2012-09-21 18:34:03 PDT
Fixed in r129289