Index: src/js/messages.js |
diff --git a/src/js/messages.js b/src/js/messages.js |
index 581f457a3157a146a3c31b48245d0d0688c45911..d36db415966c486c52a1d32d66d59892513568dc 100644 |
--- a/src/js/messages.js |
+++ b/src/js/messages.js |
@@ -850,6 +850,9 @@ function FormatStackTrace(obj, raw_stack) { |
function GetTypeName(receiver, requireConstructor) { |
if (IS_NULL_OR_UNDEFINED(receiver)) return null; |
+ if (%_IsJSProxy(receiver)) { |
+ return "Proxy"; |
+ }; |
var constructor = receiver.constructor; |
if (!constructor) { |
return requireConstructor ? null : |