Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index ff7797baaf141955b192f2124ab917e4e12e28b8..93ed66b2180fa6ab8410a2de300ee36aca9e27cb 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -21376,6 +21376,7 @@ TEST(Map) { |
v8::Local<v8::Map> map = v8::Map::New(isolate); |
CHECK(map->IsObject()); |
CHECK(map->IsMap()); |
+ CHECK(map->GetPrototype()->StrictEquals(CompileRun("Map.prototype"))); |
CHECK_EQ(0, map->Size()); |
v8::Local<v8::Value> val = CompileRun("new Map([[1, 2], [3, 4]])"); |
@@ -21407,6 +21408,7 @@ TEST(Set) { |
v8::Local<v8::Set> set = v8::Set::New(isolate); |
CHECK(set->IsObject()); |
CHECK(set->IsSet()); |
+ CHECK(set->GetPrototype()->StrictEquals(CompileRun("Set.prototype"))); |
CHECK_EQ(0, set->Size()); |
v8::Local<v8::Value> val = CompileRun("new Set([1, 2])"); |