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

Issue 2389393004: Web Share: Disable warning when web share is used from incognito. (Closed)

Created:
4 years, 2 months ago by Matt Giuca
Modified:
4 years, 2 months ago
Reviewers:
Ted C
CC:
chromium-reviews, agrieve+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web Share: Disable warning when web share is used from incognito. This was deemed unnecessary in UX review. When navigator.share is used from incognito, you still see the intent picker which is considered sufficient warning for users. The bulk of the code to support this (https://crrev.com/420564) remains and will be removed in a future CL. BUG=645007 Committed: https://crrev.com/e27d189dc63ecb32c2645828557389de11e7a466 Cr-Commit-Position: refs/heads/master@{#423740}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webshare/ShareServiceImpl.java View 2 chunks +3 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (3 generated)
Matt Giuca
Hi Ted, I will CC you the relevant email.
4 years, 2 months ago (2016-10-06 00:19:55 UTC) #2
Matt Giuca
The full revert CL is in https://codereview.chromium.org/2395963002, but to avoid churn around branch point, I ...
4 years, 2 months ago (2016-10-06 00:23:24 UTC) #3
Ted C
lgtm To be overly cautious, what happens if you do Intent.createChooser for an intent that ...
4 years, 2 months ago (2016-10-06 17:52:40 UTC) #4
Matt Giuca
On 2016/10/06 17:52:40, Ted C wrote: > lgtm > > To be overly cautious, what ...
4 years, 2 months ago (2016-10-06 23:05:29 UTC) #5
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/2389393004/1
4 years, 2 months ago (2016-10-06 23:06:07 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-06 23:42:15 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e27d189dc63ecb32c2645828557389de11e7a466 Cr-Commit-Position: refs/heads/master@{#423740}
4 years, 2 months ago (2016-10-06 23:43:21 UTC) #10
Ted C
4 years, 2 months ago (2016-10-06 23:49:18 UTC) #11
Message was sent while issue was closed.
On 2016/10/06 23:05:29, Matt Giuca wrote:
> On 2016/10/06 17:52:40, Ted C wrote:
> > lgtm
> > 
> > To be overly cautious, what happens if you do Intent.createChooser for an
> intent
> > that only resolves to a single activity?
> > 
> > Will that skip the chooser or will it still show a chooser with a single
> entity?
> 
> There is always a chooser:
> https://bugs.chromium.org/p/chromium/issues/detail?id=645007#c6
> 
> This is documented in
> https://developer.android.com/training/sharing/send.html#send-text-content
> 
> > We'd probably have to write a test sender and receiver app that uses an
> obscure
> > mimetype or path or something in the share intent to verify.
> 
> Well I was able to manually verify using CATEGORY_BROWSABLE, but I can't think
> of a way to automatically test this. (In fact, I don't have any tests that use
> the real intent picker at all; too brittle to rely on the Android system UI in
> tests.)

I don't think we need a test for it, I think they fact that you verified
manually on the bug is more than sufficient.  Thanks!

Powered by Google App Engine
This is Rietveld 408576698