gecko-dev/mobile/android/components/extensions
Andrew Swan 30deceecf8 Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.

Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.

Also added a callOnClose for SingletonEventManager when the last listener
is removed.

MozReview-Commit-ID: ATHO97dWf3X

--HG--
extra : rebase_source : bf02d79e3fbab84892be8a7e52ea7a1caf2e003d
2017-01-26 20:00:33 -08:00
..
schemas Bug 1287007 - Require "async" in schemas to match name r=billm 2016-09-02 03:37:55 -07:00
test/mochitest Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
.eslintrc.js Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
ext-pageAction.js Bug 1203330 Part 1 Fix SingletonEventManager r=kmag 2017-01-26 20:00:33 -08:00
extensions-mobile.manifest Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag 2016-07-22 12:44:40 -07:00
jar.mn Bug 1267346 - Implement chrome.PageAction.hide on Android. r=kmag 2016-05-13 15:52:24 -07:00
moz.build Backed out 2 changesets (bug 1296900) for mochitest failures in test_ext_all_apis.html a=backout 2016-09-23 16:15:05 -07:00