Closed Bug 1399005 Opened 3 years ago Closed 3 years ago
Fix strict ordering of data and stop request events with cross-thread stream filters
59 bytes, text/x-review-board-request
When data delivery is not on the same thread as the StreamFilterParent actor, it's sometimes possible for the OnStopRequest to be dispatched on the main thread before the last OnDataAvailable event has been processed on the IO thread, which causes issues for listeners that expect it to be otherwise.
Comment on attachment 8907197 [details] Bug 1399005: Always dispatch OnStop from the IO thread. https://reviewboard.mozilla.org/r/178870/#review183986
Attachment #8907197 - Flags: review?(mixedpuppy) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/9a676cb6f09a4d0b29cc8b0072acc035c2082224 Bug 1399005: Always dispatch OnStop from the IO thread. r=mixedpuppy
Is manual testing required on this bug? If Yes, please provide some STR and the proper webextension(if required), if No set the “qe-verify-“ flag.
You need to log in before you can comment on or make changes to this bug.