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

Issue 2244333004: Use document.ElementFromPoint instead of eventsender. (Closed)

Created:
4 years, 4 months ago by sivag
Modified:
4 years, 4 months ago
Reviewers:
Srirama, fs
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use document.ElementFromPoint instead of eventsender. This patch takes care of TODO to replace eventsender with document.ElementFromPoint. BUG=637859 Committed: https://crrev.com/50cc56a7af56811b317d2af42d9f22fc4ffba3e0 Cr-Commit-Position: refs/heads/master@{#412801}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed test as per the comments. #

Total comments: 4

Patch Set 3 : Test changes as per comments #

Patch Set 4 : Changed as per review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -25 lines) Patch
M third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html View 1 2 3 1 chunk +21 lines, -25 lines 1 comment Download

Messages

Total messages: 15 (5 generated)
sivag
@fs, ptal..
4 years, 4 months ago (2016-08-17 08:18:03 UTC) #3
fs
https://codereview.chromium.org/2244333004/diff/1/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html File third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html (right): https://codereview.chromium.org/2244333004/diff/1/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html#newcode18 third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html:18: document.elementFromPoint(x, y).dispatchEvent(mouseEvent); I'd suggest just returning the result of ...
4 years, 4 months ago (2016-08-17 11:26:22 UTC) #4
sivag
@fs, ptal.. https://codereview.chromium.org/2244333004/diff/1/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html File third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html (right): https://codereview.chromium.org/2244333004/diff/1/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html#newcode18 third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html:18: document.elementFromPoint(x, y).dispatchEvent(mouseEvent); On 2016/08/17 11:26:22, fs wrote: ...
4 years, 4 months ago (2016-08-18 06:39:43 UTC) #5
Srirama
https://codereview.chromium.org/2244333004/diff/20001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html File third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html (right): https://codereview.chromium.org/2244333004/diff/20001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html#newcode15 third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html:15: return coords == document.elementFromPoint(x, y).coords; i think what fs ...
4 years, 4 months ago (2016-08-18 07:09:44 UTC) #6
fs
https://codereview.chromium.org/2244333004/diff/20001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html File third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html (right): https://codereview.chromium.org/2244333004/diff/20001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html#newcode15 third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html:15: return coords == document.elementFromPoint(x, y).coords; On 2016/08/18 at 07:09:44, ...
4 years, 4 months ago (2016-08-18 07:54:45 UTC) #7
sivag
ptal.. https://codereview.chromium.org/2244333004/diff/20001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html File third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html (right): https://codereview.chromium.org/2244333004/diff/20001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html#newcode15 third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html:15: return coords == document.elementFromPoint(x, y).coords; On 2016/08/18 07:09:44, ...
4 years, 4 months ago (2016-08-18 09:07:41 UTC) #8
fs
lgtm https://codereview.chromium.org/2244333004/diff/60001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html File third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html (right): https://codereview.chromium.org/2244333004/diff/60001/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html#newcode15 third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html:15: equals ? assert_equals(area, document.elementFromPoint(x, y)) What I had ...
4 years, 4 months ago (2016-08-18 09:35:56 UTC) #9
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/2244333004/60001
4 years, 4 months ago (2016-08-18 09:36:44 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-18 12:11:29 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 12:15:18 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/50cc56a7af56811b317d2af42d9f22fc4ffba3e0
Cr-Commit-Position: refs/heads/master@{#412801}

Powered by Google App Engine
This is Rietveld 408576698