Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey

--HG--
extra : rebase_source : 75d00d31bcce93e26a9154aacef706a6b55c9135