Bug 939909 - Get rid of Optional<> from internal Promise functions. r=bz

--HG--
extra : rebase_source : bcf49b1b593504aeb619f4bbd16028e57861641b