(name unistring.String, descr PropertyDescriptor, throw bool)
| 409 | } |
| 410 | |
| 411 | func (p *proxyObject) defineOwnPropertyStr(name unistring.String, descr PropertyDescriptor, throw bool) bool { |
| 412 | target := p.target |
| 413 | if booleanTrapResult, ok := p.checkHandler().definePropertyStr(target, name, descr); ok { |
| 414 | if !p.proxyDefineOwnPropertyPreCheck(booleanTrapResult, throw) { |
| 415 | return false |
| 416 | } |
| 417 | p.proxyDefineOwnPropertyPostCheck(target.self.getOwnPropStr(name), target, descr) |
| 418 | return true |
| 419 | } |
| 420 | return target.self.defineOwnPropertyStr(name, descr, throw) |
| 421 | } |
| 422 | |
| 423 | func (p *proxyObject) defineOwnPropertyIdx(idx valueInt, descr PropertyDescriptor, throw bool) bool { |
| 424 | target := p.target |
nothing calls this directly
no test coverage detected