summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Maglione <kris@vimperator.org>2009-11-09 13:26:11 -0500
committerKris Maglione <kris@vimperator.org>2009-11-09 13:26:11 -0500
commit064f60855cd21dfe05cb74351a8cc41b1f7d3d38 (patch)
tree275833f3068f3ed8258200252f3a6bf59f97e2de
parentbc101175a19cf98f3ed24080fdde2d9302287461 (diff)
downloadpentadactyl-064f60855cd21dfe05cb74351a8cc41b1f7d3d38.tar.gz
Remove residual try-catch.
-rw-r--r--common/content/options.js12
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;