Bug 994740 - XML parsing error in innerHTML setter causes a large leak. r=hsivonen relanding on a CLOSED TREE