Closed Bug 1589738 Opened 6 years ago Closed 6 years ago

nsACString::as_str_unchecked should actually check in debug builds.

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

Today I reviewed wrong usage of this API.

It'd be good if it crashed in debug builds when misused.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee73030d8e8a nsACString::as_str_unchecked should actually check in debug builds. r=nika
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: