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

Issue 2532443002: [telemetry] Bullet proof scroll.js (Closed)

Created:
4 years ago by hjd
Modified:
3 years, 11 months ago
Reviewers:
perezju, Sami
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[telemetry] Bullet proof scroll.js Make scroll.js give a nice error message if the scroll point is off screen or if the element has zero area. Previously we just got a stack trace from chrome. Also fix various lint errors since this is the first time this file has been touched in a while. BUG=chromium:664515 Review-Url: https://codereview.chromium.org/2532443002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/c3ec514d8726530643844182677304ce7f15a5c2

Patch Set 1 #

Patch Set 2 : [telemetry] Bullet proof scroll.js #

Patch Set 3 : fix typo #

Total comments: 7

Patch Set 4 : fix for comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -28 lines) Patch
M telemetry/telemetry/internal/actions/scroll.js View 1 2 3 5 chunks +32 lines, -28 lines 1 comment Download

Messages

Total messages: 17 (8 generated)
hjd
ptal, thanks! :)
4 years ago (2016-11-24 12:18:38 UTC) #3
Sami
https://codereview.chromium.org/2532443002/diff/40001/telemetry/telemetry/internal/actions/scroll.js File telemetry/telemetry/internal/actions/scroll.js (right): https://codereview.chromium.org/2532443002/diff/40001/telemetry/telemetry/internal/actions/scroll.js#newcode119 telemetry/telemetry/internal/actions/scroll.js:119: var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_); I hope moving this query ...
4 years ago (2016-11-24 12:39:59 UTC) #4
hjd
Thanks! https://codereview.chromium.org/2532443002/diff/40001/telemetry/telemetry/internal/actions/scroll.js File telemetry/telemetry/internal/actions/scroll.js (right): https://codereview.chromium.org/2532443002/diff/40001/telemetry/telemetry/internal/actions/scroll.js#newcode119 telemetry/telemetry/internal/actions/scroll.js:119: var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_); On 2016/11/24 12:39:59, Sami ...
4 years ago (2016-11-24 14:39:03 UTC) #5
Sami
lgtm! https://codereview.chromium.org/2532443002/diff/40001/telemetry/telemetry/internal/actions/scroll.js File telemetry/telemetry/internal/actions/scroll.js (right): https://codereview.chromium.org/2532443002/diff/40001/telemetry/telemetry/internal/actions/scroll.js#newcode119 telemetry/telemetry/internal/actions/scroll.js:119: var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_); On 2016/11/24 14:39:03, hjd ...
4 years ago (2016-11-24 14:47:35 UTC) #6
perezju
lgtm, although only mildly familiar with the code in this regions
4 years ago (2016-11-25 12:04:41 UTC) #7
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/2532443002/60001
3 years, 11 months ago (2017-01-17 10:25:21 UTC) #10
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/2532443002/60001
3 years, 11 months ago (2017-01-18 11:41:18 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/c3ec514d8726530643844182677304ce7f15a5c2
3 years, 11 months ago (2017-01-18 12:25:35 UTC) #16
hjd
3 years, 11 months ago (2017-01-19 12:36:02 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2644073003/ by hjd@chromium.org.

The reason for reverting is: CL breaks catapult->chrome autoroller see:
https://github.com/catapult-project/catapult/issues/3149.

Powered by Google App Engine
This is Rietveld 408576698