Bug 8742

Summary: duplicate keys in prototype chain
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, ian
Priority: P3    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.mochikit.com/examples/interpreter/index.html

Eric Seidel (no email)
Reported 2006-05-04 14:41:38 PDT
http://www.mochikit.com/examples/interpreter/index.html type: a = {b: 1}; b = clone(a); b.b = 2; keys(b) you'll note that keys shows [b, b], unlike firefox.
Attachments
Eric Seidel (no email)
Comment 1 2006-05-04 14:42:13 PDT
That expands to: a = {b: 1}; B = function () {}; B.prototype = a; b = new B(); b.b = 2; keys(b);
Alexey Proskuryakov
Comment 2 2006-05-04 21:33:25 PDT
Alexey Proskuryakov
Comment 3 2006-07-16 21:44:32 PDT
*** This bug has been marked as a duplicate of 9950 ***
Note You need to log in before you can comment on or make changes to this bug.