Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index 30920a1451533bbe52150c08921a7886d16add7b..d148063b76f59e9107b0a3df7e374d39cd73914c 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -37,6 +37,11 @@ |
[].forEach(1); |
}, "1 is not a function", TypeError); |
+// kCalledOnNonObject |
+test(function() { |
+ Object.freeze(1) |
+}, "Object.freeze called on non-object", TypeError); |
+ |
// kCannotConvertToPrimitive |
test(function() { |
[].join(Object(Symbol(1))); |