Closed Bug 50254 Opened 26 years ago Closed 26 years ago

nsAppRunner.cpp has a dependency on wallet

Categories

(Toolkit :: Form Manager, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 14889

People

(Reporter: pavlov, Assigned: morse)

References

()

Details

(Whiteboard: [nsbeta3-])

When in nsAppRunner.cpp do we call: NS_WITH_SERVICE(nsIWalletService, walletService, kWalletServiceCID, &rv); if (NS_SUCCEEDED(rv)) { walletService->WALLET_FetchFromNetCenter(); } This is bad. The main application should have as few dependancies as possible, but it should definitly not have any dependancies on extentions. Is this code needed? If so, please move it in to the wallet module initalization, otherwise it should be removed.
This is related to bug 14889.
*** This bug has been marked as a duplicate of 14889 ***
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Where is the "dependency" on wallet? Looks like if wallet isn't there it continues on just fine, which would seem to be perfectly acceptable behavior. But I am confused because I thought the table fetch (urk, could we change this to a less inflamatory-to-Ben-Bucksch name than "FetchFromNetCenter"?) didn't happen until you encountered a form. I can't see how this is a beta/rtm stopper in any case. We want wallet in Netscape6. Marking [nsbeta3-]
Whiteboard: [nsbeta3-]
The routine that was being called was a null routine in the wallet code. So the call really wasn't needed and I just removed it. But the NS_WITH_SERVICE line is needed since it initializes the wallet/single-signon module.
vrfy.
Status: RESOLVED → VERIFIED
Summary: nsAppRunner.cpp has a dependancy on wallet → nsAppRunner.cpp has a dependency on wallet
Product: Core → Toolkit
QA Contact: bugzilla → form.manager
You need to log in before you can comment on or make changes to this bug.