[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 09:51:30 PST 2010


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





--- Comment #9 from P T Withington <ptw at pobox.com>  2010-01-12 09:51:28 PST ---
(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.

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