[dragdrop] Make the drag drop test event helper async
Dispatch drag test events in different phases (like a browser) - simulate using an idle callback request Check the event dispatch result in each event phase - fail if any of these dispatch calls fail Use source and target for variables and concepts - drag drop is spec-ed in terms of sources and targets Don't send a dragEnd event if we are skipping the drop event - this to match what a browser would do in this case Update the Closure markup and comments - skipDrop is no longer optional (so we can go async) No change in behavior: existing transfer tests transferDragAndDrop and transferDragAndHover should work as before. Bug: 1062902 Change-Id: Ia65b517ae5854f8abd92fe908a457ec72497b156 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274125Reviewed-by:Alex Danilo <adanilo@chromium.org> Commit-Queue: Alex Danilo <adanilo@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Auto-Submit: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#783861}
Showing
Please register or sign in to comment