Closed Bug 1740543 Opened 3 years ago Closed 3 years ago

Expose GetErrorName to JS so that JS code can decipher error codes

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This will help JS codebase decipher what a given nsresult refers to.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4628f9ff25a5 Expose xpcom's GetErrorName() to JS. r=xpcom-reviewers,nika

Backed out for causing build bustages on ErrorNames

Backout link: https://hg.mozilla.org/integration/autoland/rev/5fdacd892bcdf5426213766277bfdc3c17efb2b7
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=4628f9ff25a5ad380f29ed8942706e2cc586caea&selectedTaskRun=ed0JjfrFRX-qcL6U3MR1mg.0
Failure log: https://treeherder.mozilla.org/logviewer?job_id=360619243&repo=autoland&lineNumber=85828
Failure line: /builds/worker/checkouts/gecko/xpcom/base/ErrorNames.cpp:50:26: error: use of undeclared identifier 'NS_IsMainThread' // gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:660: ErrorNames.o] Error 1

Flags: needinfo?(poirot.alex)
Flags: needinfo?(poirot.alex)
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3a2d38dcce42 Expose xpcom's GetErrorName() to JS. r=xpcom-reviewers,nika
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Blocks: 1745944
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: