1
0
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:
Kris Maglione
2010-08-15 08:57:18 -04:00
parent daa2d5dcc5
commit cb4cc87272

View File

@@ -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.@*)