nsMailboxService::FetchMessage can return success without touching aURL

NEW
Unassigned

Status

MailNews Core
Backend
12 years ago
10 years ago

People

(Reporter: timeless, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

12 years ago
from bug 336957 comment 6

if either of:
235                          rv = NS_NewURI(getter_AddRefs(url), uriString.get());
239                          rv = PrepareMessageUrl(aMessageURI, aUrlListener, actionToUse , getter_AddRefs(mailboxurl), aMsgWindow);

fail, the rv is stomped on by:
254                      nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(aDisplayConsumer, &rv));
and then either of:
267                        rv = docShell->LoadURI(url, loadInfo, nsIWebNavigation::LOAD_FLAGS_NONE, PR_FALSE);
270                        rv = RunMailboxUrl(url, aDisplayConsumer); 

will stomp on the rv resulting in the problem that dbaron described.
(Assignee)

Updated

10 years ago
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.