Closed Bug 847000 Opened 11 years ago Closed 11 years ago

JSMSG_CANT_CONVERT_TO mapped to 35_TO in self-hosted code

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: mozillabugs, Assigned: mozillabugs)

References

Details

Attachments

(1 file, 1 obsolete file)

The message id JSMSG_CANT_CONVERT_TO, when used in self-hosted JavaScript code, is mapped to 35_TO, leading to an error when initializing the self-hosting global:

self-hosted:123:0 SyntaxError: identifier starts immediately after numeric literal:
self-hosted:123:0         ThrowError(35_TO, ToString(v), "object");
self-hosted:123:0 ...................^
Attached patch patch (obsolete) — Splinter Review
Assignee: general → mozillabugs
Status: NEW → ASSIGNED
Attachment #720240 - Flags: review?(tschneidereit)
Attached patch patchSplinter Review
Attachment #720241 - Flags: review?(tschneidereit)
Attachment #720240 - Attachment is obsolete: true
Attachment #720240 - Flags: review?(tschneidereit)
Blocks: 769871
Attachment #720241 - Attachment is patch: true
Attachment #720241 - Flags: review?(tschneidereit) → review+
https://hg.mozilla.org/mozilla-central/rev/b6fe70978ee5
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: