Subj : What changed with JS prototype usage? To : netscape.public.mozilla.jseng From : Peter Wilson Date : Sun Dec 12 2004 04:41 pm I have been away from Mozilla development for several years. I am attempting to resurrect some old code before embarking on a re-design. The original working code that now crashes has been in a jar file for all this time and has not changed. The following idioms used to work but are now silently ignored: function foo() { this.mx = null; } foo.prototype.bar = function() { } foo.prototype.__defineGetter__('x', function() { return this. mx; }) When I step through the code loading using Venkman, function foo() is loaded, the other functions are skipped. Did this become illegal at some point? .