2.1.3 [ECMA-262/7] Section 9.2.7 AddRestrictedFunctionProperties ( F, realm )

V0188: The caller and arguments properties are set incorrectly

The specification states:

 9.2.7 AddRestrictedFunctionProperties ( F, realm )
  
     The abstract operation AddRestrictedFunctionProperties is called with a function 
     object F and Realm Record realm as its argument. It performs the following steps:
     ...
     3.  Perform ! DefinePropertyOrThrow(F, "caller", PropertyDescriptor {[[Get]]: 
         thrower, [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: true}).
     4.  Return ! DefinePropertyOrThrow(F, "arguments", PropertyDescriptor {[[Get]]: 
         thrower, [[Set]]: thrower, [[Enumerable]]: false, [[Configurable]]: true}).

EdgeHTML Mode

The caller and arguments properties are set incorrectly:

    3.  Perform ! DefinePropertyOrThrow(F, "caller", PropertyDescriptor {[[Get]]:

         thrower, [[Set]]: undefined, [[Enumerable]]: false, [[Configurable]]: false}).

    4.  Return ! DefinePropertyOrThrow(F, "arguments", PropertyDescriptor {[[Get]]:

         thrower, [[Set]]: undefined, [[Enumerable]]: false, [[Configurable]]: false}).