W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

[[Call]] behaviour of operations

From: Geoffrey Sneddon <gsneddon@opera.com>
Date: Sun, 17 Jul 2011 22:17:43 +0100
Message-ID: <4E235177.9090002@opera.com>
To: public-script-coord@w3.org
I can't find any definition of [[Call]] for operation functions. If it 
is intended to use the built-in definition, this should be specified, 
though this leads to a problem with the reference to 10.4.3 which checks 
whether the function is strict code or not (per ES5.1 host functions 
have no concept of strictness).

At the moment, if the behaviour definition is used as [[Call]], then 
calls such as "alert('foo')" don't work, as the this value is undefined 
(and therefore ToObject will throw).

-- 
Geoffrey Sneddon  Opera Software
<http://gsnedders.com>
<http://opera.com>
Received on Sunday, 17 July 2011 21:18:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:04 UTC