[Webkit-unassigned] [Bug 80467] New: Array.prototype functions should throw if delete fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 6 18:12:39 PST 2012


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

           Summary: Array.prototype functions should throw if delete fails
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: barraclough at apple.com


All calls to [[Delete]] from Array.prototype are specified to pass 'true' as the value of Throw.  In the case of shift/unshift, these are also missing a throw from the 'put' in the implementations in JSArray.cpp.  There are effectively three copies of each of the generic shift/unshift routines, one in splice, one in ArrayPrototype's shift/unshift methods, and one in JSArray's shift/unshift routines, for handling arrays with holes.  These three copies should be unified.

-- 
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