Commit graph

14 commits

Author SHA1 Message Date
Kris Maglione
bb87bbc539 Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
MozReview-Commit-ID: KEQYq4nZbfk

--HG--
extra : source : c67309c62021bf173fc981634de54bc8e9c992ee
extra : histedit_source : d0449a21df83e392455466b7e7dac4e0521b5d50%2C3aec582f8a1389ae8b90efa76259d6df5269fd0d
2016-04-04 13:54:27 -07:00
Wes Kocher
912fe2afbf Backed out changeset c67309c62021 (bug 1258199) for xpcshell failures
MozReview-Commit-ID: FySkZPotDGU
2016-04-04 13:51:12 -07:00
Kris Maglione
11af2dd528 Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
MozReview-Commit-ID: KEQYq4nZbfk

--HG--
extra : rebase_source : d881f8a78b0c8081ed80e18477cc000017ab73b6
2016-03-28 17:21:06 +02:00
KuoE0
523a77c284 Bug 1254866 - ReferenceError: Cu is not defined in ext-i18n.js, r=kmag
MozReview-Commit-ID: 9LCxyoSWheT
2016-03-10 15:02:15 -08:00
bsilverberg
ad65868512 Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests
Rebase against fx-team, resolving some conflicts
Fix eslint errors/warnings

MozReview-Commit-ID: 52sZWsIHbl4

--HG--
extra : amend_source : 2339e42a83460682a8d6df206c10849b38a288eb
2016-02-25 07:29:09 -05:00
bsilverberg
c244ff7396 Bug 1246754 - Complete the implementation of chrome.i18n.detectLanguage, r=kmag
MozReview-Commit-ID: 7cvJj0QP5XO

--HG--
extra : rebase_source : 47b4a7bfdbae2ed0981508fa6854417015d8ceed
2016-02-23 22:01:11 -05:00
Phil Ringnalda
8c87e2d3d9 Back out 9466f6513f50 (bug 1213450) for timeouts in test_ext_i18n.html 2016-02-23 18:36:11 -08:00
bsilverberg
57e3f239dd Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests

MozReview-Commit-ID: EeuxXvg0l3M

--HG--
extra : commitid : IU9DPrAD0iJ
extra : rebase_source : f7e94a0eb892ecd8cd4d23f56a17f86318dd75f1
2016-02-18 08:59:57 -05:00
bsilverberg
04f5066ce6 Bug 1246748 - Complete the implementation of chrome.i18n.getUILanguage, r=kmag
Implement chrome.i18n.getUILanguage including tests

Add API to content scripts

MozReview-Commit-ID: IcDlLj8Et73

--HG--
extra : rebase_source : 9996c7da79d3a132bce73b167dfea7031083ad3a
2016-02-18 07:50:17 -05:00
Bill McCloskey
9e01a18c0b Bug 1208257 - [webext] i18n.json (r=kmag) 2015-12-23 08:57:13 -08:00
Kris Maglione
b729a30707 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.

--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Bill McCloskey
b1a00d7c72 Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
03d48d1951 Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Bill McCloskey
14e7d8ca0a Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00