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()) {
|
||||
case "text":
|
||||
return doc.createTextNode(node);
|
||||
return doc.createTextNode(String(node));
|
||||
case "element":
|
||||
let domnode = doc.createElementNS(node.namespace(), node.localName());
|
||||
for each (let attr in node.@*)
|
||||
|
||||
Reference in New Issue
Block a user