Commit Graph

6514 Commits

Author SHA1 Message Date
Alexandre Poirot
208511b0d3 Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
MozReview-Commit-ID: 49JI7NtLwKK
2017-04-27 17:58:09 +02:00
Carsten "Tomcat" Book
eb1595e913 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Andrew Swan
c899bf6de7 Bug 1359824 Only display error for disabled addons r=mossop
Also fixed some existing errors in the non-mpc browser test found
while working on this...

MozReview-Commit-ID: 7hcWfS5ZVLu
2017-04-26 10:47:28 -07:00
Andrew Swan
f5d842b8a7 Bug 1359476 Don't disable non-extensions due to MPC=false r=rhelmer
MozReview-Commit-ID: 9AHyWSbdwuk
2017-04-25 16:37:53 -07:00
Carsten "Tomcat" Book
00da9b8f70 merge autoland to mozilla-central a=merge 2017-04-26 08:40:02 +02:00
Aaron Klotz
46909150aa Bug 1359536: Fix incorrect ABI for js-ctypes declaration of GetVersionExW; r=mhowell
MozReview-Commit-ID: CyAnHFLwfrb
2017-04-25 12:29:20 -06:00
Aaron Klotz
0d59a92ab7 Bug 1358552: Fix incorrect ABI specification in js-ctypes declarations in toolkit; r=froydnj
MozReview-Commit-ID: JuNNtbNC5pe
2017-04-25 13:00:23 -06:00
Chris Peterson
e530c41979 Bug 1358947 - Make eslint "max-nested-callbacks" rule an error. r=standard8
eslint's default max-nested-callbacks threshold is 10, but now we make it an error. We could further lower the max-nested-callbacks threshold globally to 8, like browser/.eslintrc.js, but that would require adding suppression comments in (two) more .js test files. 10 seems good enough for now since it's the eslint default.

We need to specify max-nested-callbacks in accessible/.eslintrc because it doesn't inherit the mozilla/recommended rules.

Also bump the eslint-plugin-mozilla version because we modified the mozilla/recommended rules.

MozReview-Commit-ID: JA41vsi4U7j
2017-04-21 23:00:26 -07:00
Iris Hsiao
e76337ec39 Merge mozilla-central to mozilla-inbound 2017-04-24 12:04:12 +08:00
Sebastian Hengst
01abacfd1f Backed out changeset 9c407d9e588b (bug 1356828) for failing xpcshell's test_shutdown.js. r=backout 2017-04-23 22:57:34 +02:00
Kris Maglione
1049bf45e8 Bug 1356852: Avoid loading NetUtil just for newURI. r=rhelmer
MozReview-Commit-ID: CJl2Tw2fAAO
2017-04-15 19:25:08 -07:00
Kris Maglione
bbf13bf630 Bug 1356828: Don't call getAddonById from the Pocket bootstrap scope. r=rhelmer
MozReview-Commit-ID: DJM1dOIA7X4
2017-04-15 11:59:58 -07:00
Dan Banner
ac2e4edfba Bug 1351099 - Remove unused AddonLogging.jsm file r=rhelmer
MozReview-Commit-ID: B1mxqNZhpB
2017-04-19 16:28:41 +01:00
Andrew Swan
6e58337eed Bug 1355336 Recognize privileged extension signing certs r=mossop
MozReview-Commit-ID: ES2OSQTv9k8
2017-04-19 17:02:42 -07:00
Andrew Swan
8ed2669b29 Bug 1356462 Show a notification when non-MPC extensions are disabled r=mossop
MozReview-Commit-ID: 8KUhRe91AFt
2017-04-19 11:30:24 -07:00
Andrew Swan
e82b32238a Bug 1356462 Add per-extension notice for non-MPC disabling r=mossop
MozReview-Commit-ID: KQ69E7B4VPg
2017-04-20 21:00:19 -07:00
Kris Maglione
2a27aabf16 Bug 1356828: Don't call getAddonById from the Pocket bootstrap scope. r=rhelmer
MozReview-Commit-ID: DJM1dOIA7X4
2017-04-15 16:23:54 -07:00
Xiaoyin Liu
87bb3a7604 Bug 1350309 - Fix uninitialized variables in updatehelper.cpp r=rstrong
Originally |consent| and |secureDesktop| are always used even when |success| is FALSE, and |consent| and |secureDesktop| are uninitialized in this case. In this patch, |isUnpromptedElevation| is set only when |success| is TRUE.

MozReview-Commit-ID: Dik8NG7zcCa
2017-03-24 08:58:42 -04:00
Carsten "Tomcat" Book
665882cd85 merge mozilla-inbound to mozilla-central a=merge 2017-04-20 11:13:07 +02:00
Dave Townsend
65b96c274b Bug 1357804: Stop making metadata requests to AMO for system add-ons. r=rhelmer
MozReview-Commit-ID: 2TiAaNqdB3o
2017-04-19 13:25:40 -07:00
Zibi Braniecki
8c433fc56a Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Sebastian Hengst
017c2ee2bf Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki
64bae2dccf Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Felipe Gomes
f75515616b Bug 1351933 - Remove support for whitelisting addons for the e10s rollout. r=krizsa
MozReview-Commit-ID: CpTVIEIsb9U
2017-04-17 17:26:56 -03:00
Andrew Swan
12c011a9a4 Bug 1356027 Add pref to disable non-MPC extensions r=mossop
MozReview-Commit-ID: 9TdZf3hnLZl
2017-04-12 22:13:49 -07:00
Sebastian Hengst
d6ef5e1bc0 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-16 20:03:00 +02:00
Kris Maglione
953a579010 Bug 1356816: Follow-up: Fix xpcshell bustage. r=me
MozReview-Commit-ID: B8enqRATaag
2017-04-16 08:42:03 -07:00
Phil Ringnalda
a5f2b7a572 Backed out changeset e7c2fe034f25 (bug 1356816) for mochitest bustage 2017-04-15 21:42:59 -07:00
Kris Maglione
9eb8b7986d Bug 1356827: Don't load the blocklist service before we need it. r=rhelmer
MozReview-Commit-ID: EYkSgnOocWQ
2017-04-15 11:35:31 -07:00
Kris Maglione
b66b4819a3 Bug 1356821: Lazily create console object for bootstrap scopes. r=rhelmer
MozReview-Commit-ID: 1NGObNECE8
2017-04-15 11:03:34 -07:00
Kris Maglione
071cc27d73 Bug 1356816: Don't load Extension.jsm on startup just to set the browserUpdated flag. r=rhelmer
MozReview-Commit-ID: C0mtHeZ2cJ
2017-04-15 10:13:39 -07:00
Kris Maglione
26e85fd7b1 Bug 1356816: Don't load Extension.jsm on startup just to set the browserUpdated flag. r=rhelmer
MozReview-Commit-ID: C0mtHeZ2cJ
2017-04-15 10:13:39 -07:00
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
aca1103c68 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
4189eac09e Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
6c119a88d3 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Mark Banner
70f154a5ac Bug 1346825 - Disable browser_inlinesettings_browser.js on Windows due to highly frequent intermittent failures when legacy based system add-ons are present. rs=rhelmer.
MozReview-Commit-ID: BcB9iCm3gS5
2017-04-13 09:54:52 +01:00
Iris Hsiao
98dbf05642 merge autoland to mozilla-central a=merge 2017-04-14 17:09:58 +08:00
Wes Kocher
0fb3243c27 Merge m-c to inbound, a=merge 2017-04-13 17:33:39 -07:00
Wes Kocher
e18b7d684a Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Wes Kocher
d9500f35ca Backed out 4 changesets (bug 1346825) for being the likely cause of devtools bustage a=backout CLOSED TREE
Backed out changeset 80999e98d40b (bug 1346825)
Backed out changeset 426aa68b32f0 (bug 1346825)
Backed out changeset d4b155c9ee3d (bug 1346825)
Backed out changeset 81b1a2207776 (bug 1346825)
2017-04-13 11:23:18 -07:00
Zibi Braniecki
c59876e792 Bug 1354442 - Migrate DownloadUtils.jsm to use mozIntl.DateTimeFormat. r=mak
MozReview-Commit-ID: Ev0BUOtx4C8
2017-04-10 13:59:04 -07:00