Closed
Bug 392072
Opened 17 years ago
Closed 7 years ago
Incorrect old value passed to watch-handler watching __proto__?
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 638054
People
(Reporter: Waldo, Unassigned)
Details
js> var c = {};
js> c.watch("__proto__", function (p, o, n) {
if (o !== Object.prototype)
throw "Er, what??? " + o;
});
js> c.__proto__ = (function(){}).__proto__;
uncaught exception: Er, what??? undefined
I'm reasonably certain this is a bug, but I'm not 100% sure, hence the UNCO. This definitely appears on trunk, and I think it's on branch as well, but I didn't run this exact test to check.
Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Comment 1•7 years ago
|
||
watch() was removed in bug 638054.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•