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

Issue 789703004: Reflect the status of a request for accessing a blacklisted url. (Closed)

Created:
6 years ago by khannans
Modified:
5 years, 11 months ago
CC:
chromium-reviews, kenrb, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

When requesting access to a blacklisted url from the interstitial page, update the page with the request sent status. Note: I am exposing RenderFrameHost in the interstitial page in order to execute javascript as a means to communicate with the webpage. The RenderViewHost was already being used in android for routing gestures. This is makes the exposure for all platforms. BUG=443166 Committed: https://crrev.com/f3b271970f1a27ccc743d9d0ff08dde21d760076 Cr-Commit-Position: refs/heads/master@{#310789}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed comments #

Total comments: 5

Patch Set 3 : Tested on Android/Desktop #

Total comments: 6

Patch Set 4 : Addressed all comments switched to RenderFrameHost #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : final nit #

Patch Set 7 : Merge Conflict (One more call site for RenderViewHost added) #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -59 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_browsertest.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/resources/supervised_user_block_interstitial.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/supervised_user_block_interstitial.js View 1 2 2 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_interstitial.cc View 1 2 3 4 5 4 chunks +22 lines, -7 lines 0 comments Download
M chrome/browser/ui/browser_focus_uitest.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.h View 1 2 3 2 chunks +1 line, -7 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -8 lines 0 comments Download
M content/browser/security_exploit_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_android.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M content/public/browser/interstitial_page.h View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 42 (12 generated)
khannan
WIP. Yet to test properly. To add: chromium-reviews, pam+watch@chromium.org, arv+watch@chromium.org
6 years ago (2014-12-17 14:05:10 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/789703004/diff/1/chrome/browser/resources/supervised_user_block_interstitial.html File chrome/browser/resources/supervised_user_block_interstitial.html (right): https://codereview.chromium.org/789703004/diff/1/chrome/browser/resources/supervised_user_block_interstitial.html#newcode25 chrome/browser/resources/supervised_user_block_interstitial.html:25: <div id="request-failed-message" i18n-content="requestFailedMessage" hidden></div> Break this line so it ...
6 years ago (2014-12-17 17:05:18 UTC) #3
Bernhard Bauer
Also, it's not necessary to remove chromium-reviews@ from the CC list. The CL is still ...
6 years ago (2014-12-17 17:09:17 UTC) #4
khannan
+chromium-reviews@chromium.org Addressed your comments. Some are left unchanged for testing. https://codereview.chromium.org/789703004/diff/1/chrome/browser/resources/supervised_user_block_interstitial.html File chrome/browser/resources/supervised_user_block_interstitial.html (right): https://codereview.chromium.org/789703004/diff/1/chrome/browser/resources/supervised_user_block_interstitial.html#newcode25 ...
6 years ago (2014-12-17 17:39:09 UTC) #5
Bernhard Bauer
https://codereview.chromium.org/789703004/diff/20001/chrome/browser/resources/supervised_user_block_interstitial.html File chrome/browser/resources/supervised_user_block_interstitial.html (right): https://codereview.chromium.org/789703004/diff/20001/chrome/browser/resources/supervised_user_block_interstitial.html#newcode26 chrome/browser/resources/supervised_user_block_interstitial.html:26: hidden></div> Just indent the following line four spaces, don't ...
6 years ago (2014-12-17 18:27:34 UTC) #6
khannan
https://codereview.chromium.org/789703004/diff/20001/chrome/browser/resources/supervised_user_block_interstitial.html File chrome/browser/resources/supervised_user_block_interstitial.html (right): https://codereview.chromium.org/789703004/diff/20001/chrome/browser/resources/supervised_user_block_interstitial.html#newcode26 chrome/browser/resources/supervised_user_block_interstitial.html:26: hidden></div> On 2014/12/17 18:27:34, Bernhard Bauer wrote: > Just ...
6 years ago (2014-12-17 18:41:54 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/789703004/diff/20001/chrome/browser/resources/supervised_user_block_interstitial.js File chrome/browser/resources/supervised_user_block_interstitial.js (right): https://codereview.chromium.org/789703004/diff/20001/chrome/browser/resources/supervised_user_block_interstitial.js#newcode50 chrome/browser/resources/supervised_user_block_interstitial.js:50: function updateOnGettingRequestStatus(isSuccessful) { On 2014/12/17 18:41:53, khannan wrote: > ...
6 years ago (2014-12-17 18:50:33 UTC) #8
khannan
+Jochen, Please add others who may want to have a look. The crux of the ...
6 years ago (2014-12-22 14:45:53 UTC) #10
jochen (gone - plz use gerrit)
+creis
6 years ago (2014-12-22 14:49:21 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/789703004/diff/40001/content/public/browser/interstitial_page.h File content/public/browser/interstitial_page.h (right): https://codereview.chromium.org/789703004/diff/40001/content/public/browser/interstitial_page.h#newcode83 content/public/browser/interstitial_page.h:83: // Used for routing gestures to the interstitial in ...
6 years ago (2014-12-22 14:50:05 UTC) #13
Charlie Reis
[+nasko,kenrb,site-isolation-reviews to CC] Just one request about exposing RenderFrameHost rather than RenderViewHost, but otherwise seems ...
5 years, 11 months ago (2015-01-07 20:55:38 UTC) #14
nasko
nit: Neither the description of the CL, nor the bug contain reasoning why RenderViewHost needs ...
5 years, 11 months ago (2015-01-07 21:28:41 UTC) #16
knn
On 2015/01/07 21:28:41, nasko wrote: > nit: Neither the description of the CL, nor the ...
5 years, 11 months ago (2015-01-07 22:27:18 UTC) #17
nasko
On 2015/01/07 22:27:18, knn wrote: > On 2015/01/07 21:28:41, nasko wrote: > > nit: Neither ...
5 years, 11 months ago (2015-01-07 22:47:51 UTC) #18
knn
PTAL https://codereview.chromium.org/789703004/diff/40001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/789703004/diff/40001/content/browser/android/content_view_core_impl.cc#newcode345 content/browser/android/content_view_core_impl.cc:345: web_contents_->GetInterstitialPage()->GetRenderViewHost()->GetView(); On 2015/01/07 20:55:38, Charlie Reis wrote: > ...
5 years, 11 months ago (2015-01-07 23:50:29 UTC) #20
knn
On 2015/01/07 22:47:51, nasko wrote: > On 2015/01/07 22:27:18, knn wrote: > > On 2015/01/07 ...
5 years, 11 months ago (2015-01-07 23:54:47 UTC) #21
nasko
On 2015/01/07 23:54:47, knn wrote: > On 2015/01/07 22:47:51, nasko wrote: > > On 2015/01/07 ...
5 years, 11 months ago (2015-01-08 00:01:59 UTC) #22
Charlie Reis
I don't see the new patch yet. Can you upload it and run try jobs? ...
5 years, 11 months ago (2015-01-08 00:05:01 UTC) #23
khannans
On 2015/01/08 00:05:01, Charlie Reis wrote: > I don't see the new patch yet. Can ...
5 years, 11 months ago (2015-01-08 19:29:27 UTC) #24
Charlie Reis
Thanks! content/ LGTM with one nit. https://codereview.chromium.org/789703004/diff/80001/content/public/browser/interstitial_page.h File content/public/browser/interstitial_page.h (right): https://codereview.chromium.org/789703004/diff/80001/content/public/browser/interstitial_page.h#newcode82 content/public/browser/interstitial_page.h:82: // Gets the ...
5 years, 11 months ago (2015-01-08 21:06:03 UTC) #25
Bernhard Bauer
LGTM!
5 years, 11 months ago (2015-01-08 21:19:14 UTC) #26
knn
Done! https://codereview.chromium.org/789703004/diff/80001/content/public/browser/interstitial_page.h File content/public/browser/interstitial_page.h (right): https://codereview.chromium.org/789703004/diff/80001/content/public/browser/interstitial_page.h#newcode82 content/public/browser/interstitial_page.h:82: // Gets the RenderFrameHost associated with the Interstitial ...
5 years, 11 months ago (2015-01-08 21:46:13 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/789703004/100001
5 years, 11 months ago (2015-01-08 22:00:54 UTC) #29
jochen (gone - plz use gerrit)
lgtm
5 years, 11 months ago (2015-01-09 13:01:18 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/789703004/100001
5 years, 11 months ago (2015-01-09 14:15:33 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/23843)
5 years, 11 months ago (2015-01-09 15:00:23 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/789703004/120001
5 years, 11 months ago (2015-01-09 15:16:06 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/789703004/160001
5 years, 11 months ago (2015-01-09 16:25:38 UTC) #40
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 11 months ago (2015-01-09 17:28:59 UTC) #41
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 17:30:02 UTC) #42
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f3b271970f1a27ccc743d9d0ff08dde21d760076
Cr-Commit-Position: refs/heads/master@{#310789}

Powered by Google App Engine
This is Rietveld 408576698