From 5e6e1c6054e5562675c2bbe6972c2d46be1ad9ef Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 17 Feb 2011 15:31:05 -0500 Subject: Add validation to revision d91ffd3a7b40. --- common/modules/options.jsm | 7 ------- 1 file changed, 7 deletions(-) (limited to 'common/modules/options.jsm') diff --git a/common/modules/options.jsm b/common/modules/options.jsm index 7a9452fc..7f53d6be 100644 --- a/common/modules/options.jsm +++ b/common/modules/options.jsm @@ -687,13 +687,6 @@ var Option = Class("Option", { if (this.type === "regexpmap" || this.type === "sitemap") return Array.concat(values).every(function (re) acceptable.some(function (item) item[0] == re.result)); return Array.concat(values).every(function (value) acceptable.some(function (item) item[0] == value)); - }, - - validateXPath: function (values) { - return true; // For now. - let evaluator = services.XPathEvaluator(); - return this.testValues(values, - function (value) evaluator.createExpression(value, util.evaluateXPath.resolver)); } }); -- cgit v1.2.3