Closed Bug 661604 Opened 10 years ago Closed 5 years ago

test_CrossSiteXHR_origin.html times out cross-process || ASSERTION: Redirecting to a protocol that doesn't support universal protocol redirect


(Core :: Networking: HTTP, defect)

Not set



Tracking Status
e10s + ---
firefox9 - ---
firefox42 --- fixed


(Reporter: jdm, Assigned: mrbkap)


(Blocks 3 open bugs)


(Keywords: mobile)


(1 file)

I haven't narrowed down precisely where in the test this occurs, because it's really complicated. However, we end up redirecting from an HTTP channel to a data: one that looks like this:


This obviously isn't hooked up the work cross-process, so it's opened in the parent and the test fails to make any further progress.
It's this entry from |origins|:

{ origin: 'null',
     file: ''
So, this redirects to a data: channel, right?

How is data: uri processed in Fennec?  AFAIK it is fully handled on the content process, right?

During redirects the problem is that we create the target channel on the chrome process and we also AsyncOpen it there.  On the child process we create a child implementation that (in case of http:) 'connects' with the parent real channel via the redirect channel id.

For data: we want something backwards.  We want the parent real channel be something empty that gets the data if needed, but actually doing nothing.  The work will be made by data channel (the 'real' implementation) on the content process.

We have a bug 590682 that handles opposite scenario: when a channel wants to be fully handled on the parent process and doesn't have a special implementation for the child process, we use a generic no-op channel wrapping the URI and forwarding events only.

For this to get fixed, we probably need some kind of a 'generic' channel for the parent side, so the exact opposite...
See Also: → 590682
Blocks: 676653
Here is a testcase, that you can view online:

I made this testcase, because I looked into the mochitest timeouts in:
and visited_image_loading_frame_empty.html .
So I guess that's also the reason why doesn't redirect to the data url in Fennec, right?
Keywords: mobile
Blocks: 682949
Martijn - Can you give more information for why this bug should be tracked?
No specific information, but I just would like to see these ipc related bugs get fixed. But I guess this surely will be fixed once Firefox desktop gets e10s.
Drivers decided this is not tracking.
Blocks: fxe10s
Mass tracking-e10s flag change. Filter bugmail on "2be0fcce-e36a-4e2c-aa80-0e3d33eb5406".
tracking-e10s: --- → +
Attached patch PatchSplinter Review
For the record wchen rs'd the patch in person.
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.