Commit Graph

4 Commits

Author SHA1 Message Date
Kris Maglione
4b334cc818 Bug 1398974: Follow-up: Disconnect StreamFilters when closing extension context. r=me
If we don't do this explicitly, the channel is automatically disconnected when
it's GCed. However, if we start shutdown while a stream is being processed,
the stream may not be GCed before we shut down the parent process's message
loop. In that case, we get a shutdown crash because the StreamFilterParent's
data channel is still open when we shut down its message loop.

Explicitly disconnecting the StreamFilter when the context is closed prevents
this, since app shutdown is automatically blocked on extension shutdown, and
extension shutdown explicitly closes all extant contexts.

MozReview-Commit-ID: 5JPrSUooq1j
2017-09-12 18:55:24 -07:00
Kris Maglione
2ecc4aaaec Bug 1255894: Part 12 - Re-enable response body filtering in release builds. r=me
MozReview-Commit-ID: AEEkHir3FvG
2017-09-07 16:39:00 -07:00
Kris Maglione
21305764e6 Bug 1255894: Part 8.1 - Disable response data filtering in release builds. r=me
MozReview-Commit-ID: AMgXJAb1NFs
2017-09-02 09:40:30 -07:00
Kris Maglione
d2830a9581 Bug 1255894: Part 7 - Expose response stream filtering via the webRequest API. r=mixedpuppy
MozReview-Commit-ID: AErBFGJyFg5
2017-09-02 13:37:31 -07:00