Good catch Hannes! Please review the updated webrev :

PS. Had to use to pass undefined this explicitly (as can't be called from script).


On 01/12/16, 3:13 PM, Hannes Wallnöfer wrote:
Hi Sundar,

The problem with this approach is that it will replace any occurrence of 
undefined this with the global object. However, this should only occur for 
scope calls. For example, the following call would see undefined replaced with 

This is probably not a problem that will occur very often, but ideally I think 
we should do the check and replacement on the linking side, i.e. in 

On the other hand we can’t check for function strictness that way. Maybe do it 
your way but add a boolean isScope parameter and bind that at link time?


Am 01.12.2016 um 07:21 schrieb Sundararajan 

Please review for


Reply via email to