Closed
Bug 415206
Opened 17 years ago
Closed 14 years ago
Watch point keeps the setter even after deleting the property
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 609924
People
(Reporter: igor, Assigned: igor)
Details
Consider the following test case for js shell:
var setter_was_called = 0;
this.x setter= (function() { setter_was_called++; });
this.watch('x', function() { });
x = 1;
if (setter_was_called !== 0)
throw "Unexpected setter call";
Currently it throws an exception as setting the watch point on a property with a setter caches the setter and triggers calls to it even after the property is deleted.
This is related to bug 394964 but the problem here is different.
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•