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

Issue 8773035: Content settings: allow scripts on interstitial pages. (Closed)

Created:
9 years ago by marja
Modified:
9 years ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, brettw-cc_chromium.org, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr., ajwong+watch_chromium.org
Visibility:
Public.

Description

Content settings: allow scripts on interstitial pages even if JavaScript is blocked. BUG=104700 TEST=ChromeRenderViewTest.ContentSettingsInterstitialPages Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113579

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review. #

Total comments: 6

Patch Set 3 : Code review. #

Total comments: 1

Patch Set 4 : Not touching content/ #

Patch Set 5 : Oops, adding tests killed by the previous patch set. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M chrome/browser/tab_contents/chrome_interstitial_page.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 2 3 5 chunks +12 lines, -1 line 0 comments Download
M chrome/renderer/content_settings_observer_browsertest.cc View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
marja
ptal
9 years ago (2011-12-02 11:11:59 UTC) #1
jochen (gone - plz use gerrit)
http://codereview.chromium.org/8773035/diff/1/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): http://codereview.chromium.org/8773035/diff/1/chrome/renderer/content_settings_observer.cc#newcode132 chrome/renderer/content_settings_observer.cc:132: IPC_MESSAGE_HANDLER(ViewMsg_SetAsInterstitial, OnSetAsInterstitial) I think the render view impl should ...
9 years ago (2011-12-02 12:38:08 UTC) #2
marja
http://codereview.chromium.org/8773035/diff/1/chrome/renderer/content_settings_observer.cc File chrome/renderer/content_settings_observer.cc (right): http://codereview.chromium.org/8773035/diff/1/chrome/renderer/content_settings_observer.cc#newcode132 chrome/renderer/content_settings_observer.cc:132: IPC_MESSAGE_HANDLER(ViewMsg_SetAsInterstitial, OnSetAsInterstitial) On 2011/12/02 12:38:08, jochen wrote: > I ...
9 years ago (2011-12-02 14:39:33 UTC) #3
jochen (gone - plz use gerrit)
http://codereview.chromium.org/8773035/diff/7/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): http://codereview.chromium.org/8773035/diff/7/chrome/renderer/chrome_render_view_observer.cc#newcode374 chrome/renderer/chrome_render_view_observer.cc:374: content_settings_->AllowAllScripts(); why not also images? I'd go for something ...
9 years ago (2011-12-02 14:42:18 UTC) #4
marja
Thanks for comments! http://codereview.chromium.org/8773035/diff/7/chrome/renderer/chrome_render_view_observer.cc File chrome/renderer/chrome_render_view_observer.cc (right): http://codereview.chromium.org/8773035/diff/7/chrome/renderer/chrome_render_view_observer.cc#newcode374 chrome/renderer/chrome_render_view_observer.cc:374: content_settings_->AllowAllScripts(); On 2011/12/02 14:42:18, jochen wrote: ...
9 years ago (2011-12-02 15:10:33 UTC) #5
jochen (gone - plz use gerrit)
lgtm
9 years ago (2011-12-02 15:14:03 UTC) #6
marja
jam, could you review the parts where you're an owner, i.e., content/common/* content/public/* content/renderer/* Thanks!
9 years ago (2011-12-02 15:48:48 UTC) #7
jam
It's better to avoid adding methods to RenderViewObserver if we can, and also the code ...
9 years ago (2011-12-02 17:13:40 UTC) #8
marja
Hi & thanks for comments. I modified this CL so that it only touches chrome/. ...
9 years ago (2011-12-05 14:05:19 UTC) #9
jochen (gone - plz use gerrit)
LGTM
9 years ago (2011-12-06 23:11:50 UTC) #10
marja
jam@, I'll commit this even though you haven't LGTMd, this doesn't any more touch the ...
9 years ago (2011-12-08 07:53:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/8773035/9001
9 years ago (2011-12-08 07:53:13 UTC) #12
commit-bot: I haz the power
9 years ago (2011-12-08 08:52:56 UTC) #13
Change committed as 113579

Powered by Google App Engine
This is Rietveld 408576698