[Webkit-unassigned] [Bug 33159] New: Make JSObject::getPropertyNames() non-virtual

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 4 10:49:58 PST 2010


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

           Summary: Make JSObject::getPropertyNames() non-virtual
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kent.hansen at nokia.com


With the introduction of JSObject::getOwnPropertyNames(), getPropertyNames()
doesn't need to be virtual anymore.
Having two virtual methods for getting property names is confusing and
error-prone. getPropertyNames() should
always follow the prototype chain and call getOwnPropertyNames() on each
object.

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