| 580 | } |
| 581 | |
| 582 | auto prototype = newObject(exceptionTracker); |
| 583 | if (!exceptionTracker) { |
| 584 | return Valdi::JSValueRef(); |
| 585 | } |
| 586 | auto prototypeObject = fromValdiJSValue(prototype.get()).asObjectRefOrThrow(*this, exceptionTracker); |
| 587 | auto classObject = fromValdiJSValue(cls.get()).asObjectRefOrThrow(*this, exceptionTracker); |
| 588 | if (!exceptionTracker) { |
| 589 | return Valdi::JSValueRef(); |
| 590 | } |
| 591 | |
| 592 | auto defineDataProperty = [&](JSObjectRef object, |
nothing calls this directly
no test coverage detected