Bug 3878

Summary: arguments object should be an object not an array
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: JavaScriptCoreAssignee: Maciej Stachowiak <mjs>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 412   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on: 3881    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch w/updated test results mjs: review+

Geoffrey Garen
Reported 2005-07-06 13:17:29 PDT
Causes the following test to fail: ecma_3/Function/arguments-001.js Reason for failure: inability to delete arguments.length Spec: ECMA 10.1.6 "The activation object is initialised with a property with name arguments and attributes { DontDelete }. The initial value of this property is the arguments object described below"
Attachments
Patch (1.88 KB, patch)
2005-07-06 13:22 PDT, Geoffrey Garen
no flags
Patch w/updated test results (94.33 KB, patch)
2005-07-06 13:53 PDT, Geoffrey Garen
mjs: review+
Geoffrey Garen
Comment 1 2005-07-06 13:22:23 PDT
Created attachment 2834 [details] Patch This patch also removes the ArgumentsImp constructor with no argument list [ArgumentsImp(ExecState *exec, FunctionImp *func)], since it's never used, and it's unclear when you would want to use it.
Geoffrey Garen
Comment 2 2005-07-06 13:53:48 PDT
Created attachment 2835 [details] Patch w/updated test results This patch includes an update to the expected test results.
Maciej Stachowiak
Comment 3 2005-07-07 00:25:44 PDT
Comment on attachment 2835 [details] Patch w/updated test results r=me
Note You need to log in before you can comment on or make changes to this bug.