gecko-dev/widget/tests
Masayuki Nakano 474225038e Bug 998941 - part 2-2: Make HTMLEditor set InputEvent.dataTransfer when InputEvent.inputType is "insertFromPaste", "insertFromDrop" or "insertReplacementText" r=smaug,m_kato
InputEvent.dataTransfer should be set to non-null when InputEvent.inputType
is "insertFromPaste", "insertFromDrop" or "insertReplacementText" and
editor is an HTMLEditor instance:
https://rawgit.com/w3c/input-events/v1/index.html#dfn-data
https://w3c.github.io/input-events/#dfn-data

("insertTranspose" and "insertFromYank" are not currently supported on Gecko.)

This patch makes nsContentUtils::DispatchInputEvent() take dataTransfer value
and EditorBase set it via AutoEditActionDataSetter like data value.

However, we need to create other constructors of DataTransfer to create its
read-only instances initialized with nsITransferable or nsAString.  This will
be implemented by the following patch.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:33:42 +00:00
..
unit Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
.eslintrc.js
bug586713_window.xul
chrome_context_menus_win.xul
chrome.ini
empty_window.xul
file_bug596600.html
file_input_events_on_deactive_window.html
file_secure_input.html
mochitest.ini
moz.build
native_menus_window.xul
native_mouse_mac_window.xul
standalone_native_menu_window.xul
system_font_changes.xul
taskbar_previews.xul
test_AltGr_key_events_in_web_content_on_windows.html
test_assign_event_data.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_bug343416.xul
test_bug413277.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_bug428405.xul Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
test_bug429954.xul
test_bug444800.xul
test_bug466599.xul
test_bug478536.xul
test_bug485118.xul
test_bug517396.xul
test_bug522217.xul
test_bug538242.xul
test_bug565392.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_bug586713.xul
test_bug593307.xul
test_bug596600.xul Bug 1519905 - Always return false in NodeAllowsClickThrough for browser elements;r=mstange 2019-01-14 20:42:50 +00:00
test_bug673301.xul
test_bug760802.xul
test_bug1123480.xul Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
test_bug1151186.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_chrome_context_menus_win.xul
test_clipboard.xul
test_composition_text_querycontent.xul
test_imestate.html Bug 1521928 - Changing addObserver to removeObserver. r=Standard8 2019-02-18 13:55:06 +00:00
test_input_events_on_deactive_window.xul
test_key_event_counts.xul
test_keycodes.xul
test_keypress_event_with_alt_on_mac.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_mouse_scroll.xul
test_native_key_bindings_mac.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_native_menus.xul
test_native_mouse_mac.xul
test_panel_mouse_coords.xul
test_picker_no_crash.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_platform_colors.xul
test_plugin_input_event.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_plugin_scroll_consistency.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_position_on_resize.xul
test_scrollbar_colors.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_secure_input.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
test_sizemode_events.xul
test_standalone_native_menu.xul
test_system_font_changes.xul
test_system_status_bar.xul
test_taskbar_progress.xul
test_transferable_overflow.xul Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
test_wheeltransaction.xul
TestAppShellSteadyState.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
TestChromeMargin.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
utils.js
window_bug429954.xul
window_bug478536.xul
window_bug522217.xul
window_bug538242.xul
window_bug593307_centerscreen.xul
window_bug593307_offscreen.xul
window_composition_text_querycontent.xul Bug 998941 - part 2-2: Make HTMLEditor set InputEvent.dataTransfer when InputEvent.inputType is "insertFromPaste", "insertFromDrop" or "insertReplacementText" r=smaug,m_kato 2019-02-19 06:33:42 +00:00
window_imestate_iframes.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
window_mouse_scroll_win.html Bug 1521928 - Enable ESLint for widget (automatic changes). r=Standard8,jmathies 2019-02-14 20:20:20 +00:00
window_picker_no_crash_child.html
window_state_windows.xul
window_wheeltransaction.xul