[Webkit-unassigned] [Bug 157795] Promise resolution should be able to use toJSNewlyCreated for new objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 17 08:13:21 PDT 2016


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

--- Comment #1 from youenn fablet <youennf at gmail.com> ---
One option is to add  to DOMPromise something like resolveWithNewValue which would take a Ref<T>&&/RefPtr<T>&&.

Another option would be to use toJSNewlyCreated when resolve() is passed a Ref<T>&&/RefPtr<T>&&, although this may be too error-prone.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160517/296c9174/attachment.html>


More information about the webkit-unassigned mailing list