(name, fullExpression)
| 12378 | |
| 12379 | |
| 12380 | function ensureSafeMemberName(name, fullExpression) { |
| 12381 | if (name === "__defineGetter__" || name === "__defineSetter__" |
| 12382 | || name === "__lookupGetter__" || name === "__lookupSetter__" |
| 12383 | || name === "__proto__") { |
| 12384 | throw $parseMinErr('isecfld', |
| 12385 | 'Attempting to access a disallowed field in Angular expressions! ' |
| 12386 | + 'Expression: {0}', fullExpression); |
| 12387 | } |
| 12388 | return name; |
| 12389 | } |
| 12390 | |
| 12391 | function ensureSafeObject(obj, fullExpression) { |
| 12392 | // nifty check if obj is Function that is fast and works across iframes and other contexts |
no outgoing calls
no test coverage detected