Index: src/promise.js |
diff --git a/src/promise.js b/src/promise.js |
index cd96ec19244c166b5f00426a9fde56615bffa13e..9e88aa56ce042a5e90c49adf65d7e832fe30b10b 100644 |
--- a/src/promise.js |
+++ b/src/promise.js |
@@ -332,7 +332,7 @@ var lastMicrotaskId = 0; |
// the default PromiseIdRejectHandler. |
for (var i = 0; i < queue.length; i += 2) { |
if (queue[i] != PromiseIdRejectHandler) return true; |
- if (PromiseHasRejectHandlerRecursive(queue[i + 1])) return true; |
+ if (PromiseHasRejectHandlerRecursive(queue[i + 1].promise)) return true; |
} |
return false; |
} |