[Webkit-unassigned] [Bug 26127] __defineSetter__/__defineGetter__ is ignored on native properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 1 20:34:06 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26127





------- Comment #1 from t.brain at gmail.com  2009-06-01 20:34 PDT -------
It's worth noting that this testcase also works as expected in Opera, and the
same functionality can be achieved in IE8 using their getter/setter syntax:

Object.defineProperty(o, "id", { set: function () { alert("SET"); } });

/* or */

Object.defineProperty(HTMLDivElement.prototype, "id", { set: function () {
alert("SET"); } });


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list