Workarounded Firefox bug which caused codesnippet/undo tests failures.