same here, I had to add:
```javascript
if (!('mozSettings' in navigator)) {
 navigator.mozSettings = null;
}
```
So that I can run this file alone