diff options
author | Kris Maglione <kris@vimperator.org> | 2009-11-09 13:26:11 -0500 |
---|---|---|
committer | Kris Maglione <kris@vimperator.org> | 2009-11-09 13:26:11 -0500 |
commit | 064f60855cd21dfe05cb74351a8cc41b1f7d3d38 (patch) | |
tree | 275833f3068f3ed8258200252f3a6bf59f97e2de | |
parent | bc101175a19cf98f3ed24080fdde2d9302287461 (diff) | |
download | pentadactyl-064f60855cd21dfe05cb74351a8cc41b1f7d3d38.tar.gz |
Remove residual try-catch.
-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; |