Pass the right ExecStates to toJS when creating JS wrappers for objects from...
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Mar 2008 21:35:27 +0000 (21:35 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Mar 2008 21:35:27 +0000 (21:35 +0000)
commit4b12c0843ae4073f8383bd0755324439c99d816c
tree8be41c794ec9821cba6e90030fcafcb7c166a4ab
parenteb15bdda0841e7a8ff4d7f055c7ccf42960a6bfd
    Pass the right ExecStates to toJS when creating JS wrappers for objects from the inspected page

        We now use an ExecState from the inspected page to create the JS
        wrappers for objects from the inspected page, rather than use an
        ExecState from the Inspector.

        Reviewed by Tim Hatcher.

        * page/InspectorController.cpp:
        (WebCore::getResourceDocumentNode):
        (WebCore::InspectorController::focusNode):
        (WebCore::InspectorController::addDatabaseScriptResource):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/InspectorController.cpp