<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Promise resolution should be able to use toJSNewlyCreated for new objects"
href="https://bugs.webkit.org/show_bug.cgi?id=157795#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Promise resolution should be able to use toJSNewlyCreated for new objects"
href="https://bugs.webkit.org/show_bug.cgi?id=157795">bug 157795</a>
from <span class="vcard"><a class="email" href="mailto:youennf@gmail.com" title="youenn fablet <youennf@gmail.com>"> <span class="fn">youenn fablet</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>