Closed Bug 1735862 Opened 3 years ago Closed 3 years ago

Verify js/public/friend/ErrorNumbers.msg has no preprocessor

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

bug 1729563 patch hit issue because it contained preprocessor inside js/public/friend/ErrorNumbers.msg .
ErrorNumbers.msg is used in the 2 case:

The latter doesn't recognize proprocessor, but just ignores it.
that can result in inconsistency between C++ and self-hosted JS.

js/src/builtin/embedjs.py should check if the msg file doesn't contain any preprocessor, and throws error otherwise.

Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/c886427cfe62
Disallow preprocessor in ErrorNumbers.msg. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: