[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 20:55:54 PST 2012


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





--- Comment #8 from Kentaro Hara <haraken at chromium.org>  2012-01-29 20:55:54 PST ---
(In reply to comment #2)
> (From update of attachment 124462 [details])
> 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.

Using GetHiddenValue()/SetHiddenValue() makes sense to me.

(FYI: Rather, I would object to use ForceSet() here. We are planning to move DOM attributes from a DOM object to a JS prototype chain (https://bugs.webkit.org/show_bug.cgi?id=75297), but ForceSet() makes it difficult (or impossible?). I cannot move MessageEvent.data from a DOM object to a JS prototype chain because it uses ForceSet()...)

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