Closed Bug 1692540 Opened 2 months ago Closed 2 months ago

Simplify string code in GetObjCExceptionInfo

Categories

(Toolkit :: Crash Reporting, task)

All
macOS
task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: mstange, Assigned: mstange)

Details

Attachments

(1 file)

NSString internally stores a utf-8 C string. The code in GetObjCExceptionInfo converts that string to utf-16 and back to utf-8. This can be simplified.

Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/82c480f22e5d
Use -[NSString UTF8String] in GetObjCExceptionInfo to skip two conversions. r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.