(name, fullExpression)
| 11599 | |
| 11600 | |
| 11601 | function ensureSafeMemberName(name, fullExpression) { |
| 11602 | if (name === "__defineGetter__" || name === "__defineSetter__" |
| 11603 | || name === "__lookupGetter__" || name === "__lookupSetter__" |
| 11604 | || name === "__proto__") { |
| 11605 | throw $parseMinErr('isecfld', |
| 11606 | 'Attempting to access a disallowed field in Angular expressions! ' |
| 11607 | + 'Expression: {0}', fullExpression); |
| 11608 | } |
| 11609 | return name; |
| 11610 | } |
| 11611 | |
| 11612 | function ensureSafeObject(obj, fullExpression) { |
| 11613 | // nifty check if obj is Function that is fast and works across iframes and other contexts |
no outgoing calls
no test coverage detected