<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Custom promise-returning functions should not throw if callee has not the expected type"
href="https://bugs.webkit.org/show_bug.cgi?id=162011#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Custom promise-returning functions should not throw if callee has not the expected type"
href="https://bugs.webkit.org/show_bug.cgi?id=162011">bug 162011</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>We could reuse the same trick as for non-custom methods (using callPromiseFunction).
But this would put the constraint that a new promise is returned every time the method is called, which is not always the case.
It might be best to just update GenerateFunctionCastedThis to return a rejected promise.</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>