Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index 48ed821373063185c2c288881bb3296a22facfcc..98a3f409cf1bd3f69daa5fa07ad40ef7d632b94f 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -237,11 +237,6 @@ function NewPromiseCapability(C) { |
result.reject = reject; |
}); |
- if (!IS_CALLABLE(result.resolve)) |
- throw MakeTypeError(kCalledNonCallable, "promiseCapability.[[Resolve]]"); |
- if (!IS_CALLABLE(result.reject)) |
- throw MakeTypeError(kCalledNonCallable, "promiseCapability.[[Reject]]"); |
- |
return result; |
} |