- fixed <rdar://problem/4155532> 'delete' succeeds on functions
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jun 2005 18:42:30 +0000 (18:42 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Jun 2005 18:42:30 +0000 (18:42 +0000)
commitb21e7ba1f4664fee90320c0a2b6806b1ca3744f2
tree07db55d31a0b5566603cb030d23fa146765b7bf7
parent29dfcd0ff834789423450f302a42746586abd3bb
    - fixed <rdar://problem/4155532> 'delete' succeeds on functions
        - fixed <rdar://problem/4155049> javascript function named as "opener" doesn't get called because of window.opener property

        Reviewed by cblu.

        * kjs/nodes.cpp:
        (FuncDeclNode::processFuncDecl): Functions now have DontDelete and Internal attributes set when appropriate.

        Test cases:
        * tests/mozilla/expected.html: Updated for one new success.
        - see also test case added in WebCore.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/nodes.cpp
JavaScriptCore/tests/mozilla/expected.html