On Jan 11, 2010, at 4:37 PM, David-Sarah Hopwood wrote:

Kevin Curtis wrote:
So, FF3.5 has resurrected the sandboxed eval with the second 'global' object parameter - as the closure peeking issue has been fixed. (The second param
is a live object rather than a string).

I gather, then, that there has been no change in Mozilla developers'
practice of adding unilateral language extensions without consulting anyone,
and in particular without consulting this list.

Get your facts straight, and get off your high horse.

The second argument to eval has been a Mozilla extension since 1998 at least, it predates ES3:

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/js/src/jsobj.c&rev=3.2 (1998-4-23 cvs commit, from a Netscape-internal cvs repo)

The only reason it was kept in Firefox 3.5 and 3.6 was for compatibility with add-ons and applications built on the codebase:

https://bugzilla.mozilla.org/show_bug.cgi?id=442333 (removal of second arg) https://bugzilla.mozilla.org/show_bug.cgi?id=457068 (report of broken add-ons)

It is going away for Firefox 3.7:

https://bugzilla.mozilla.org/show_bug.cgi?id=531675

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to