Bug 880538 - Generalize strict-mode reparsing (r=jorendorff)

--HG--
extra : rebase_source : 423ae5c1f922efa523f07ade811e78a1b243c057