gecko-dev/toolkit/components/satchel
Masayuki Nakano abe138f771 Bug 1504911 - part 1: Make all "input" event dispatcher in C++ use new utility method r=smaug
Currently, a lot of code dispatch "input" event and some of them dispatch
"input" event with wrong interface and/or values.  Therefore this patch
creates nsContentUtils::DispatchInputEvent() to make all of them dispatch
correct event.

Unfortunately, due to bug 1506439, we cannot set pointer to refcountable
classes of MOZ_CAN_RUN_SCRIPT method to nullptr.  Therefore, this patch
creates temporary RefPtr<TextEditor> a lot even though it makes damage to
the performance if it's in a hot path.

This patch makes eEditorInput event dispatched with
InternalEditorInputEvent when "input" event should be dispatched with
dom::InputEvent.  However, this patch uses WidgetEvent whose message is
eUnidentifiedEvent and setting WidgetEvent::mSpecifiedEventType to
nsGkAtoms::oninput when "input" event should be dispatched with
dom::Event because we need to keep that eEditorInput and
InternalEditorInputEvent are mapped each other.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 03:59:02 +00:00
..
test Bug 1504911 - part 1: Make all "input" event dispatcher in C++ use new utility method r=smaug 2018-11-21 03:59:02 +00:00
.eslintrc.js Bug 1486739 - Enable ESLint rule comma-dangle for browser/, services/, taskcluster/ and toolkit/ directories. r=mossop 2018-08-31 06:06:08 +00:00
AutoCompletePopup.jsm Bug 1499581 - Autofill search engine aliases in the address bar when '@' is typed as the first character r=mak 2018-10-19 16:08:26 +00:00
FormHistory.jsm Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8 2018-04-24 20:18:09 -07:00
FormHistoryStartup.js Bug 1477432 - Part 2: Avoid using nsIJSID in GenerateQI, and produce better diagnostics, r=kmag 2018-11-16 17:27:31 -05:00
formSubmitListener.js Bug 1484415: Blocklist PrivateBrowsingUtils.jsm at content process startup. r=florian 2018-08-17 23:38:40 -07:00
jar.mn
moz.build
nsFormAutoComplete.js Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag 2018-08-02 23:49:09 -04:00
nsFormAutoCompleteResult.jsm Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer 2018-07-25 11:00:35 +01:00
nsFormFillController.cpp Bug 1493737 - Fix many trivial calls to do_QueryInterface r=smaug 2018-10-01 21:38:01 +00:00
nsFormFillController.h Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN 2018-06-22 12:37:09 +02:00
nsIFormAutoComplete.idl Bug 1418078 - Convert XPIDL, C++ users of nsIDOMHTMLInputElement. r=bz 2018-04-18 22:35:09 +02:00
nsIFormFillController.idl Bug 1418078 - Convert XPIDL, C++ users of nsIDOMHTMLInputElement. r=bz 2018-04-18 22:35:09 +02:00
nsIInputListAutoComplete.idl Bug 1418078 - Convert XPIDL, C++ users of nsIDOMHTMLInputElement. r=bz 2018-04-18 22:35:09 +02:00
nsInputListAutoComplete.js Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer 2018-07-25 11:00:35 +01:00
satchel.manifest
towel