From 2ce57c782597859abf4ae85dfe0164610df49e7a Mon Sep 17 00:00:00 2001 From: "joi@chromium.org" Date: Tue, 17 Nov 2009 18:15:40 +0000 Subject: Don't treat CF in privileged mode as an iframe for framebusting headers. BUG=none TEST=none Review URL: http://codereview.chromium.org/402013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32183 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_npapi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome_frame/chrome_frame_npapi.cc') diff --git a/chrome_frame/chrome_frame_npapi.cc b/chrome_frame/chrome_frame_npapi.cc index 620db8d..509f083 100644 --- a/chrome_frame/chrome_frame_npapi.cc +++ b/chrome_frame/chrome_frame_npapi.cc @@ -669,7 +669,7 @@ void ChromeFrameNPAPI::OnRequestStart(int tab_handle, int request_id, if (new_request->Initialize(automation_client_.get(), tab_handle, request_id, request.url, request.method, request.referrer, request.extra_request_headers, - request.upload_data.get(), true)) { + request.upload_data.get(), !is_privileged_)) { if (new_request->Start()) { // Keep additional reference on request for NPSTREAM // This will be released in NPP_UrlNotify -- cgit v1.1