From 064f60855cd21dfe05cb74351a8cc41b1f7d3d38 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 9 Nov 2009 13:26:11 -0500 Subject: [PATCH] Remove residual try-catch. --- common/content/options.js | 12 ++---------- 1 file 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;