gecko-dev/accessible/jsat
Jim Chen e9532b9a3f Bug 1321418 - Use GekcoBundle events in GeckoApp/BrowserApp; r=snorp r=sebastian r=gbrown
Bug 1321418 - 1. Use GekcoBundle events in GeckoApp; r=snorp r=sebastian

Switch GeckoApp to using GeckoBundle events everywhere. UI or Gecko
events are used if the event requires the UI or Gecko thread,
respectively, and background events are used for all other events.

There are changes to some other Java classes, such as SnackbarBuilder
and GeckoAccessibility, due to the switch to GeckoBundle.

For "Snackbar:Show", we need the global EventDispatcher because the
event can be sent to both GeckoApp and GeckoPreferences. Howveer, we
only want one listener registered at the same time, so we register and
unregister in GeckoApp's and GeckoPreferences's onPause and onResume
methods.

Bug 1321418 - 2. Use appropriate JS EventDispatcher to send GeckoApp events; r=snorp r=sebastian

Change JS code that sends events to GeckoApp to use either the global
EventDispatcher or the per-window EventDispatcher.

"Session:StatePurged" is not used so it's removed. "Gecko:Ready" in
geckoview.js is not necessary because it's only used for GeckoApp, so
it's removed from geckoview.js.

Bug 1321418 - 3. Use GeckoBundle events in BrowserApp; r=snorp r=sebastian

Switch BrowserApp to using GeckoBundle events, in a similar vein as
GeckoApp. UI or Gecko events are used if the event handlers required UI
or Gecko thread, respectively, and background events are used for all
other events.

Some other Java classes also have to be modified as a result of
switching to GeckoBundle.

Bug 1321418 - 4. Use global EventDispatcher to send BrowserApp events; r=snorp r=sebastian

Change JS code that sends events to BrowserApp to use the global
EventDispatcher instead of "Messaging".

Bug 1321418 - 5. Update usages of events in tests; r=gbrown

Update cases where we use or wait for events in tests.
2016-12-09 12:32:45 -05:00
..
sounds
AccessFu.css Bug 1214398 - Add highlight box to doc body if it is available and set z-index. r=yzen 2015-10-13 14:03:00 +02:00
AccessFu.jsm Bug 1321418 - Use GekcoBundle events in GeckoApp/BrowserApp; r=snorp r=sebastian r=gbrown 2016-12-09 12:32:45 -05:00
Constants.jsm
content-script.js Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov 2016-08-09 15:38:54 -04:00
ContentControl.jsm Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov 2016-08-09 15:38:54 -04:00
EventManager.jsm Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov 2016-08-09 15:38:54 -04:00
Gestures.jsm Bug 1087608 - ensuring multitap gestures do not resolve to explore. r=eeejay 2016-03-30 11:56:14 -04:00
jar.mn
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
OutputGenerator.jsm Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov 2016-08-09 15:38:54 -04:00
PointerAdapter.jsm Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Presentation.jsm Bug 1220860 - fixing an error with getting documentElement on AccessFu stop. r=eeejay 2015-11-02 15:28:53 -08:00
Traversal.jsm Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov 2016-08-09 15:38:54 -04:00
Utils.jsm Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov 2016-08-09 15:38:54 -04:00