Closed
Bug 69828
Opened 25 years ago
Closed 25 years ago
nsWebBrowserPersist tries to open streams synchronously and asynchronously
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: adamlock, Assigned: adamlock)
Details
Attachments
(1 file)
|
2.30 KB,
patch
|
Details | Diff | Splinter Review |
nsWebBrowserPersist has some wacky and non-sensical code to open the same
channel both asynchronously and synchronously. Get rid of one of them,
preferably the async code.
Comment 1•25 years ago
|
||
hmm, I'd be in favor of using the Async api over the sync one. The sync api is
going to block whatever thread winds up calling it.
I have removed the async code for the time being because this does not interfere
with the intended way this object was supposed to work. Essentially
nsWebBrowserPersist was meant to return immediately after SaveURI was called and
then save the content as it arrived via listeners.
I could change it to remove the synchronous code but that would require a more
substantial modification.
r=dougt.
Thanks Doug, changes are checked in. Marking fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 5•25 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
Comment 6•25 years ago
|
||
changed QA contact to dsirnapalli. he's looking at this interface.
QA Contact: depstein → dsirnapalli
Comment 7•25 years ago
|
||
adam,did you remove asynchronous code or synchronous code because i see
rv = inputChannel->AsyncOpen(this, nsnull); in nsWebbrowserPersist.cpp.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The patch removed a bit of both. It removed the sync opening of the inputstream
and the async opening of the output stream.
My comments were a bit confusing I know :)
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•