gecko-dev/widget
Michael Layzell 12717ff1a6 Bug 1352852 - Add dummy data to the DataTransfer when dragging a draggable object, r=enndeakin
When dragging a `draggable=true` HTML DOM node, if no data is added to the
DataTransfer during the DragStart event, we currently cancel the drag. This is
inconsistent with Chrome's behaviour.

This patch adds a chrome-only (hidden from content) item to the DataTransfer:
application/x-moz-dummy-data. This data is added only when no other data has
been added to the DataTransfer, and the target of the dragstart event was a
draggable=true HTML DOM node.

This hidden node allows for the drag event to complete successfully, while
appearing the same as Chrome's behavior to content scripts.

MozReview-Commit-ID: HVqEr7aR6DD
2017-05-11 10:09:14 -04:00
..
android Bug 1354853 - Avoid thread racing on Androidridge instance. r=jolin, r=jchen 2017-05-09 15:05:27 +08:00
cocoa Bug 1348050 - Part 3: Mark channel as urgent-start for loading image. r=baku,mayhemer 2017-04-25 09:17:38 +08:00
crashtests Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert 2017-03-23 22:11:23 -07:00
gonk Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange. 2017-04-27 07:36:19 +10:00
gtk Bug 1353938 - Add a basic clipboard for headless. 2017-04-21 15:21:51 -07:00
gtkxtbin Bug 1355089 - add BUG_COMPONENT to widget/* files. r=mstange,jimm 2017-04-14 05:54:36 -04:00
headless Bug 1353938 - Add a basic clipboard for headless. 2017-04-21 15:21:51 -07:00
reftests Bug 1351548 - Remove reftest-stylo.lists. r=bholley 2017-04-28 11:15:58 +08:00
tests Bug 1217700 part.4 Add automated tests for IMEContentObserver r=m_kato 2017-04-19 21:57:58 +09:00
uikit merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-04-14 23:56:10 +02:00
windows Revert to synchronous resizes when the DWM is disabled. (bug 1363122, r=bas) 2017-05-10 10:48:16 -07:00
x11 Bug 1355089 - add BUG_COMPONENT to widget/* files. r=mstange,jimm 2017-04-14 05:54:36 -04:00
xremoteclient Bug 1355089 - add BUG_COMPONENT to widget/* files. r=mstange,jimm 2017-04-14 05:54:36 -04:00
BasicEvents.h Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug 2017-04-04 15:36:22 +03:00
CommandList.h
CompositorWidget.cpp
CompositorWidget.h
ContentCache.cpp
ContentCache.h
ContentEvents.h Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug 2017-04-04 15:36:22 +03:00
EventClassList.h Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug 2017-04-04 15:36:22 +03:00
EventForwards.h
EventMessageList.h Bug 1327798 - Part 1. PasteNoFormatting shouldn't set text/html to clipboard event on paste. r=enndeakin 2017-02-22 18:34:45 +09:00
FontRange.h
GfxDriverInfo.cpp
GfxDriverInfo.h
GfxInfoBase.cpp Bug 1349476 - Remove LayersBackend::LAYERS_D3D9 type r=mattwoodrow 2017-03-23 11:00:41 +09:00
GfxInfoBase.h Bug 1348414 Always snapshot after no more paints are pending if WR is enabled. r=mattwoodrow 2017-03-22 12:20:00 -07:00
GfxInfoCollector.cpp
GfxInfoCollector.h
GfxInfoWebGL.cpp
GfxInfoWebGL.h
GfxInfoX11.cpp Bug 1341959: Part 1. Allow WebGL2 to be blocked separately from WebGL overall. r=mchang 2017-03-02 15:48:06 -05:00
GfxInfoX11.h
IMEData.h Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato 2017-04-15 01:35:58 +09:00
InProcessCompositorWidget.cpp
InProcessCompositorWidget.h
InputData.cpp Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats 2017-04-20 15:15:14 -07:00
InputData.h Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats 2017-04-20 15:15:14 -07:00
LSBUtils.cpp
LSBUtils.h
LookAndFeel.h
MiscEvents.h
MouseEvents.h
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h Bug 1339509 Map ISO_Left_Tab to DOM Tab key r=karlt 2017-02-17 16:47:35 +09:00
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh
PluginWidgetProxy.cpp Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm 2017-02-09 11:53:50 -05:00
PluginWidgetProxy.h Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm 2017-02-09 11:53:50 -05:00
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.cpp Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato 2017-04-15 01:35:58 +09:00
PuppetWidget.h Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato 2017-04-15 01:35:58 +09:00
Screen.cpp Bug 1352773 - Take into account DefaultScaleOverride in Screen::GetDefaultCSSScaleFactor. r=kanru 2017-04-05 22:11:34 +09:00
Screen.h Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley 2017-03-09 19:30:26 +08:00
ScreenManager.cpp Bug 1356023 - Remove nsIScreenManager.systemDefaultScale. r=jfkthame 2017-04-13 07:20:35 +09:00
ScreenManager.h Bug 1356023 - Remove nsIScreenManager.systemDefaultScale. r=jfkthame 2017-04-13 07:20:35 +09:00
SharedWidgetUtils.cpp
SystemTimeConverter.h
TextEventDispatcher.cpp Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato 2017-04-15 01:35:58 +09:00
TextEventDispatcher.h Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato 2017-04-15 01:35:58 +09:00
TextEventDispatcherListener.h Bug 1296220 Rename nsIMEUpdatePreference to mozilla::widget::IMEUpdatePreference r=m_kato 2017-04-11 21:24:55 +09:00
TextEvents.h Bug 1347073 Get rid of UIEvent.isChar since it's not initialized properly on most platforms and the other browsers don't support this r=smaug 2017-03-14 18:29:39 +09:00
TextRange.h
TouchEvents.h
VsyncDispatcher.cpp Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange. 2017-04-27 07:36:19 +10:00
VsyncDispatcher.h
WidgetEventImpl.cpp Bug 1340085 - [Pointer Event] Stop firing pointer events after firing eTouchCancel. f=smaug. r=kats 2017-02-16 15:05:09 +08:00
WidgetMessageUtils.h
WidgetTraceEvent.h
WidgetUtils.cpp
WidgetUtils.h
WindowSurface.h
WindowSurfaceX11SHM.cpp
WindowSurfaceX11SHM.h
moz.build Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
nsAppShellSingleton.h
nsAutoRollup.cpp Bug 1343977 - Ensure that synthetic mouseclicks generated from touch gestures don't reopen rollups. r=botond,enndeakin+6102 2017-03-13 10:44:59 -04:00
nsAutoRollup.h Bug 1343977 - Ensure that synthetic mouseclicks generated from touch gestures don't reopen rollups. r=botond,enndeakin+6102 2017-03-13 10:44:59 -04:00
nsBaseAppShell.cpp
nsBaseAppShell.h
nsBaseClipboard.cpp
nsBaseClipboard.h
nsBaseDragService.cpp Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam 2017-04-30 17:30:08 +02:00
nsBaseDragService.h
nsBaseFilePicker.cpp Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
nsBaseFilePicker.h Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
nsBaseScreen.cpp Bug 1194751 - Part 2. Remove unused nsIScreen::LockMinimumBrightness and related methods. r=snorp 2017-03-09 19:16:29 +08:00
nsBaseScreen.h Bug 1194751 - Part 3. Remove unused nsIScreen::rotation attribute. r=jimm 2017-03-09 19:16:33 +08:00
nsBaseWidget.cpp Back out bug 1353060 (3 csets) for possibly causing a checkerboarding regression. r=backout 2017-05-09 13:23:20 -04:00
nsBaseWidget.h merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
nsClipboardHelper.cpp
nsClipboardHelper.h
nsClipboardProxy.cpp
nsClipboardProxy.h
nsColorPickerProxy.cpp
nsColorPickerProxy.h
nsContentProcessWidgetFactory.cpp Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug 2017-03-17 11:01:57 +08:00
nsDeviceContextSpecProxy.cpp
nsDeviceContextSpecProxy.h
nsDragServiceProxy.cpp
nsDragServiceProxy.h
nsFilePickerProxy.cpp Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
nsFilePickerProxy.h Bug 1343212 - FilePicker child actor must not send Open() if it has been already distroyed, r=mccr8 2017-03-30 19:55:55 +02:00
nsGUIEventIPC.h Bug 1296220 Rename nsIMEUpdatePreference to mozilla::widget::IMEUpdatePreference r=m_kato 2017-04-11 21:24:55 +09:00
nsHTMLFormatConverter.cpp
nsHTMLFormatConverter.h
nsIAppShell.idl
nsIApplicationChooser.idl
nsIBaseWindow.idl
nsIBidiKeyboard.idl
nsIClipboard.idl
nsIClipboardDragDropHookList.idl
nsIClipboardDragDropHooks.idl
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.h
nsIDisplayInfo.idl
nsIDragService.idl Bug 606885 - Fire drag events with keyboard modifiers. r=enn 2017-02-17 11:29:42 +08:00
nsIDragSession.idl
nsIFilePicker.idl Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
nsIFormatConverter.idl
nsIGfxInfo.idl Bug 1348414 Always snapshot after no more paints are pending if WR is enabled. r=mattwoodrow 2017-03-22 12:20:00 -07:00
nsIGfxInfoDebug.idl
nsIIdleService.idl
nsIIdleServiceInternal.idl
nsIJumpListBuilder.idl
nsIJumpListItem.idl
nsIKeyEventInPluginCallback.h
nsIMacDockSupport.idl
nsIMacWebAppUtils.idl
nsINativeMenuService.h
nsIPluginWidget.h
nsIPrintDialogService.h
nsIPrintSession.idl
nsIPrintSettings.idl
nsIPrintSettingsService.idl
nsIPrintSettingsWin.idl
nsIPrinterEnumerator.idl
nsIRollupListener.h
nsIScreen.idl Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley 2017-03-09 19:30:26 +08:00
nsIScreenManager.idl Bug 1356023 - Remove nsIScreenManager.systemDefaultScale. r=jfkthame 2017-04-13 07:20:35 +09:00
nsISound.idl
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITransferable.idl Bug 1352852 - Add dummy data to the DataTransfer when dragging a draggable object, r=enndeakin 2017-05-11 10:09:14 -04:00
nsIWidget.h Don't synchronously composite when resizing widgets on Windows. (bug 1361257, r=bas) 2017-05-05 01:10:48 -07:00
nsIWidgetListener.cpp
nsIWidgetListener.h
nsIWinTaskbar.idl
nsIWindowsUIUtils.idl
nsIdleService.cpp
nsIdleService.h
nsNativeTheme.cpp Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam 2017-04-30 17:30:08 +02:00
nsNativeTheme.h
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrintOptionsImpl.cpp
nsPrintOptionsImpl.h
nsPrintSession.cpp
nsPrintSession.h
nsPrintSettingsImpl.cpp
nsPrintSettingsImpl.h
nsShmImage.cpp Bug 1321129 - make nsShmImage stride compatible with XShm. r=karlt 2017-02-21 10:00:52 -05:00
nsShmImage.h Bug 1321129 - make nsShmImage stride compatible with XShm. r=karlt 2017-02-21 10:00:52 -05:00
nsTransferable.cpp
nsTransferable.h
nsWidgetInitData.h
nsWidgetsCID.h Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug 2017-03-17 11:01:57 +08:00
nsXPLookAndFeel.cpp Bug 1357307 - Make sure gfxPrefs instance is created before accessing it. r=milan 2017-05-05 14:22:51 +08:00
nsXPLookAndFeel.h Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted 2017-04-04 10:22:00 -04:00