mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1203680 P7 Fix e10s handling on interceptions resulting in redirect status codes. r=jdm
This commit is contained in:
parent
9b8ec1a5d5
commit
8dc9231872
@ -2270,8 +2270,7 @@ HttpChannelChild::OverrideWithSynthesizedResponse(nsAutoPtr<nsHttpResponseHead>&
|
||||
mResponseHead = aResponseHead;
|
||||
mSynthesizedResponse = true;
|
||||
|
||||
uint16_t status = mResponseHead->Status();
|
||||
if (status != 200 && status != 404) {
|
||||
if (WillRedirect(mResponseHead)) {
|
||||
// Continue with the original cross-process request
|
||||
nsresult rv = ContinueAsyncOpen();
|
||||
NS_ENSURE_SUCCESS_VOID(rv);
|
||||
|
Loading…
Reference in New Issue
Block a user