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

Issue 2219753002: MD History: Fix crash when opening Synced Tab links with touch (Closed)

Created:
4 years, 4 months ago by tsergeant
Modified:
4 years, 4 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Fix crash when opening Synced Tab links with touch The event handler for synced tab clicks needs to know what modifier keys were pressed during the click, but Polymer tap events do not include this information from touch events. Instead, this changes the handler to listen to a plain 'click' event, which will always include this information. BUG=634236 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/ec398f6d0d29522ae9b7cd07ac611e8e82e05e8e Cr-Commit-Position: refs/heads/master@{#410597}

Patch Set 1 #

Patch Set 2 : Rewrite patch to listen to click event, add regression test #

Total comments: 2

Patch Set 3 : Rename closure type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -8 lines) Patch
M chrome/browser/resources/md_history/browser_service.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/constants.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/synced_device_card.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/synced_device_card.js View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_history/history_synced_tabs_test.js View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 27 (19 generated)
tsergeant
4 years, 4 months ago (2016-08-08 00:03:18 UTC) #13
calamity
lgtm https://codereview.chromium.org/2219753002/diff/40001/chrome/browser/resources/md_history/constants.js File chrome/browser/resources/md_history/constants.js (right): https://codereview.chromium.org/2219753002/diff/40001/chrome/browser/resources/md_history/constants.js#newcode51 chrome/browser/resources/md_history/constants.js:51: var RepeatClickEvent = function() { DomRepeatClickEvent perhaps? This ...
4 years, 4 months ago (2016-08-09 03:40:41 UTC) #16
tsergeant
https://codereview.chromium.org/2219753002/diff/40001/chrome/browser/resources/md_history/constants.js File chrome/browser/resources/md_history/constants.js (right): https://codereview.chromium.org/2219753002/diff/40001/chrome/browser/resources/md_history/constants.js#newcode51 chrome/browser/resources/md_history/constants.js:51: var RepeatClickEvent = function() { On 2016/08/09 03:40:40, calamity ...
4 years, 4 months ago (2016-08-09 03:57:02 UTC) #17
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/2219753002/60001
4 years, 4 months ago (2016-08-09 03:57:30 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/118469)
4 years, 4 months ago (2016-08-09 05:34:18 UTC) #22
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/2219753002/60001
4 years, 4 months ago (2016-08-09 05:39:54 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-08-09 06:27:33 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 06:29:37 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec398f6d0d29522ae9b7cd07ac611e8e82e05e8e
Cr-Commit-Position: refs/heads/master@{#410597}

Powered by Google App Engine
This is Rietveld 408576698