Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 5ae797986eefdb93bd0897f7bd2990d30bf09ef1..e01dd8797d5fb26ca7f7327e492d62f6b890b784 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -306,6 +306,8 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) { |
// Check if the name is trivially convertible to an index and get the element |
// if so. |
uint32_t index; |
+ // TODO(verwaest): Make sure DebugGetProperty can handle arrays, and remove |
+ // this special case. |
if (name->AsArrayIndex(&index)) { |
Handle<FixedArray> details = isolate->factory()->NewFixedArray(2); |
Handle<Object> element_or_char; |