Closed Bug 467006 Opened 16 years ago Closed 16 years ago

Get rid of Components.returnCode use in suite/

Categories

(SeaMonkey :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.0a3

People

(Reporter: philip.chee, Unassigned)

References

()

Details

+++ This bug was initially created as a clone of Bug #467003 +++

Components.returnCode was broken as long ago as bug 287107

The simple fix is to switch them over to throw.
{
Components\.returnCode

Found 4 matching lines in 4 files
}
(In reply to comment #2)
> Neil: I don't know if we use anything in:
> 
> http://mxr.mozilla.org/mozilla-central/source/embedding/components/ui/
> e.g.
> http://mxr.mozilla.org/mozilla-central/source/embedding/components/ui/progressDlg/nsProgressDialog.js
> http://mxr.mozilla.org/mozilla-central/source/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js

We do!

But they will be obsolete with our changes to use toolkit DLMGR once I get an updated patch up.  Also I'm willing to review and can probably get sdwilsh to rs+ that (since he's the m-c DLMGR guy, and Firefox still hits those files in the build, even if it doesn't _use_ those)
(In reply to comment #2)
> You missed:

Well, your links are probably valid;
but they are not strictly in <suite/> ... That's why...
This appears to have been fixed by the backout to bug 243621.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
(In reply to comment #2)
> http://mxr.mozilla.org/comm-central/source/directory/xpcom/datasource/nsLDAPDataSource.js

This one (and others) remains, but I'll comment on bug 243621.

V.Fixed here.
Status: RESOLVED → VERIFIED
Depends on: 243621
Target Milestone: --- → mozilla1.9.2a1
Target Milestone: mozilla1.9.2a1 → seamonkey2.0a3
You need to log in before you can comment on or make changes to this bug.