Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index 2594195c43bf4a85de8adf5242e9606d7630586f..7e0ad4906f798f2b8d36fd3a410e8c8db0637c9e 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -143,11 +143,7 @@ function PromiseInit(promise) { |
} |
function FulfillPromise(promise, status, value, promiseQueue) { |
- var tasks = GET_PRIVATE(promise, promiseQueue); |
- if (!IS_UNDEFINED(tasks)) { |
- var deferred = GET_PRIVATE(promise, promiseDeferredReactionSymbol); |
- %EnqueuePromiseReactionJob(value, tasks, deferred, status); |
- } |
+ %PromiseFulfill(promise, status, value, promiseQueue); |
PromiseSet(promise, status, value); |
} |