зеркало из https://github.com/mozilla/gecko-dev.git
0a74bf0038
All usage of `synthesizeDragStart()` is, starting drag, cancel `dragstart`, and finally compares `dataTransfer` items and given expected data. So, we can make the users use `synthesizePlainDragAndDrop()` instead. It's better API because it computes position of mouse operations at runtime and checks whether the drag start was succeeded with optional logging feature (i.e., it's easier to debug of intermittent failures). This patch creates `synthesizePlainDragAndCancel()` for convenience. It handles `dragstart` instead of the callers. Differential Revision: https://phabricator.services.mozilla.com/D58214 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
test-dir | ||
chrome.ini | ||
test_chromeGetTestFile.xhtml | ||
test_sample.xhtml | ||
test_sanityEventUtils.xhtml | ||
test_sanityException.xhtml | ||
test_sanityException2.xhtml | ||
test_sanityManifest.xhtml | ||
test_sanityManifest_pf.xhtml | ||
test_sanityPluginUtils.html | ||
test_tasks_skip.xhtml | ||
test_tasks_skipall.xhtml |