Module isolation

Brendan Eich brendan at
Mon Jan 11 16:56:26 PST 2010

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: 
  (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: (removal of second  
arg) (report of broken  

It is going away for Firefox 3.7:


More information about the es-discuss mailing list