Open Bug 1599612 Opened 5 years ago Updated 2 years ago

Remove methods that only return NS_OK

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

REOPENED
mozilla73
Tracking Status
firefox73 --- affected

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(3 files)

(And don't need that for XPCOM / other shenanigans)

Depends on: 1599614
Depends on: 1599615

This checks for non-virtual methods that just return NS_OK.

Just warns, because there's too much stuff going on at the moment.

Assignee: nobody → emilio

This reduces a bit the noise.

Depends on D54824

Depends on: 1599843
Priority: -- → P3

More could be cleaned up still, but this code seems disabled.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/202664cc6623
Various dom/presentation code is infallible. r=kershaw
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

Whoops, that patch was posted to the wrong bug.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Severity: normal → S3

Emilio, do you have any updates on this bug? Is there a better Bugzilla component for it other than Core: General?

Flags: needinfo?(emilio)

This is useful to clean up very nsresult-happy stuff, but it's not particularly urgent so I'm doing more prioritary stuff atm.

Core: General seems appropriate, individual bugs should go in more specific components.

Flags: needinfo?(emilio)

I think Ethan is asking because he's trying to reduce the number of bugs in Core: General. I think XPCOM is probably a better component, as NS_OK is an XPCOM thing, though as you said the individual bugs will end up in other components.

Component: General → XPCOM

The following patch is waiting for review from an inactive reviewer:

ID Title Author Reviewer Status
D54824 Bug 1599612 - SillyResultReturnChecker. emilio andi: Resigned from review

:emilio, could you please find another reviewer or abandon the patch if it is no longer relevant?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: