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

Issue 2601773005: Use testing SafeBrowsingService for activation in SubresourceFilterBrowserTest. (Closed)

Created:
3 years, 11 months ago by engedy
Modified:
3 years, 11 months ago
Reviewers:
melandory
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a TestSafeBrowsingService for activation in SubresourceFilter browsertests. Instead of blanket activation, bring the tests closer to reality by setting the subresource filtering in `activation list` mode, and bringing up a TestSafeBrowsingService, which allows the tests to artificially mark URLs as blacklisted, and thus allows the subresource filtering logic to receive an activation signal when these URLs are navigated to in the main frame. The CL also changes the test to trigger same-page navigations from the renderer side, to prevent WebContentsObservers seeing duplicate (nested) navigations when browser-side navigation is enabled. BUG=637415 Committed: https://crrev.com/b15e86870a58be9115d5cc0afafc4512665af6c0 Cr-Commit-Position: refs/heads/master@{#440952}

Patch Set 1 #

Patch Set 2 : Fix includes. #

Patch Set 3 : Investigate linux try failure. #

Patch Set 4 : Rebase. #

Patch Set 5 : Fix browser-side navigation tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -4 lines) Patch
M chrome/browser/subresource_filter/subresource_filter_browsertest.cc View 1 2 3 4 14 chunks +134 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (19 generated)
engedy
Tanja, could you please take a look?
3 years, 11 months ago (2016-12-28 12:56:09 UTC) #4
melandory
On 2016/12/28 12:56:09, engedy wrote: > Tanja, could you please take a look? lgtm
3 years, 11 months ago (2016-12-28 13:26:01 UTC) #7
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/2601773005/80001
3 years, 11 months ago (2016-12-29 12:31:44 UTC) #16
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/2601773005/80001
3 years, 11 months ago (2016-12-29 12:35:55 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 11 months ago (2016-12-29 13:03:26 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:52:10 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b15e86870a58be9115d5cc0afafc4512665af6c0
Cr-Commit-Position: refs/heads/master@{#440952}

Powered by Google App Engine
This is Rietveld 408576698