[Webkit-unassigned] [Bug 14993] New: Incorrect implementation of Array.prototype.indexOf

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 16 19:40:39 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14993

           Summary: Incorrect implementation of Array.prototype.indexOf
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: erik.arvidsson at gmail.com


Given an array where elements have been removed indexOf will match undefined to
the deleted elements.

var a = [0, 1, 2, 3];
delete a[1];
a.indexOf(undefined)

test case coming...


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



More information about the webkit-unassigned mailing list