Re: Multiple globals and direct/indirect eval

2011-03-04 Thread David Bruant
[Adding WhatWG and public-script-coord (WebIDL) to the discussion. Discussion is ongoing : - Start of thread : https://mail.mozilla.org/pipermail/es-discuss/2011-March/012915.html - Strawman by Dave Herman: http://wiki.ecmascript.org/doku.php?id=strawman:multiple_globals )] ---

Re: [whatwg] Multiple globals and direct/indirect eval

2011-03-04 Thread Allen Wirfs-Brock
On Mar 4, 2011, at 8:39 AM, Mark S. Miller wrote: I certainly agree that there needs to be a better interface boundary between w3c/whatwg specs and ECMA specs. Too many issues -- like the semantics of multiple globals -- fall in the gaps between the two organizations. The WebIDL's JS binding

Re: Multiple globals and direct/indirect eval

2011-03-04 Thread Allen Wirfs-Brock
On Mar 3, 2011, at 9:22 PM, David Herman wrote: Thus we are left with the IE9/Opera behavior, which seems sensible and natural to me: an eval function should always act in the context of the global from which it came. Now this I think I don't agree with. The reason is that direct eval