| 998 | if (!jsObject) { |
| 999 | return; |
| 1000 | } |
| 1001 | |
| 1002 | uint32_t beginIndex; |
| 1003 | uint32_t endIndex; |
| 1004 | auto result = hermes::vm::getForInPropertyNames(*_runtime, std::move(jsObject), beginIndex, endIndex); |
| 1005 | if (!checkException(result.getStatus(), exceptionTracker)) { |
| 1006 | return; |
| 1007 | } |
| 1008 | |
| 1009 | const auto& propertyNames = *result; |
| 1010 | for (uint32_t i = beginIndex; i < endIndex; i++) { |
| 1011 | hermes::vm::GCScope innerGCScope(*_runtime); |
| 1012 | |
| 1013 | auto name = propertyNames->at(*_runtime, i); |
| 1014 | |
| 1015 | JSPropertyNameRef propertyName; |
| 1016 |
no test coverage detected