Closed
Bug 591081
Opened 15 years ago
Closed 15 years ago
e10s: ExternalHelperAppChild should still make use of parts of nsExternalAppHandler
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b1+ | --- |
People
(Reporter: crowderbt, Assigned: crowderbt)
References
Details
Attachments
(1 file, 1 obsolete file)
4.34 KB,
patch
|
crowderbt
:
review+
|
Details | Diff | Splinter Review |
A lot of the code in nsExternalAppHandler is code that still needs to be executed, even after the work of doing the actual download has been forwarded back to the parent process. By reorganizing the code in nsExternalAppHandler a bit and pumping OnStart/OnData/OnStop calls to we can reuse the code and fix a handful of bugs.
One bug in particular is that currently, you cannot issue two download requests simultaneously from the same page, because they will remain in the same loadGroup on the child process, causing the original transfer to be cancelled when the second begins.
Assignee | ||
Comment 1•15 years ago
|
||
Assignee: nobody → crowderbt
Attachment #471216 -
Flags: feedback?(dwitte)
Comment 2•15 years ago
|
||
Comment on attachment 471216 [details] [diff] [review]
v1
>diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp
>+ nsExternalAppHandler * handler = new nsExternalAppHandler(nsnull,
This needs to be an nsRefPtr<>. (It's bad to go passing around objects with refcount 0 -- think about what happens if the function you pass it into wraps it in an nsCOMPtr or QI's it and then lets the COMPtr go out of scope!)
r=dwitte.
Attachment #471216 -
Flags: feedback?(dwitte) → feedback+
Assignee | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Updated•15 years ago
|
tracking-fennec: ? → 2.0b1+
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #471216 -
Attachment is obsolete: true
Attachment #474755 -
Flags: review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 4•15 years ago
|
||
Keywords: checkin-needed
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•