[Webkit-unassigned] [Bug 33450] property access (. operator) incorrectly returning prototype value not instance value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 12 10:19:37 PST 2010


--- Comment #10 from Oliver Hunt <oliver at apple.com>  2010-01-12 10:19:36 PST ---
(In reply to comment #9)
> (In reply to comment #7)
> > IIRC this bug is specific to direct prototype
> > look ups
> Your suggested workaround doesn't seem to work for me.  I rejiggered our class
> substrate to insert an extra "empty" object in the __proto__ chain between each
> instance and its constructor's prototype (where the class default values
> reside), but that did not change the behavior.
> The regression test added to
> LayoutTests/fast/js/script-tests/dictionary-prototype-caching.js for Bug 32402
> is testing a 3-deep __proto__ chain, so it seems the cache error can't be
> worked around by just introducing additional protos.  Bummer.

Ah dammit, i was just adding assertions to the direct prototype lookup, the fix
was for multiple levels.  Sorry :-(

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