Always investigate every mystery.
It's always trying to tell us something.

This infinite loop is caused by:

for(;e.firstChild;)
e.removeChild(e.firstChild);

Clearing all the nodes out from under e, simple enough,
but I implemented firstChild as a function, e.firstChild(),
so e.firstChild is always true.
Oops.
firstChild is a property, a magic property
that always means this.childNodes[0].
Wow, how can we implement that?
Well there's a way, and it doesn't require native code, thank heaven,
but I will need to muck with all the firstChilds in starrtwindow.js,
so I think I'll hold off until Kevin sends me his next cloneNode.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to