It currently isn't possible to suspend a channel from onHeadersReceived for a cached response. And since it's not possible to add a new stream filter after a response has started, adding a stream filter at that point will crash if the channel is still registered. This test is a basic sanity check for that scenario. MozReview-Commit-ID: ALYUtxX7mci