[Webkit-unassigned] [Bug 28298] New: [ES5] Arguments object should inherit from Array

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 14 03:40:47 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28298

           Summary: [ES5] Arguments object should inherit from Array
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com


ES5 says that the Arguments should inherit from array (Section 10.6). 
Specifically that construction of the Arguments object is as follows (assuming
Object and Array are the standard builtin Object and Array objects, and that
their prototypes are unchanged):

obj = new Object with the class Arguments
obj.__proto__ = Array.prototype
obj.constructor = Object
obj.toString = Object.prototype.toString
obj.toLocalString = Object.prototype.toLocaleString

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list