Index: src/debug/mirrors.js |
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js |
index 24330899f1b42786d3a3ce9057e469415d44bcf9..b03f5125eb865bf031da4f93604abc772214a338 100644 |
--- a/src/debug/mirrors.js |
+++ b/src/debug/mirrors.js |
@@ -116,7 +116,7 @@ function ClearMirrorCache(value) { |
function ObjectIsPromise(value) { |
- return IS_SPEC_OBJECT(value) && |
+ return IS_RECEIVER(value) && |
!IS_UNDEFINED(%DebugGetProperty(value, promiseStatusSymbol)); |
} |