From c82d09a2c37cfcf286fd1a82f18c08d5d52bbc5e Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Fri, 26 Mar 2010 23:28:40 +0000 Subject: Reenable the ChromeFrame unload event test which basically loads a page which in its unload handler sets a cookie which the new page attempts to read. This does not work as expected in ChromeFrame as the cookie reading and writing attempts are routed to the host browser, in this case IE which is waiting for the WM_DESTROY message sent to the external tab to return. Fix is to process the AutomationMsg_GetCookiesFromHost and AutomationMsg_SetCookieAsync IPC messages in the background thread which works in IE. For Firefox they continue to be processed on the UI thread as before. Fixes bug http://code.google.com/p/chromium/issues/detail?id=37231 Bug=37231 Review URL: http://codereview.chromium.org/1342004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42855 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_automation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome_frame/chrome_frame_automation.h') diff --git a/chrome_frame/chrome_frame_automation.h b/chrome_frame/chrome_frame_automation.h index 1a1948e..c995883 100644 --- a/chrome_frame/chrome_frame_automation.h +++ b/chrome_frame/chrome_frame_automation.h @@ -359,6 +359,7 @@ class ChromeFrameAutomationClient const std::string& redirect_url, int redirect_status); virtual void OnReadComplete(int request_id, const void* buffer, int len); virtual void OnResponseEnd(int request_id, const URLRequestStatus& status); + virtual bool SendIPCMessage(IPC::Message* msg); public: void SetUrlFetcher(PluginUrlRequestManager* url_fetcher) { -- cgit v1.1