Closed Bug 1746635 Opened 2 years ago Closed 2 years ago

Remove NoGC variant from NewStringCopyUTF8*

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

NewStringCopyUTF8{N,Z} can throw error about invalid UTF-8 sequence, and NoGC case can throw them even if OOM case doesn't set pending exception.

Then, NoGC variant isn't used, so we'd better removing it.

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/bcf5baacbff6
Remove AllowGC template parameter from NewStringCopyUTF8{N,Z}. r=iain
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: