(idx valueInt, descr PropertyDescriptor, throw bool)
| 421 | } |
| 422 | |
| 423 | func (p *proxyObject) defineOwnPropertyIdx(idx valueInt, descr PropertyDescriptor, throw bool) bool { |
| 424 | target := p.target |
| 425 | if booleanTrapResult, ok := p.checkHandler().definePropertyIdx(target, idx, descr); ok { |
| 426 | if !p.proxyDefineOwnPropertyPreCheck(booleanTrapResult, throw) { |
| 427 | return false |
| 428 | } |
| 429 | p.proxyDefineOwnPropertyPostCheck(target.self.getOwnPropIdx(idx), target, descr) |
| 430 | return true |
| 431 | } |
| 432 | |
| 433 | return target.self.defineOwnPropertyIdx(idx, descr, throw) |
| 434 | } |
| 435 | |
| 436 | func (p *proxyObject) defineOwnPropertySym(s *Symbol, descr PropertyDescriptor, throw bool) bool { |
| 437 | target := p.target |
nothing calls this directly
no test coverage detected