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

Issue 2731013002: ActivationStateComputingThrottle unit tests (Closed)

Created:
3 years, 9 months ago by Charlie Harrison
Modified:
3 years, 9 months ago
Reviewers:
engedy
CC:
chromium-reviews, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ActivationStateComputingThrottle unit tests Add unit tests using the new NavigationSimulator infrastructure BUG=637415 Review-Url: https://codereview.chromium.org/2731013002 Cr-Commit-Position: refs/heads/master@{#456138} Committed: https://chromium.googlesource.com/chromium/src/+/c83741624e8adee522ee85b96a237f9c73daee2d

Patch Set 1 #

Patch Set 2 : rebase and touch up #

Total comments: 41

Patch Set 3 : engedy review #

Patch Set 4 : use default args for whitelist domains #

Total comments: 16

Patch Set 5 : engedy review2 #

Messages

Total messages: 30 (21 generated)
Charlie Harrison
engedy: here is the ActivationStateComputing tests, ported to NavigationSimulator.
3 years, 9 months ago (2017-03-03 20:19:59 UTC) #4
Charlie Harrison
FYI: now rebased off of the l-g-t-m'd NavSimulator code.
3 years, 9 months ago (2017-03-09 14:55:37 UTC) #9
engedy
Thanks! LGTM % comments. I pointed out a couple of test cases we should ultimately ...
3 years, 9 months ago (2017-03-10 10:56:58 UTC) #12
engedy
https://codereview.chromium.org/2731013002/diff/20001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc (right): https://codereview.chromium.org/2731013002/diff/20001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc#newcode185 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc:185: TEST_F(ActivationStateComputingNavigationThrottleTest, ActivateMainFrame) { optional nit: If we had two ...
3 years, 9 months ago (2017-03-10 11:53:41 UTC) #13
Charlie Harrison
Thanks engedy. There were some fairly significant changes so you might want to look over ...
3 years, 9 months ago (2017-03-10 17:12:48 UTC) #16
engedy
Still LGTM % mostly nits, thanks a lot! https://codereview.chromium.org/2731013002/diff/20001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc (right): https://codereview.chromium.org/2731013002/diff/20001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc#newcode189 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc:189: NotifyPageActivation(ActivationState(ActivationLevel::ENABLED)); ...
3 years, 9 months ago (2017-03-10 18:33:43 UTC) #23
Charlie Harrison
Appreciate the prompt review https://codereview.chromium.org/2731013002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc (right): https://codereview.chromium.org/2731013002/diff/60001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc#newcode85 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle_unittest.cc:85: void NavigateAndCommitToMainFrameWithPageActivation( On 2017/03/10 18:33:43, ...
3 years, 9 months ago (2017-03-10 18:48:55 UTC) #24
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/2731013002/80001
3 years, 9 months ago (2017-03-10 18:49:36 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 19:51:58 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/c83741624e8adee522ee85b96a23...

Powered by Google App Engine
This is Rietveld 408576698