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

Issue 2252683002: Add promise to pointerevent wpt automations (Closed)

Created:
4 years, 4 months ago by Navid Zolghadr
Modified:
4 years, 4 months ago
Reviewers:
dtapuska, mustaq
CC:
chromium-reviews, blink-reviews, tfarina, blink-reviews-w3ctests_chromium.org, lanwei, tdresser
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add promise to pointerevent wpt automations We return a promise from the APIs that send user actions and we will fulfill them using the callbacks in GPU benchmarking API. Note that the callback in GPU benchmarking is not called when the action is actually done. Instead when the action is put in the queue to be done. So that callback behavior needs to be fixed later. BUG=638239 Committed: https://crrev.com/698aa9d870b2cd6f52e75efd2989985f96d1d5db Cr-Commit-Position: refs/heads/master@{#412611}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -45 lines) Patch
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js View 1 chunk +28 lines, -6 lines 2 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_pointercancel_touch-manual-automation.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_pointerleave_after_pointercancel_touch-manual-automation.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_pointerout_after_pointercancel_touch-manual-automation.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_releasepointercapture_onpointercancel_touch-manual-automation.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-auto-css_touch-manual-automation.js View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-none-css_touch-manual-automation.js View 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual-automation.js View 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-pan-y-pan-y_touch-manual-automation.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-x-pan-y_touch-manual-automation.js View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-pan-y-css_touch-manual-automation.js View 1 chunk +6 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js View 1 chunk +12 lines, -19 lines 2 comments Download

Messages

Total messages: 19 (9 generated)
Navid Zolghadr
4 years, 4 months ago (2016-08-16 15:16:36 UTC) #4
mustaq
https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js File third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js (right): https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js#newcode72 third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js:72: reject(); I think it reject the Promise if gpuBenchmarking.tap() ...
4 years, 4 months ago (2016-08-17 15:17:49 UTC) #7
Navid Zolghadr
https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js File third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js (right): https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js#newcode72 third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_common_input.js:72: reject(); On 2016/08/17 15:17:49, mustaq wrote: > I think ...
4 years, 4 months ago (2016-08-17 15:24:54 UTC) #8
mustaq
https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js File third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js (right): https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js#newcode4 third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js:4: touchScrollInTarget('row1', 'down'); The top two Promises are handled differently ...
4 years, 4 months ago (2016-08-17 15:59:22 UTC) #9
Navid Zolghadr
https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js File third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js (right): https://codereview.chromium.org/2252683002/diff/1/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js#newcode4 third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_touch-action-table-test_touch-manual-automation.js:4: touchScrollInTarget('row1', 'down'); On 2016/08/17 15:59:22, mustaq wrote: > The ...
4 years, 4 months ago (2016-08-17 16:11:41 UTC) #10
mustaq
lgtm
4 years, 4 months ago (2016-08-17 16:35:18 UTC) #11
dtapuska
On 2016/08/17 16:35:18, mustaq wrote: > lgtm lgtm
4 years, 4 months ago (2016-08-17 18:00:07 UTC) #13
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/2252683002/1
4 years, 4 months ago (2016-08-17 18:01:48 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-17 19:26:33 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 19:34:23 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/698aa9d870b2cd6f52e75efd2989985f96d1d5db
Cr-Commit-Position: refs/heads/master@{#412611}

Powered by Google App Engine
This is Rietveld 408576698