Closed Bug 618319 Opened 10 years ago Closed 9 years ago

JM does not throw ReferenceError with options("strict")

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
blocking2.0 --- -
status2.0 --- wanted

People

(Reporter: jandem, Assigned: dvander)

References

Details

---
options("strict");
[].x >>= 10;
---
Throws in interpreter, but not in JM:

test.js:2: strict warning: reference to undefined property "x"
Blocks: es5
blocking2.0: --- → ?
blocking2.0: ? → -
status2.0: --- → wanted
Assignee: general → dvander
Status: NEW → ASSIGNED
>options("strict");
>[].x >>= 10;

This doesn't throw in the interpreter for me.
WFM
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Flags: in-testsuite? → in-testsuite-
You need to log in before you can comment on or make changes to this bug.