diff options
Diffstat (limited to 'common/content/options.js')
-rw-r--r-- | common/content/options.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/common/content/options.js b/common/content/options.js index 76e2af89..308628ad 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -558,16 +558,8 @@ const Options = Module("options", { return (this._optionHash[name].scope & scope) && this._optionHash[name]; for (let opt in Iterator(options)) { - try { - if (opt.hasName(name)) - return (opt.scope & scope) && opt; - } - catch(e) { - liberator.dump(options.__iterator__); - liberator.dump(opt); - liberator.reportError(e); - throw e; - } + if (opt.hasName(name)) + return (opt.scope & scope) && opt; } return null; |