Cabbage Patch Kids, take 7

Just put up the seventh proposed patch to bug 112775 @ — the primary “create nodes” bug for DOM Inspector. Works fine, beautifully, no JS errors or strict warnings I’m aware of. Only problem is you can cause Mozilla to hang by following a certain sequence of steps.
Which sucks vacuum.
I dunno. All I can say is that there’s no way in hell my code’s responsible for the hang, and I can prove that.