| Index: lib/content/snippets.js | 
| =================================================================== | 
| --- a/lib/content/snippets.js | 
| +++ b/lib/content/snippets.js | 
| @@ -711,17 +711,17 @@ | 
| descriptor.configurable = true; | 
| Object.defineProperty(object, property, descriptor); | 
| return; | 
| } | 
|  | 
| let name = property.slice(0, dotIndex); | 
| property = property.slice(dotIndex + 1); | 
| let value = object[name]; | 
| -  if (value && typeof value == "object") | 
| +  if (value && (typeof value == "object" || typeof value == "function")) | 
| wrapPropertyAccess(value, property, descriptor); | 
|  | 
| let currentDescriptor = Object.getOwnPropertyDescriptor(object, name); | 
| if (currentDescriptor && !currentDescriptor.configurable) | 
| return; | 
|  | 
| let setter = newValue => | 
| { | 
|  |