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

Issue 2883213002: Add tests for FeaturePolicy integration with RenderFrameHost (Closed)

Created:
3 years, 7 months ago by raymes
Modified:
3 years, 7 months ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add tests for FeaturePolicy integration with RenderFrameHost This adds integration tests for FeaturePolicy in RenderFrameHosts. These tests are not meant to cover every edge case as the FeaturePolicy class itself is tested thoroughly in feature_policy_unittest.cc. Instead they are meant to ensure that integration with RenderFrameHost works correctly. BUG=689802 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2883213002 Cr-Commit-Position: refs/heads/master@{#474113} Committed: https://chromium.googlesource.com/chromium/src/+/d3da4b4f6567f5ceb91d12c5887dc49cca77cc06

Patch Set 1 #

Patch Set 2 : Add tests for FeaturePolicy integration with RenderFrameHost #

Total comments: 7

Patch Set 3 : Add tests for FeaturePolicy integration with RenderFrameHost #

Total comments: 3

Patch Set 4 : Add tests for FeaturePolicy integration with RenderFrameHost #

Total comments: 1

Patch Set 5 : Add tests for FeaturePolicy integration with RenderFrameHost #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -0 lines) Patch
M content/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A content/browser/frame_host/render_frame_host_feature_policy_unittest.cc View 1 2 3 1 chunk +181 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
raymes
alexmos/iclelland: could you ptal and let me know your thoughts about this? Thanks!
3 years, 7 months ago (2017-05-16 04:08:55 UTC) #3
alexmos
Thanks, more tests is always good. :) A couple of comments below. https://codereview.chromium.org/2883213002/diff/20001/content/browser/frame_host/render_frame_host_manager_unittest.cc File content/browser/frame_host/render_frame_host_manager_unittest.cc ...
3 years, 7 months ago (2017-05-16 21:40:05 UTC) #4
raymes
Thanks! https://codereview.chromium.org/2883213002/diff/20001/content/browser/frame_host/render_frame_host_manager_unittest.cc File content/browser/frame_host/render_frame_host_manager_unittest.cc (right): https://codereview.chromium.org/2883213002/diff/20001/content/browser/frame_host/render_frame_host_manager_unittest.cc#newcode3176 content/browser/frame_host/render_frame_host_manager_unittest.cc:3176: class RenderFrameFeaturePolicyTest : public content::RenderViewHostTestHarness { On 2017/05/16 ...
3 years, 7 months ago (2017-05-17 05:46:41 UTC) #5
alexmos
Thanks, responses below, and looks like the trybots aren't happy yet. Also, one other thing ...
3 years, 7 months ago (2017-05-17 22:48:49 UTC) #10
raymes
Thanks Alex. I think I'm almost there. The main problem now is that the android ...
3 years, 7 months ago (2017-05-21 22:11:20 UTC) #11
alexmos
On 2017/05/21 22:11:20, raymes wrote: > Thanks Alex. I think I'm almost there. > > ...
3 years, 7 months ago (2017-05-22 23:05:47 UTC) #12
raymes
On 2017/05/22 23:05:47, alexmos wrote: > On 2017/05/21 22:11:20, raymes wrote: > > Thanks Alex. ...
3 years, 7 months ago (2017-05-22 23:26:07 UTC) #13
alexmos
LGTM, thanks! On 2017/05/22 23:26:07, raymes wrote: > On 2017/05/22 23:05:47, alexmos wrote: > > ...
3 years, 7 months ago (2017-05-22 23:47:29 UTC) #14
raymes
Thanks for your help! On Tue, 23 May 2017 at 09:47 <alexmos@chromium.org> wrote: > LGTM, ...
3 years, 7 months ago (2017-05-23 00:33:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2883213002/80001
3 years, 7 months ago (2017-05-23 02:49:41 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/444483)
3 years, 7 months ago (2017-05-23 02:59:20 UTC) #23
raymes
Apparently: You need LGTM from owners of depends-on paths in DEPS that were modified in ...
3 years, 7 months ago (2017-05-23 03:10:30 UTC) #25
dstockwell
lgtm
3 years, 7 months ago (2017-05-23 23:53:53 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2883213002/80001
3 years, 7 months ago (2017-05-23 23:56:55 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 00:06:39 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/d3da4b4f6567f5ceb91d12c5887d...

Powered by Google App Engine
This is Rietveld 408576698