Closed Bug 671047 Opened 13 years ago Closed 7 years ago

Split XMLHttpRequest into CC'd and non-CC'd components

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1269162

People

(Reporter: bent.mozilla, Unassigned)

Details

We need to be able to run XHR on worker threads rather than proxying all our calls to the main thread (as we do currently). To accomplish this we'll need to split the cycle collected components of XHR into some separate base class and provide some alternate implementation for workers. We will also need to do something about the event listeners and such.
What is the plan for necko handling? It does still expect main thread, right?
Yes, all necko and nsIURI handling will have to happen on the main thread only.

Likely this means that we'll have to read out the data from necko in OnDataAvailable and send an event to the worker thread that owns the data buffer.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.