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

Issue 2219383002: Require a user gesture to use navigator.share. (Closed)

Created:
4 years, 4 months ago by Sam McNally
Modified:
4 years, 4 months ago
Reviewers:
haraken, Matt Giuca
CC:
chromium-reviews, blink-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@webshare-dictionary
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Require a user gesture to use navigator.share. BUG=635387 Committed: https://crrev.com/69be009de71cb4bcf0e32ec5c4e8a86876458c1a Cr-Commit-Position: refs/heads/master@{#410556}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -12 lines) Patch
M third_party/WebKit/LayoutTests/webshare/resources/mock-share-service.js View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webshare/share-arity.html View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webshare/share-error.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/webshare/share-success.html View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webshare/share-types.html View 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp View 1 2 chunks +6 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (20 generated)
Sam McNally
4 years, 4 months ago (2016-08-08 06:33:11 UTC) #9
Matt Giuca
https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html File third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html (right): https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html#newcode9 third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html:9: mock.pushShareResult('the title', 'the message', 'error from browser'); I think ...
4 years, 4 months ago (2016-08-08 08:00:06 UTC) #10
Sam McNally
https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html File third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html (right): https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html#newcode9 third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html:9: mock.pushShareResult('the title', 'the message', 'error from browser'); On 2016/08/08 ...
4 years, 4 months ago (2016-08-08 09:08:44 UTC) #13
Matt Giuca
lgtm https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html File third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html (right): https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html#newcode9 third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html:9: mock.pushShareResult('the title', 'the message', 'error from browser'); On ...
4 years, 4 months ago (2016-08-09 00:09:26 UTC) #16
Sam McNally
+haraken https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html File third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html (right): https://codereview.chromium.org/2219383002/diff/20001/third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html#newcode9 third_party/WebKit/LayoutTests/webshare/share-without-user-gesture.html:9: mock.pushShareResult('the title', 'the message', 'error from browser'); On ...
4 years, 4 months ago (2016-08-09 01:24:36 UTC) #22
haraken
LGTM
4 years, 4 months ago (2016-08-09 02:38:55 UTC) #23
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/2219383002/60001
4 years, 4 months ago (2016-08-09 02:42:27 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-08-09 03:05:04 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 03:06:51 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/69be009de71cb4bcf0e32ec5c4e8a86876458c1a
Cr-Commit-Position: refs/heads/master@{#410556}

Powered by Google App Engine
This is Rietveld 408576698