[Webkit-unassigned] [Bug 33053] JSON.stringify and JSON.parse implementations needlessly process properties in the prototype chain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 30 07:24:29 PST 2009


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





--- Comment #3 from Kent Hansen <kent.hansen at nokia.com>  2009-12-30 07:24:29 PST ---
Hmm, there should probably be a check to see if the OverridesGetPropertyNames
flag is on, and in that case call getPropertyNames() as before.

It scares me a bit that there are now two virtual functions for getting
property names. Can't we just make getPropertyNames() non-virtual now that
there is getOwnPropertyNames()? Then rename the OverridesGetPropertyNames flag
to OverridesGetOwnPropertyNames and update the bindings accordingly. I can do
the refactoring if that sounds sensible.

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