Narcissus JS does not support 'let'

RESOLVED WONTFIX

Status

--
minor
RESOLVED WONTFIX
9 years ago
a month ago

People

(Reporter: taustin, Assigned: taustin)

Tracking

Other Branch
x86
macOS

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

9 years ago
Narcissus can now parse let, but jsexec does not handle it.

It appears that a number of unit tests might be failing for this reason specifically.
(Assignee)

Comment 1

9 years ago
Investigation note: treating 'let' as a synonym for 'var' will allow another 13 unit test scripts to pass.
These tests are all predicated on version() >= 170, right? If so, they want let as a synonym for var only at top level of a program or function body, of course. In a block, let is quite different from var.

/be
Do we not actually have any tests that make sure 'let' terminates correctly at the end of blocks? I guess those would continue to fail after your change, so no difference in numbers.
Component: JavaScript Engine → Narcissus
Keywords: narcissus
Product: Core → Other Applications
QA Contact: general → narcissus
Narcissus is no longer maintained, closing.
Status: NEW → RESOLVED
Last Resolved: a month ago
Resolution: --- → WONTFIX

Updated

a month ago
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.