Closed Bug 1837191 Opened 2 years ago Closed 2 years ago

isWellFormed() and toWellFormed() shouldn't be defined when the pref is off

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

Details

Attachments

(1 file)

https://phabricator.services.mozilla.com/D176996 doesn't check the pref, so isWellFormed() and toWellFormed() are still available even when the pref (javascript.options.experimental.well_formed_unicode_strings) is off.

Pushed by allstars.chh@gmail.com: https://hg.mozilla.org/integration/autoland/rev/7e4a4a92e121 Define the well-formed string methods only when the pref is on. r=arai
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: