mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:38:00 +01:00
Fix xmlToDom in Gecko 2.
--HG-- branch : testing
This commit is contained in:
@@ -708,7 +708,7 @@ const Util = Module("util", {
|
|||||||
}
|
}
|
||||||
switch (node.nodeKind()) {
|
switch (node.nodeKind()) {
|
||||||
case "text":
|
case "text":
|
||||||
return doc.createTextNode(node);
|
return doc.createTextNode(String(node));
|
||||||
case "element":
|
case "element":
|
||||||
let domnode = doc.createElementNS(node.namespace(), node.localName());
|
let domnode = doc.createElementNS(node.namespace(), node.localName());
|
||||||
for each (let attr in node.@*)
|
for each (let attr in node.@*)
|
||||||
|
|||||||
Reference in New Issue
Block a user