Commit Graph

27 Commits

Author SHA1 Message Date
Michael Kelly
0aff6a072e Bug 1359655 - Sync shield-recipe-client from GitHub (commit e37261c) r=Gijs
MozReview-Commit-ID: CxzS2AtSZSQ
2017-04-27 12:30:07 -07:00
Joel Maher
12505893fc Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Paul Bignier
c1fcb05d9d Bug 1352802 - Typo fixes around 'accessible'. r=MattN
MozReview-Commit-ID: 27CyNOMXkRq
2017-04-03 09:47:00 -07:00
Mike Cooper
e7ae6e7169 Bug 1351465 - shield-recipe-client: Unconditionally set up logging in bootstrap r=Gijs
MozReview-Commit-ID: 5W7UdpsLyYd
2017-03-29 13:49:37 -07:00
Mike Cooper
b16775b217 Bug 1349348 - Sync shield-recipe-client from GitHub (ded0b7). rs=Gijs r=Gijs
MozReview-Commit-ID: 4lN7IEUjuBr
2017-03-24 14:42:25 -07:00
Zibi Braniecki
e1617486a8 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Sebastian Hengst
1f6ea2382a Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
a56e4c7360 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N
2017-03-14 16:09:54 -07:00
Mythmon
f42d4b51b4 Bug 1336501 - Sync shield-recipe-client from GitHub (ad0f45e) r=Gijs
MozReview-Commit-ID: KiDjjs2qpk5
2017-02-08 09:51:55 -08:00
Mark Banner
ba10e01046 Bug 1336070 - Enable eslint no-undef for browser/, apart from components/ and base/content/. r=mossop
MozReview-Commit-ID: CJtpm8zlLxa
2017-02-02 09:08:42 +00:00
Mythmon
6a72ffe455 Bug 1325409 - shield-recipe-client: Move event emitter out of sandbox r=Gijs 2017-01-30 10:38:02 -08:00
Mythmon
a7d004240c No bug - Update shield-recipe-client from GitHub r=Gijs 2017-01-27 10:22:44 -08:00
Mythmon
9f1b465ebf Bug 1325409 - shield-recipe-client: Remove unnecessary cleanup r=mythmon
See also: https://github.com/mozilla/normandy/pull/443/files

MozReview-Commit-ID: 6LdFs4YdfMs
2017-01-23 15:26:10 -08:00
Mythmon
b68b143dc2 Bug 1331705 - shield-recipe-client: Do not use an XRay-ed Promise during recipe execution, r=Gijs
MozReview-Commit-ID: DEM6lUiCHnj
2017-01-17 11:27:40 -08:00
Wes Kocher
55f5f6e9b0 Backed out changeset ce90a9d52e86 (bug 1331705) for eslint failures a=backout
MozReview-Commit-ID: KaCGMDAwWzz
2017-01-17 17:24:09 -08:00
Mythmon
d1bb2f4471 Bug 1331705 - shield-recipe-client: Do not use an XRay-ed Promise during recipe execution, r=Gijs
MozReview-Commit-ID: DEM6lUiCHnj
2017-01-17 11:27:40 -08:00
Gijs Kruitbosch
e7055beaab Bug 1330954 - fix leakiness of SHIELD system add-on and re-enable test, r=kmag,mythmon
There are 3 issues this tackles:
- we were keeping a reference to the notification we added (this.notice),
  which kept windows alive.
- we had the CleanupManager keep a reference to our close method, which kept
  a reference to us, which kept a reference to the window.
- the fact that we use timeouts to call this.close() in 2 places meant
  this.close would get called multiple times, which meant we errored out on
  later occasions, because various things had been nulled out. This tidies up
  the timeouts when cleanup is called to avoid re-entrancy/errors/leaks.

MozReview-Commit-ID: EYvK7bQEh3X
2017-01-13 13:42:47 +00:00
Mythmon
b396ac609e Bug 1326225 - Fix un-imported fetch use in NormandyApi.jsm r=Gijs
See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Mochitest#How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F
for info on how the test server was set up for testing that fetch was
used correctly.

r=Gijs

MozReview-Commit-ID: CNH6SQ6gEGU
2017-01-03 09:41:51 -08:00
Iris Hsiao
1cef2290f6 Backed out changeset 10565a2aa201 (bug 1326225) for mochitest browser chrome failures
CLOSED TREE
2017-01-12 10:54:23 +08:00
Mythmon
1f0715f987 Bug 1326225 - Fix un-imported fetch use in NormandyApi.jsm r=Gijs
See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Mochitest#How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F
for info on how the test server was set up for testing that fetch was
used correctly.

r=Gijs

MozReview-Commit-ID: CNH6SQ6gEGU
2017-01-03 09:41:51 -08:00
Mythmon
f477b9ba43 Bug 1325797 - shield-recipe-client: Don't fail if the dev-mode pref is missing on startup r=rhelmer
MozReview-Commit-ID: CTse7NSUgF2
2017-01-04 11:22:24 -08:00
Andrew Halberstadt
6abf031bc5 Bug 1325148 - Temporarily disable mochitest leakchecking for directories containing known leaks, r=jmaher
Leak checking in mochitest was failing to turn the jobs orange for a period of time. Several leaks slipped
through in the interim. In order to land the fix ASAP to avoid further bustage, these leaks are being
whitelisted. See the patch or the dependency graph of bug 1325148 for the list of leaks/bugs that are being
disabled.

While these bugs won't show up in treeherder, they are a priority to fix, as they could represent leaks that
are already landed in the code.

MozReview-Commit-ID: JY7Gpvswp4r
2016-12-21 16:22:50 -05:00
Sebastian Hengst
1262e48c95 Backed out changeset 95ad94f3ef4b (bug 1325148) 2016-12-27 15:14:13 +01:00
Andrew Halberstadt
0c454b53c1 Bug 1325148 - Temporarily disable mochitest leakchecking for directories containing known leaks, r=jmaher
Leak checking in mochitest was failing to turn the jobs orange for a period of time. Several leaks slipped
through in the interim. In order to land the fix ASAP to avoid further bustage, these leaks are being
whitelisted. See the patch or the dependency graph of bug 1325148 for the list of leaks/bugs that are being
disabled.

While these bugs won't show up in treeherder, they are a priority to fix, as they could represent leaks that
are already landed in the code.

MozReview-Commit-ID: JY7Gpvswp4r
2016-12-21 16:22:50 -05:00
Mythmon
0a8023ce47 Bug 1308656 - Add shield-recipe-client as system add-on r=Gijs,rhelmer
MozReview-Commit-ID: KNTGKOFXDlH
2016-10-10 16:14:56 -07:00
Sebastian Hengst
1d4dfdf50e Backed out changeset a53f5aa00347 (bug 1308656) for syntax error in browser_dbg_searchbox-parse.js (line cut off). r=backout 2016-12-21 09:44:17 +01:00
Mythmon
8c64984947 Bug 1308656 - Add shield-recipe-client as system add-on r=Gijs,rhelmer
MozReview-Commit-ID: KNTGKOFXDlH
2016-10-10 16:14:56 -07:00