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

Issue 2879583002: Custom Tabs: disable all speculation if third party cookies are blocked. (Closed)

Created:
3 years, 7 months ago by mattcary
Modified:
3 years, 7 months ago
Reviewers:
pasko, Benoit L
CC:
chromium-reviews, lizeb+watch-custom-tabs_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Custom Tabs: disable all speculation if third party cookies are blocked. Disable background tabs if third party cookies are blocked. See the bug for context. This is already handled for prerender in the prerender_manager; this change prevents a prerender from being created which is a minor efficiency improvement. BUG=589374, 710720 Review-Url: https://codereview.chromium.org/2879583002 Cr-Commit-Position: refs/heads/master@{#471362} Committed: https://chromium.googlesource.com/chromium/src/+/11109a9dd4f3750bdf0fc987b0eabe6de07e4f25

Patch Set 1 #

Total comments: 2

Patch Set 2 : add test #

Patch Set 3 : Removed dead code from test copy-paste. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java View 1 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 1 2 2 chunks +33 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (9 generated)
mattcary
Egor, Benoit: related to our UMA exploration this afternoon. Seems to be the correct thing ...
3 years, 7 months ago (2017-05-11 13:24:52 UTC) #2
Benoit L
On 2017/05/11 13:24:52, mattcary wrote: > Egor, Benoit: related to our UMA exploration this afternoon. ...
3 years, 7 months ago (2017-05-11 13:33:49 UTC) #3
pasko
lgtm https://codereview.chromium.org/2879583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java (right): https://codereview.chromium.org/2879583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java#newcode958 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java:958: if (prefs.isBlockThirdPartyCookiesEnabled()) return false; this way we will ...
3 years, 7 months ago (2017-05-11 14:42:17 UTC) #4
mattcary
Also added some bonus tests. PTAL in case I did something silly. https://codereview.chromium.org/2879583002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java ...
3 years, 7 months ago (2017-05-12 13:42:50 UTC) #5
pasko
still lgtm
3 years, 7 months ago (2017-05-12 14:52:12 UTC) #6
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/2879583002/20001
3 years, 7 months ago (2017-05-12 14:56:30 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/267712)
3 years, 7 months ago (2017-05-12 15:57:35 UTC) #12
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/2879583002/40001
3 years, 7 months ago (2017-05-12 16:00:34 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 17:54:59 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/11109a9dd4f3750bdf0fc987b0ea...

Powered by Google App Engine
This is Rietveld 408576698