Closed Bug 1405098 Opened 7 years ago Closed 7 years ago

Remove non-standard conditional catch

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1228841

People

(Reporter: mccr8, Unassigned)

Details

While working on bug 1403959, I noticed our JS engine supports this non-standard syntax for conditional try catch:
try {

} catch (e if blah blah blah) {
}

It might be nice if we could remove it, or maybe just reject it from chrome JS as a first step. Eslint can't parse it.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.