[Webkit-unassigned] [Bug 110206] [v8] ScriptValue has dangerous copy semantics

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 19 04:26:29 PST 2013


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





--- Comment #2 from Kentaro Hara <haraken at chromium.org>  2013-02-19 04:28:50 PST ---
(From update of attachment 189048)
View in context: https://bugs.webkit.org/attachment.cgi?id=189048&action=review

> Source/WebCore/ChangeLog:9
> +        Update ScriptValue to use a reference counted ScopedPersistent
> +        as the existing implementation makes it easy to return dead references.

Would you elaborate on what is dangerous?

We're intentionally replacing SharedPersistent with ScopedPersistent, since it is easy to misuse SharedPersistent.

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