Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Issue 9726025: Fix bug where we'd allow chrome-extension URLs to be loaded in incognito mode (Closed)

Created:
8 years, 9 months ago by Matt Perry
Modified:
8 years, 9 months ago
Reviewers:
Aaron Boodman, jam
CC:
chromium-reviews, nkostylev+watch_chromium.org, jam, mihaip+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Fix bug where we'd allow chrome-extension URLs to be loaded in incognito mode as subresources, even though the extension is not allowed in incognito. BUG=118721 TEST=see bug for repro; try the proof of concept in incognito mode with adblock installed but not allowed in incognito. adblock should not be detected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128097

Patch Set 1 #

Total comments: 9

Patch Set 2 : GetHomeDir #

Patch Set 3 : getcurrentdir #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -16 lines) Patch
M chrome/browser/chromeos/gview_request_interceptor_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_protocols.cc View 1 3 chunks +17 lines, -14 lines 0 comments Download
A chrome/browser/extensions/extension_protocols_unittest.cc View 1 2 1 chunk +153 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/resource_request_info_impl.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/public/browser/resource_request_info.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Matt Perry
8 years, 9 months ago (2012-03-20 00:41:04 UTC) #1
jam
content lgtm
8 years, 9 months ago (2012-03-20 00:52:36 UTC) #2
Aaron Boodman
https://chromiumcodereview.appspot.com/9726025/diff/1/chrome/browser/extensions/extension_protocols.cc File chrome/browser/extensions/extension_protocols.cc (right): https://chromiumcodereview.appspot.com/9726025/diff/1/chrome/browser/extensions/extension_protocols.cc#newcode177 chrome/browser/extensions/extension_protocols.cc:177: if (info->GetResourceType() == ResourceType::MAIN_FRAME) { Why only the main ...
8 years, 9 months ago (2012-03-20 02:19:29 UTC) #3
Matt Perry
https://chromiumcodereview.appspot.com/9726025/diff/1/chrome/browser/extensions/extension_protocols.cc File chrome/browser/extensions/extension_protocols.cc (right): https://chromiumcodereview.appspot.com/9726025/diff/1/chrome/browser/extensions/extension_protocols.cc#newcode177 chrome/browser/extensions/extension_protocols.cc:177: if (info->GetResourceType() == ResourceType::MAIN_FRAME) { On 2012/03/20 02:19:29, Aaron ...
8 years, 9 months ago (2012-03-20 17:27:33 UTC) #4
Matt Perry
ping
8 years, 9 months ago (2012-03-21 19:12:01 UTC) #5
Aaron Boodman
LGTM, but can you try and figure out the GetResourceURL thing? https://chromiumcodereview.appspot.com/9726025/diff/1/chrome/browser/extensions/extension_protocols.cc File chrome/browser/extensions/extension_protocols.cc (right): ...
8 years, 9 months ago (2012-03-21 19:29:43 UTC) #6
Aaron Boodman
LGTM
8 years, 9 months ago (2012-03-21 21:18:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpcomplete@chromium.org/9726025/19001
8 years, 9 months ago (2012-03-21 21:39:40 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-21 23:29:25 UTC) #9
Change committed as 128097

Powered by Google App Engine
This is Rietveld 408576698