Closed Bug 614032 Opened 15 years ago Closed 7 years ago

jsdefs doesn't parse on V8

Categories

(Other Applications Graveyard :: Narcissus, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gkrichar, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100911 Iceweasel/3.5.12 (like Firefox/3.5.12) Build Identifier: makePassthruHandler creates an object with an object literal, one of the properties of which is "delete". The left-hand-side of the relevant property in the object literal has delete as an identifier, which doesn't parse on V8 (perhaps others). It needs to be quoted. Reproducible: Always Steps to Reproduce: 1. Attempt to use jsdefs.js on V8 (tested on 2.2.24) Actual Results: SyntaxError: Unexpected token delete Expected Results: The object is created as per normal. Later versions of V8 seem to fix this, so the priority is fairly low, but it doesn't hurt to be conservative here.
Closing as Narcissus isn't maintained anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.