[Webkit-unassigned] [Bug 146060] New: Bindings generator should generate code to catch exception and reject promises for Promise-based APIs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 17 06:27:54 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146060
Bug ID: 146060
Summary: Bindings generator should generate code to catch
exception and reject promises for Promise-based APIs
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: youennf at gmail.com
A promise returning function is not expected to throw exception.
In case of argument mismatch or other cases, the exceptions should be transmitted to the application by rejecting the promise.
The only case the function should throw is if the function is called on a this value which does not have the right type.
The binding generator should handle these cases properly.
--
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/20150617/732d3e6e/attachment-0001.html>
More information about the webkit-unassigned
mailing list