(s *Symbol, descr PropertyDescriptor, throw bool)
| 434 | } |
| 435 | |
| 436 | func (p *proxyObject) defineOwnPropertySym(s *Symbol, descr PropertyDescriptor, throw bool) bool { |
| 437 | target := p.target |
| 438 | if booleanTrapResult, ok := p.checkHandler().definePropertySym(target, s, descr); ok { |
| 439 | if !p.proxyDefineOwnPropertyPreCheck(booleanTrapResult, throw) { |
| 440 | return false |
| 441 | } |
| 442 | p.proxyDefineOwnPropertyPostCheck(target.self.getOwnPropSym(s), target, descr) |
| 443 | return true |
| 444 | } |
| 445 | |
| 446 | return target.self.defineOwnPropertySym(s, descr, throw) |
| 447 | } |
| 448 | |
| 449 | func (p *proxyObject) proxyHasChecks(targetProp Value, target *Object, name fmt.Stringer) { |
| 450 | targetDesc := propToValueProp(targetProp) |
nothing calls this directly
no test coverage detected