[Webkit-unassigned] [Bug 203875] JSC should not be using WTF::String::createCFString().

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 6 11:25:46 PST 2019


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

--- Comment #3 from Mark Lam <mark.lam at apple.com> ---
(In reply to Keith Miller from comment #2)
> Why is this a bad idiom? Just because we don't want to allocate CF strings?

Because String::createCFString() uses StringImpl::createCFString(), which relies on the concept of isMainThread(), which is only meaningful if WebCore is the client of JSC.  For all other clients, this can result in badness.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191106/db58f428/attachment.htm>


More information about the webkit-unassigned mailing list