| Index: qunit/common.js |
| =================================================================== |
| --- a/qunit/common.js |
| +++ b/qunit/common.js |
| @@ -44,8 +44,10 @@ |
| { |
| this._pbackup = Object.create(null); |
| for (var pref in Prefs) |
| - if (Prefs.__lookupSetter__(pref)) |
| + { |
| + if (pref != "addListener" && pref != "removeListener") |
|
Wladimir Palant
2015/03/02 19:17:17
I generally try to avoid lists that have to by kep
Sebastian Noack
2015/03/02 19:28:09
IMO, checking for a dynamic getter was a footgun.
|
| this._pbackup[pref] = Prefs[pref]; |
| + } |
| Prefs.enabled = true; |
| } |