Bug 782480 - Clear parentNode reference when removing a child in JSDOMParser (r=bnicholson)

This commit is contained in:
Lucas Rocha 2012-08-14 15:51:11 -04:00
parent 532e104e2c
commit 1c877fc379

View File

@ -312,6 +312,7 @@
if (childIndex == -1) {
throw "removeChild: node not found";
} else {
child.parentNode = null;
return childNodes.splice(childIndex, 1)[0];
}
},