mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 17:05:45 +01:00
Fix 'eht' validator.
--HG-- extra : rebase_source : 38690a1eb26e4dc6a0c6181dcb34b4c20c440065
This commit is contained in:
@@ -430,7 +430,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
|
||||
validateMatcher: function validateMatcher(values) {
|
||||
let evaluator = services.XPathEvaluator();
|
||||
let node = util.xmlToDom(<div/>, document);
|
||||
let node = services.XMLDocument();
|
||||
return this.testValues(values, function (value) {
|
||||
if (/^xpath:/.test(value))
|
||||
evaluator.createExpression(value.substr(6), util.evaluateXPath.resolver);
|
||||
|
||||
Reference in New Issue
Block a user