Closed
Bug 452188
Opened 16 years ago
Closed 13 years ago
|watch| and |delete| causes setter to act like a watchpoint (return value becomes new value)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
x = 1; __defineSetter__('x', function(){return 2;}); watch('x', function(){return 3;}); delete x; x = 5; print("x is " + this.x); x is 2 This doesn't make sense to me. Is the brief existence of a watchpoint somehow making the setter gain watchpoint semantics?
Comment 1•13 years ago
|
||
Now it says "x is 5".
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•