Closed Bug 1594304 Opened 4 months ago Closed 3 months ago

Add deprecation notes to bare-nsresult exception-throwing machinery

Categories

(Core :: DOM: Bindings (WebIDL), defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

We should be providing better error messages than just the default ones for our nsresults.

Summary: Add deprecation warnings to bare-nsresult exception-throwing machinery → Add deprecation notes to bare-nsresult exception-throwing machinery

This applies to ErrorResult and Promise.

Priority: -- → P1
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/55c9bc5fb1fe
Add deprecation notes to methods that allow throwing a bare nsresult with no useful message.  r=smaug
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Assignee: nobody → bzbarsky
You need to log in before you can comment on or make changes to this bug.