2010-09-07 Jessie Berlin <jberlin@apple.com>
Reviewed by Darin Adler.
Indicate which one of the ScriptWorlds for a Frame the Window Object has been cleared for
https://bugs.webkit.org/show_bug.cgi?id=45217
WebKit2:
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::didClearWindowObjectForFrame):
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
WebKitTools:
Make WebKitTestRunner work with this change.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::didClearWindowForFrame):
Make sure the ScriptWorld here is the normal world, since that is no longer being done in
WebFrameLoaderClient.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@66894
268f45cc-cd09-0410-ab3c-
d52691b4dbfc