gecko-dev/toolkit
Jan-Erik Rediger dee16f4e92 Bug 1460400 - Don't enable dynamic builtin events on registration. r=chutten
This makes sure dynamic builtin events follow the same semantics as static builtin events.
On registration of the event the category is stored, but not enabled.
For fully-dynamic events, e.g. those registered by addons, the category
is enabled immediately (and can't be disabled).

This removes now-unused type definitions and switches from a map to a
simple set to store the category names.
The value stored in the map previously was not used at all.
In theory the map was effectively immutable after initialization, but
the check was only forced in debug anyway.
Now the set is mutable, but is only mutated in exactly 2 places.

MozReview-Commit-ID: 8tLEVXzHuHw

--HG--
extra : rebase_source : c21ebd5718f895ff8a06def95265a2c1c5930521
2018-05-14 12:31:30 +02:00
..
components Bug 1460400 - Don't enable dynamic builtin events on registration. r=chutten 2018-05-14 12:31:30 +02:00
content Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs 2018-05-08 18:36:22 -07:00
crashreporter Bug 1433968 - Add CrashReporterService for GeckView r=jchen 2018-05-10 16:42:20 -05:00
forgetaboutsite Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
library Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya 2018-05-10 12:11:51 +12:00
locales Bug 1435875 - Make about:studies translatable r=flod,Gijs,mythmon 2018-05-08 13:32:51 +01:00
modules Bug 1461449 - Add password manager and form autofill preferences to about:support. r=sfoster 2018-05-14 13:13:06 -07:00
mozapps Merge inbound to mozilla-central. a=merge 2018-05-16 13:00:51 +03:00
pluginproblem
profile Bug 1459985 - Include stringbundle Custom Element registration inside profile manager;r=mossop 2018-05-08 09:52:06 -07:00
system Bug 1456863 - Backed out bug 356831 (changeset 204bb43af943) for leaks r=me 2018-04-30 15:34:39 +02:00
themes Bug 1459646 - Always flip the resizer with CSS transform r=dao 2018-05-07 15:05:26 -07:00
xre Bug 1430023 - Get rid of some remaining localstore.rdf code. r=mossop 2018-05-09 10:49:35 +02:00
.eslintrc.js bug 1442407 - increase eslint complexity level from 44 to 45 due to backout that reverted code that has a complexity level of 45. r=bustage CLOSED TREE 2018-03-01 15:35:43 -08:00
moz.build Bug 1456863 - Backed out bug 356831 (changeset 204bb43af943) for leaks r=me 2018-04-30 15:34:39 +02:00
moz.configure Bug 1460367 - move audio sample-related settings to moz.configure; r=ted.mielczarek,nalexander 2018-05-09 17:26:31 -04:00
nss.configure Bug 1446809 - Remove some b2g leftover in the build r=glandium 2018-03-20 10:46:23 +01:00
toolkit.mozbuild Bug 833098: Part 1 - Remove dead code in xpfe directory viewer. r=Mossop 2018-04-28 21:28:03 -07:00