| 1599 | jsEntry.checkException(); |
| 1600 | |
| 1601 | auto value1 = context.newNumber(1); |
| 1602 | auto value2 = context.newNumber(2); |
| 1603 | auto value3 = context.newNumber(3); |
| 1604 | |
| 1605 | context.setObjectProperty(object.get(), "visible", value1.get(), true, exceptionTracker); |
| 1606 | jsEntry.checkException(); |
| 1607 | |
| 1608 | context.setObjectProperty(object.get(), "invisible", value2.get(), false, exceptionTracker); |
| 1609 | jsEntry.checkException(); |
| 1610 | |
| 1611 | context.setObjectProperty(object.get(), "alsoVisible", value3.get(), true, exceptionTracker); |
| 1612 | jsEntry.checkException(); |
| 1613 | |
| 1614 | PropertyNamesVisitor visitor; |
| 1615 | |
| 1616 | context.visitObjectPropertyNames(object.get(), exceptionTracker, visitor); |
| 1617 | jsEntry.checkException(); |
| 1618 | |
| 1619 | std::vector<StringBox> expectedPropertyNames = {STRING_LITERAL("visible"), STRING_LITERAL("alsoVisible")}; |
no test coverage detected