2006-10-31 Vladimir Olexa <vladimir.olexa@gmail.com>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2006 18:16:08 +0000 (18:16 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2006 18:16:08 +0000 (18:16 +0000)
commitfc4ae20fd8b9a17fb7ac9ffcaae1f1bb4df852be
treed1a27055611a81de412b3d9a8f8d09cd48d3364d
parent613ce966421761ae6021cad406ad959de8ecb864
2006-10-31  Vladimir Olexa  <vladimir.olexa@gmail.com>

        Reviewed by Geoff.

        http://bugs.webkit.org/show_bug.cgi?id=4166
        Function object does not support caller property

        Test: fast/js/caller-property.html

        * kjs/function.cpp:
        (KJS::FunctionImp::callerGetter): added
        (KJS::FunctionImp::getOwnPropertySlot): added if statement to handle callerGetter()
        * kjs/function.h: added callerGetter() declaration
        * kjs/identifier.h: added caller property macro
        * tests/mozilla/expected.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/function.cpp
JavaScriptCore/kjs/function.h
JavaScriptCore/kjs/identifier.h
JavaScriptCore/tests/mozilla/expected.html
LayoutTests/ChangeLog
LayoutTests/fast/js/caller-property-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/caller-property.html [new file with mode: 0644]
LayoutTests/fast/js/resources/caller-property.js [new file with mode: 0644]