Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 258f806818a83067e8576d28ac6d87ed6387690a..3b41cd22ecb669ccb3eb5d65a12a2ac41025e58b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7908,7 +7908,8 @@ Maybe<bool> JSObject::PreventExtensionsWithTransition( |
if (transition != NULL) { |
Handle<Map> transition_map(transition, isolate); |
DCHECK(transition_map->has_dictionary_elements() || |
- transition_map->has_fixed_typed_array_elements()); |
+ transition_map->has_fixed_typed_array_elements() || |
+ transition_map->elements_kind() == SLOW_STRING_WRAPPER_ELEMENTS); |
DCHECK(!transition_map->is_extensible()); |
JSObject::MigrateToMap(object, transition_map); |
} else if (TransitionArray::CanHaveMoreTransitions(old_map)) { |