gecko-dev/testing/mochitest
Masayuki Nakano 4101b26261 Bug 1610264 - part 2: Make synthesizePlainDragAndDrop() stop dispatching drop event if dragover event listener sets drop effect to none r=smaug
`drop` event shouldn't be fired when drop target does not accept the data
at last `dragover` handling.

This patch makes `synthesizePlainDragAndDrop()` stop dispatching `drop` event
if last `dragover` event's `dataTransfer.dropEffect` is `none`.  In strictly
speaking, it should refer `nsIDragSession::canDrop`.  However, the value is
unstable only on Linux.  The reason must be that only GTK widget manages
`canDrop` state by itself.  Therefore, this patch directly uses the
`dataTransfer.dropEffect` value instead.

Differential Revision: https://phabricator.services.mozilla.com/D60476

--HG--
extra : moz-landing-system : lando
2020-01-24 07:43:20 +00:00
..
baselinecoverage Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown 2019-12-02 19:16:22 +00:00
BrowserTestUtils Bug 1603272: List installed site specific browsers in the app menu. r=Gijs 2019-12-23 18:58:03 +00:00
chrome Bug 1605918 - Get rid of synthesizeDragStart() in EventUtils.js r=smaug 2019-12-27 16:25:24 +00:00
dynamic
embed
manifests
MochiKit
pywebsocket
ssltunnel Bug 1592175 - Enable TLS session tickets in ssltunnel r=keeler 2019-10-30 21:26:38 +00:00
static
tests Bug 1610264 - part 2: Make synthesizePlainDragAndDrop() stop dispatching drop event if dragover event listener sets drop effect to none r=smaug 2020-01-24 07:43:20 +00:00
__init__.py
api.js
bisection.py
browser-harness.xhtml Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown 2019-12-02 19:16:22 +00:00
browser-test.js Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre 2020-01-21 21:32:28 +00:00
chrome-harness.js
chunkifyTests.js
document-builder.sjs Bug 1601733 - add sjs script into test suite that generates a document from code snippet r=mconley 2020-01-08 18:41:01 +00:00
favicon.ico
harness.xhtml Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown 2019-12-02 19:16:22 +00:00
leaks.py Bug 1592297 - Remove MOZ_QUIET and disable this output by default. r=mccr8,jdescottes 2019-12-02 15:41:35 +00:00
mach_commands.py Bug 1590857 - Don't prompt to install Android app if the user is running 'mach install'. r=gbrown 2019-11-25 22:17:59 +00:00
mach_test_package_commands.py
manifest.json
manifest.webapp
manifestLibrary.js
mochitest_options.py Bug 1604001 - Add the missing process type of the fork server for tests. r=gsvelto 2019-12-19 15:50:03 +00:00
mochitest-e10s-utils.js
moz.build Bug 1601733 - add sjs script into test suite that generates a document from code snippet r=mconley 2020-01-08 18:41:01 +00:00
pywebsocket_wrapper.py
README.txt
redirect.html Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown 2019-12-02 19:16:22 +00:00
runjunit.py Bug 1608560 - Use androidx.test instead of android-support r=geckoview-reviewers,aklotz,nalexander 2020-01-13 21:36:22 +00:00
runtests.py Bug 1608831 - Use a distinct profile category for geckoview-junit tests; r=snorp 2020-01-13 20:22:02 +00:00
runtestsremote.py
schema.json
server.js
shutdown-leaks-collector.js
ShutdownLeaksCollector.jsm
start_desktop.js

See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.