JavaScriptCore:
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2007 23:53:04 +0000 (23:53 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Dec 2007 23:53:04 +0000 (23:53 +0000)
commitb44bf3e4471dd191e8cfa608255707f610c5a659
tree470e95d187a386c75f629b38c197e40b29a46e84
parente5e7f19d12e6361a954543d488001bc7a1af006c
JavaScriptCore:

        Reviewed by Sam.

        Make isSafeScript const.

        * kjs/JSGlobalObject.h:
        (KJS::JSGlobalObject::isSafeScript):

WebCore:

        Reviewed by Sam.

        Add isSafeScript(const JSGlobalObject*) so we won't get the JSGlobalObject
        implementation, which always returns true(!).

        * bindings/js/kjs_window.cpp:
        (KJS::Window::isSafeScript):
        Make the static isSafeScript method take two JSGlobalObjects.

        * bindings/js/kjs_window.h:
        (KJS::Window::isSafeScript):
        Implement isSafeScript and have it call the static method.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/JSGlobalObject.h
WebCore/ChangeLog
WebCore/bindings/js/kjs_window.cpp
WebCore/bindings/js/kjs_window.h