Fixes for arguments object in non strict mode
authorLars Knoll <lars.knoll@digia.com>
Fri, 14 Dec 2012 12:27:26 +0000 (13:27 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Fri, 14 Dec 2012 12:49:02 +0000 (13:49 +0100)
commite2b907a90e6aa87f70c83d5e24290f87980442ea
treec99880908f4d687fe47300eaf5075616514f84b9
parente1c5e2f03b9c2bee49dfc64376de1b880ca530c0
Fixes for arguments object in non strict mode

In non strict mode, the arguments object actually
reflects the argument as it changes over the lifetime
of a function, unless you explicitly delete some of it's
properties.

The code to implement this is pretty ugly, but still better
then the specification :)

Change-Id: Ie42ed25c797513615fbc4bdee14145d953f323f3
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qmljs_objects.cpp
qmljs_objects.h