[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
Mon Jan 4 10:58:20 PST 2010


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





--- Comment #10 from Kent Hansen <kent.hansen at nokia.com>  2010-01-04 10:58:20 PST ---
(In reply to comment #3)
> 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.

I created https://bugs.webkit.org/show_bug.cgi?id=33159 to get some feedback on
this issue.

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