Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index 35bdf188216dd4027b52dc3702b1bf57e77a3c86..d66ae1a9ca40b293886ba6745ab866e7b94f3042 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -363,7 +363,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, |