[Webkit-unassigned] [Bug 77295] V8 idl code generator doesn't handle [CachedAttribute] on SerializedScriptValue attributes.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 29 02:19:50 PST 2012


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





--- Comment #2 from Pablo Flouret <pablof at motorola.com>  2012-01-29 02:19:50 PST ---
(From update of attachment 124462)
Came up while looking at the history.state stuff, the JSC generator generates code for [CachedAttribute] SerializedScriptValue attributes.

Rough patch as a possible solution, it probably needs more work to handle more [InitializedByConstructor] attributes (and i'm not sure hijacking that extended-attribute is even a good idea), and i haven't looked into the setters case.

I tried going with ForceSet() instead of using hidden attributes but i didn't find a way to reset the cached value in that case (would probably need to set the accessor function again, but it's internal to the v8 generated file), and a way to invalidate the value is needed for the history.state thing.

Ideas/comments welcome.

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