Closed Bug 746186 Opened 13 years ago Closed 11 years ago

IonMonkey: SETPROP IC can modify non-writable properties

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jandem, Assigned: djvj)

Details

(Whiteboard: [ion:t])

Chunk compilation will introduce a new jit-test failure because we can now compile (part of) some testcase we couldn't compile before (due to global |this|). Here's a reduced testcase: var o = {}; Object.defineProperty(o, "x", {value: 0, writable: false}); for (var i=0; i<100; i++) o.x = 10; assertEq(o.x, 0); $ ./js --ion -n test.js test.js:6: Error: Assertion failed: got 10, expected 0
Assignee: general → kvijayan
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.