[Webkit-unassigned] [Bug 162011] Custom promise-returning functions should not throw if callee has not the expected type
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 15 00:49:47 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=162011
--- Comment #1 from youenn fablet <youennf at gmail.com> ---
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.
--
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/20160915/dd0ecad3/attachment.html>
More information about the webkit-unassigned
mailing list