Fixed <rdar://problem/3923356> REGRESSION: Java/JavaScript security checks working...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2005 23:24:18 +0000 (23:24 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2005 23:24:18 +0000 (23:24 +0000)
commitc92d5dfae7bdde48004d814c0aad68b14e9be25c
treefeed4aa0d1c283e979fa3c45f13394aaac3b6a47
parentbd97301e1cfce90bca89f6af29cbd71789f76d80
Fixed <rdar://problem/3923356> REGRESSION: Java/JavaScript security checks working incorrectly

We were always returning the first "root" object for all runtime
objects.  Changed 0 in loop to i, the index.

        Reviewed by David Harrison.

        * bindings/runtime_root.cpp:
        (KJS::Bindings::rootForImp):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/bindings/runtime_root.cpp