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

Issue 2338173002: Improve permission persistence tests. (Closed)

Created:
4 years, 3 months ago by dominickn
Modified:
4 years, 3 months ago
CC:
chromium-reviews, mlamouri+watch-permissions_chromium.org, mlamouri+watch-geolocation_chromium.org, Michael van Ouwerkerk
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve permission persistence tests. This CL adds a browser test for desktop geolocation where persistence is toggled off, ensuring that the underlying content setting isn't changed. Additional checks of the content setting are added to the existing grant and block tests. This CL also simplifies the feature list setting used in the PermissionContextBase test. BUG=632269 Committed: https://crrev.com/c2726ec8f91d0c790aa924daf017675d3ebbe164 Cr-Commit-Position: refs/heads/master@{#418841}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -14 lines) Patch
M chrome/browser/geolocation/geolocation_browsertest.cc View 1 5 chunks +66 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_context_base_unittest.cc View 3 chunks +3 lines, -14 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (12 generated)
dominickn
PTAL, thanks!
4 years, 3 months ago (2016-09-14 06:05:37 UTC) #4
dominickn
+mvanouwekerk - PTAL at geolocation. This patch is depended on by the other patch I ...
4 years, 3 months ago (2016-09-15 03:55:47 UTC) #8
raymes
Thanks Dom! https://codereview.chromium.org/2338173002/diff/1/chrome/browser/geolocation/geolocation_browsertest.cc File chrome/browser/geolocation/geolocation_browsertest.cc (right): https://codereview.chromium.org/2338173002/diff/1/chrome/browser/geolocation/geolocation_browsertest.cc#newcode457 chrome/browser/geolocation/geolocation_browsertest.cc:457: std::string())); Maybe we could do WatchPositionAndObservePermissionRequest(false) instead ...
4 years, 3 months ago (2016-09-15 05:16:09 UTC) #9
dominickn
Thanks! https://codereview.chromium.org/2338173002/diff/1/chrome/browser/geolocation/geolocation_browsertest.cc File chrome/browser/geolocation/geolocation_browsertest.cc (right): https://codereview.chromium.org/2338173002/diff/1/chrome/browser/geolocation/geolocation_browsertest.cc#newcode457 chrome/browser/geolocation/geolocation_browsertest.cc:457: std::string())); On 2016/09/15 05:16:08, raymes wrote: > Maybe ...
4 years, 3 months ago (2016-09-15 05:40:29 UTC) #11
raymes
lgtm thanks!
4 years, 3 months ago (2016-09-15 05:44:19 UTC) #13
Michael van Ouwerkerk
lgtm
4 years, 3 months ago (2016-09-15 09:23:27 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/2338173002/20001
4 years, 3 months ago (2016-09-15 12:11:37 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 12:16:00 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 12:17:04 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c2726ec8f91d0c790aa924daf017675d3ebbe164
Cr-Commit-Position: refs/heads/master@{#418841}

Powered by Google App Engine
This is Rietveld 408576698