Grzesiek Slusarek
2006-Jan-29 17:13 UTC
BUG in PROTOTYPE when set evalScripts: true - Firefox crashes
Hi all. I''m using Ajax Updater with evalScripts set to true and there must be a bug in prototype because when I call function firefox crashes and exit. I can''t even see Firefox javascript console. So I try it under Opera and Opera javascript Console show me this: http://localhost:8090/mysite/processSearch?pQuery=a Timeout thread: delay 10 ms Error: name: EvalError message: Statement on line 252: Illegal use of eval Backtrace: Line 252 of linked script http://localhost:8090/js/prototype.js results.push(iterator(value, index)); Line 221 of linked script http://localhost:8090/js/prototype.js iterator(value, index++); Line 414 of linked script http://localhost:8090/js/prototype.js iterator(this[i]); Line 225 of linked script http://localhost:8090/js/prototype.js this._each(function (value) { try { iterator(value, index++); } catch (e) { if (e != $continue) throw e; } } ); Line 253 of linked script http://localhost:8090/js/prototype.js this.each(function (value,index) { results.push(iterator(value, index)); } ); Line 160 of linked script http://localhost:8090/js/prototype.js return this.extractScripts().map(eval); Line 882 of linked script http://localhost:8090/js/prototype.js html.evalScripts(); At unknown location [statement source code not available] I didn''t try under IE but i think there will be the same. Gregor ---------------------------------------------------- Cameron Diaz i Toni Collette w filmie SIOSTRY W kinach od 27 stycznia 2005 r. http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fsiostry.html&sid=641