Subj : Re: Method added into Object.prototype: can't call directly inside To : Lev Serebryakov From : Brendan Eich Date : Mon Oct 03 2005 03:00 pm Lev Serebryakov wrote: >>What is XXX, exactly? I bet you are not using the same XXX in the js >>shell, because XXX is a DOM or XPCOM object of some kind. > > > This was cut'n'pasted! Sorry, this is the bug Martin Honnen points out: https://bugzilla.mozilla.org/show_bug.cgi?id=300079 It's due to how XUL scripts are precompiled. It should be possible to fix with some work. Let me write a comment in that bug. /be .