Ticket #28 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Exceptions are not propagated out of 'eval'

Reported by: lth Assigned to: lhansen@…
Type: defect Priority: major
Component: RefImpl Version: 4
Keywords: Cc:

Description

E262-3 15.1.2.1 requires exceptions to be propagated out of "eval", but the RI does not do this; it causes regexp testsuite failures:

Test code:

>> try { eval("throw 'x'") } catch (e) {}
**ERROR** (near <no filename>:1.1-1.5) evalError
  uncaught exception: x

Attachments

Change History

Changed 3 years ago by lth

  • owner set to lhansen@adobe.com

Changed 3 years ago by lth

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.