Zidong Jiang
0bc4bb056d
Fix promise thenable bug
...
Related Issue: #2060
JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
2017-10-27 18:37:58 +09:00
Zidong Jiang
ede13835b2
Add promise C API ( #1796 )
...
Add API: jerry_create_promise, jerry_value_is_promise and jerry_resolve_or_reject_promise.
related issue: 1794
JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
2017-05-04 16:13:26 +08:00
Zidong Jiang
078f6e101d
Implement other routines of Promise ( #1729 )
...
Add Promise.resolve, Promise.reject, Promise.race, Promise.all and
Promise.prototype.catch
Also it fixes the issue 1763
JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
2017-04-26 19:47:51 +08:00
Zidong Jiang
eb8dd4602b
Implement the basic Promise ( #1695 )
...
Implement the Promise Constructor and routine: 'then'
JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
2017-04-12 22:10:08 +08:00