Bug 908942 - Fix some exact rooting hazards in dom; r=bz