Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index 2f129d8ed19beaf1f7ca5ad4a7e12cc72cb40464..a8553dd605fe65c13ce267225b402b274ad59fe4 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -388,7 +388,7 @@ utils.InstallGetter(GlobalPromise, speciesSymbol, PromiseSpecies); |
%SetCode(GlobalPromise.prototype.catch, PromiseCatch); |
%InstallToContext([ |
- "promise_catch", PromiseCatch, |
+ "promise_catch", GlobalPromise.prototype.catch, |
"promise_create", PromiseCreate, |
"promise_has_user_defined_reject_handler", PromiseHasUserDefinedRejectHandler, |
"promise_reject", DoRejectPromise, |