Commit Graph

95 Commits

Author SHA1 Message Date
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Florian Quèze
3f662053f3 Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Francesco Lodolo (:flod)
f7e0cacf10 Bug 658191 - Fix plural form in Add-on installation messages r=aswan
addonsInstalled and addonsInstalledNeedsRestart currently abuse
plural forms, using the singular form to expose the name of the add-on.

While the first form is singular for English, it's used for other numbers
in other languages, and in others there's only one form available,
making these strings impossible to translate.

MozReview-Commit-ID: 6hVJnaqTGtc
2017-12-05 15:14:22 +01:00
Mark Banner
5ab2bd1b7a Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2
2017-11-28 19:21:33 +00:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Marco Castelluccio
7501412ad3 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs 2017-07-31 12:51:35 +02:00
Florian Quèze
f0035bea93 Bug 1381853 - lazy load browser-addons.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Doug Thayer
b3a36d4eb9 Bug 1359733 - (pt. 3) Pull out browser-addons.js badges r=aswan
We are moving app menu doorhangers and badges out from window-
specific code into a jsm, in order to simplify the work that
the new app udpate UI has to do. Since browser-addons.js also
consumes the badge system, this ensures that it also uses the
jsm store.

MozReview-Commit-ID: Fb5Fsja0RcA
2017-05-15 10:38:33 -07:00
Gijs Kruitbosch
6ecb91be3e Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S
2017-05-03 14:53:07 +01:00
Andrew Swan
904f337ff4 Bug 1344214 Update button in addon install doorhanger r=flod
MozReview-Commit-ID: 7bpbpNUfi5h
2017-04-12 15:43:34 -07:00
Mike de Boer
045c385607 Bug 1350053 - Part 1 - Change install flow of Light-weight Themes (LWT) to use PopupNotifications, instead of notification boxes. r=mossop
The newer Theming API follows the WebExtension install flow, which uses
PopupNotifications to request permission before installation, show progress and
notify upon install completion. This patch makes sure that older LWTs follow that
same flow.

MozReview-Commit-ID: C7X2si0a47J
2017-04-10 16:16:50 +02:00
Doug Thayer
a5b27a8e9b Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX
2017-03-21 13:50:09 -07:00
Mark Banner
1b6f3efb6e Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR
2017-02-22 17:02:59 +00:00
Andrew Swan
0aefbcf90e Bug 1256221 Remove close button from addon install popup r=florian
MozReview-Commit-ID: IbxVJFvBWSv
2016-12-01 11:53:03 -08:00
Jared Wein
796ea77fd8 Bug 864562 - Fix the tests and move more logic from JS to CSS now that the values exist as CSS Variables. r=mikedeboer
MozReview-Commit-ID: BuJdjtVBnin
2017-02-28 12:15:04 -05:00
Jared Wein
1b60a47ded Bug 864562 - Move remaining LWT inline styles to CSS variables. r=mikedeboer
MozReview-Commit-ID: 9ETddCw9w14
2017-02-22 14:13:09 -05:00
Jared Wein
606287c1d9 Bug 864562 - Declare lwtheme CSS in tabs.inc.css since we don't need to iterate rules anymore. r=MattN
MozReview-Commit-ID: 4N48zKJUVWs
2017-02-21 11:42:29 -05:00
Jared Wein
94ca039b29 Bug 864562 - Use CSS variables for lightweight theme styling. r=MattN
Original patch written by Raj Meghpara <meghpararajkumar@gmail.com>

MozReview-Commit-ID: 8z6tmUG0gdN
2017-02-21 11:33:21 -05:00
Sebastian Hengst
32dbb6e835 Backed out changeset 2dc596ad4240 (bug 864562) for failing browser_ext_themes_chromeparity.js. r=backout on a CLOSED TREE 2017-02-23 19:34:12 +01:00
Sebastian Hengst
debcda4ce8 Backed out changeset 2308f6c6fddf (bug 864562) 2017-02-23 19:33:37 +01:00
Sebastian Hengst
6083782839 Backed out changeset a99f7690feea (bug 864562) 2017-02-23 19:33:31 +01:00
Jared Wein
714836c241 Bug 864562 - Move remaining LWT inline styles to CSS variables. r=mikedeboer
MozReview-Commit-ID: 9ETddCw9w14
2017-02-22 14:13:09 -05:00
Jared Wein
f4275bbbf1 Bug 864562 - Declare lwtheme CSS in tabs.inc.css since we don't need to iterate rules anymore. r=MattN
MozReview-Commit-ID: 4N48zKJUVWs
2017-02-21 11:42:29 -05:00
Jared Wein
e5435ab2f0 Bug 864562 - Use CSS variables for lightweight theme styling. r=MattN
Original patch written by Raj Meghpara <meghpararajkumar@gmail.com>

MozReview-Commit-ID: 8z6tmUG0gdN
2017-02-21 11:33:21 -05:00
Andrew Swan
5da1dc4bcc Bug 1316996 Text for webextensions permissions r=florian
MozReview-Commit-ID: 3W7zEemDOTa
2017-01-20 08:49:59 -08:00
Andrew Swan
4258645b50 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE
2017-01-19 19:28:08 -08:00
Wes Kocher
8f6b8cf828 Backed out changeset 79d111e76fc9 (bug 1317470) for xpcshell failures a=backout
MozReview-Commit-ID: ATEluhMBccR
2017-01-19 18:14:55 -08:00
Andrew Swan
041ea40a13 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE
2017-01-19 14:17:53 -08:00
Johann Hofmann
7719440e02 Bug 1331918 - Make addon install failure messages non-persistent. r=past
MozReview-Commit-ID: BO00gCCzT7f
2017-01-19 10:15:05 +01:00
Andrew Swan
d4d8a7d775 Bug 1317363 Implement the new sideloading flow r=florian,rhelmer
MozReview-Commit-ID: JgloWKYAhlK
2017-01-18 18:16:19 -08:00
Florian Quèze
63de711857 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
Andrew Swan
931ac88b82 Bug 1323129 part 2: remove amIWebInstaller r=rhelmer
MozReview-Commit-ID: O0jtQi9BzQ
2017-01-04 10:13:16 -08:00
Sebastian Hengst
e426260263 Bug 1321947 - Add "Don't Allow" button to add-on installation permission doorhanger to make it dismissible. r=florian
MozReview-Commit-ID: FwRmLOMA1Zr
2016-12-04 18:29:14 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Johann Hofmann
fdaf06a726 Bug 1320406 - Add a "Not now" button to the addon installation restart notification. r=florian
MozReview-Commit-ID: EUJfcHU6qGN
2016-12-28 16:43:49 +01:00
Johann Hofmann
4814f1af34 Bug 1315236 - Handle popup notifications with no actions. r=Paolo
MozReview-Commit-ID: F3rkoEovBYc
2016-11-23 12:16:50 +01:00
Paolo Amadini
dc8e412dbe Bug 1201896 - Update popup notifications for add-on installation. r=past
MozReview-Commit-ID: B5zX74wJg9F
2016-11-20 18:40:33 +01:00
Panos Astithas
1d4c2c0c96 Bug 1004061 - Make most doorhanger notifications persistent. r=florian
MozReview-Commit-ID: IEPkDRnYpiM
2016-11-20 18:40:04 +01:00
Jared Wein
ef8b1e86ca Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Andrew Swan
8bae139a2d Bug 1298989 Don't show notification on theme install from discovery pane r=jaws
MozReview-Commit-ID: 5G8PNFKfJkc
2016-09-06 22:32:31 -07:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Dave Townsend
17d8a23b3f Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM
2016-04-05 11:33:33 -07:00
Felipe Gomes
e5ea10c3ed Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Dave Townsend
4618999b6b Bug 1042699: Block cross-origin add-on install requests. r=dveditz 2015-08-18 17:21:05 -07:00