summaryrefslogtreecommitdiff
path: root/common/content/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/util.js')
-rw-r--r--common/content/util.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/util.js b/common/content/util.js
index 8061534b..f72c6dbc 100644
--- a/common/content/util.js
+++ b/common/content/util.js
@@ -452,7 +452,8 @@ const Util = Module("util", {
let result = doc.evaluate(expression, elem,
function lookupNamespaceURI(prefix) {
return {
- xhtml: "http://www.w3.org/1999/xhtml",
+ xul: XUL.uri,
+ xhtml: XHTML.uri,
xhtml2: "http://www.w3.org/2002/06/xhtml2",
dactyl: NS.uri
}[prefix] || null;