Closed Bug 1542406 Opened 6 years ago Closed 6 years ago

Restrict contents of direct eval in fields

Categories

(Core :: JavaScript Engine, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: khyperia, Assigned: khyperia)

References

Details

Attachments

(1 file)

Punted from bug 1540793 into its own bug.

For example, this is disallowed:

class C {
    x = eval('arguments');
}
Pushed by ahauck@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c66792afc2c2 Restrict contents of direct eval in fields. r=jorendorff
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: