1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 02:44:12 +01:00

Clone arrays assigned to "live" properties, partially to deal with issues with horrid Sandbox proxies and partly for other somewhat obvious reasons.

This commit is contained in:
Kris Maglione
2011-02-04 15:56:23 -05:00
parent e514899d23
commit 6a3d5dcfce
3 changed files with 11 additions and 3 deletions

View File

@@ -1672,7 +1672,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
if (nodes && node.@key)
nodes[node.@key] = domnode;
if (node.@highlight)
if ("@highlight" in node)
highlight.highlightNode(domnode, String(node.@highlight), nodes || true);
return domnode;
default: