Commit Graph

652 Commits

Author SHA1 Message Date
Tim Nguyen
89b1c0675d Bug 1472286 - Fix checks for legacy themes. r=kmag
MozReview-Commit-ID: 9bkTG2njxJJ
2018-06-26 13:46:22 +01:00
Dorel Luca
c54df96314 Backed out 2 changesets (bug 1472286) for Browser chrome failures on toolkit/mozapps/extensions/test/browser/browser_legacy_themes.js
Backed out changeset 914241e649a0 (bug 1472286)
Backed out changeset dc9cfde75af6 (bug 1472286)
2018-06-30 03:38:37 +03:00
Tim Nguyen
88a2002a39 Bug 1472286 - Fix checks for legacy themes. r=kmag
MozReview-Commit-ID: 9bkTG2njxJJ
2018-06-26 13:46:22 +01:00
Kris Maglione
c6695e70cf Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq
2018-05-12 16:49:35 -07:00
YUKI "Piro" Hiroshi
1895bf655f Bug 1455402: Remove size attribute from addon. r=kmag 2018-05-19 23:55:27 +09:00
Boris Zbarsky
8535873703 Bug 1455802. Get rid of web-visible XMLStyleSheetProcessingInstruction. r=peterv
MozReview-Commit-ID: GBumpNuvzZf
2018-05-14 18:54:16 -04:00
Dão Gottwald
7121db42ab Bug 1456611 - Remove insertItemAt and removeItemAt methods from XUL widgets. r=enn
MozReview-Commit-ID: BaChYp8bBbI
2018-04-24 21:42:26 +02:00
Andreea Pavel
68fa42ef9b Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Gijs Kruitbosch
8ff59950d2 Bug 1456515 - make plugin URL methods async, r=kmag
MozReview-Commit-ID: 6EITxFc12mW
2018-04-27 15:56:46 +01:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Tim Nguyen
9698f93bd0 Bug 1372694 - Stop making the default theme a heavyweight theme. r=kmag,aswan
MozReview-Commit-ID: 30wMauuc9oo
2018-04-01 13:53:31 +02:00
Kris Maglione
ad06da8d89 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs
2018-04-15 14:22:55 -07:00
Kris Maglione
d3bbf87c83 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc
2018-04-14 19:38:18 -07:00
Brian Grinstead
24834b5b91 Bug 1455392 - Remove sortable UI in about:addons recent updates;r=aswan
This UI is the only consumer of `checkState`, and it's using it in a
confusing way represent a ascending and descending sorts on the checkbox.
And also since the default sort for Recent Updates (most recent first)
is reasonable, go ahead and remove the binding altogether.

MozReview-Commit-ID: 4OnAN1t2fGq
2018-04-20 09:35:36 -07:00
Andrew Swan
c7a88a57db Bug 1450801 Part 1: Remove front-end (about:addons) support for telemetry experiments. r=kmag
MozReview-Commit-ID: 9J4cPZxG2z0
2018-04-02 14:37:55 -07:00
Shane Caraveo
9fbe3d3d47 Bug 1414245 - set sameProcessAsFrameLoader on extension sidebar and options_ui browsers, r=aswan
MozReview-Commit-ID: 2KsOE6RNq4P
2018-04-04 11:57:00 -05:00
Jonathan Kingston
94c84bc270 Bug 1311145 - Removal of about extension modal in about:addons r=aswan
MozReview-Commit-ID: 4eMicumvQph
2018-04-04 12:44:35 +01:00
Cosmin Sabou
4bb86da166 Backed out changeset 3a8afc1650db (bug 1311145) for mochitest browser chrome failures on browser_all_files_referenced.js. 2018-03-28 08:33:41 +03:00
Jonathan Kingston
f9bd99dff4 Bug 1311145 - Removal of about extension modal in about:addons r=aswan
MozReview-Commit-ID: 4eMicumvQph
2018-03-16 17:08:33 +00:00
Kris Maglione
1078e51041 Bug 1447831: Part 1 - Remove about:addons support for restart-required extensions. r=aswan
MozReview-Commit-ID: 2v5YsosDN9R
2018-03-26 16:47:06 -07:00
Kris Maglione
985347f2e4 Bug 1446686: Part 3 - Fix discovery pane and drag-and-drop tests which rely on legacy extensions. r=aswan
This removes some discovery pane tests which are obsolete. The discovery pane
page that it tests uses InstallTrigger, rather than mozAddonManager as we use
in production, and fails when used with WebExtensions.

The other tests have been updated to use WebExtensions, and some relevant
PopupNotifications bugs have been fixed so that they actually pass.

MozReview-Commit-ID: 1g0n73vhncp
2018-03-17 17:42:51 -07:00
Tim Nguyen
d49de43825 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tim Nguyen
c389c6cf9c Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
8ad3204b44 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
76bd43b52d Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tim Nguyen
9f6b37eabb Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 13:59:50 +02:00
Andrew Swan
56aeec12cd Bug 1446948 Fix presentation of unsigned langpacks in about:addons r=kmag
MozReview-Commit-ID: CE7tcq7Bp1g
2018-03-22 13:08:46 -07:00
Dão Gottwald
5edc4b02c3 Bug 1446414 - Remove underutilized browser.homePage and browser.goHome. r=enn 2018-03-16 16:31:59 +01:00
Kris Maglione
d3571116d8 Bug 1444436: Use DOM APIs rather than HTML string generation for GMP plugin descriptions. r=aswan
MozReview-Commit-ID: GMBT4OZnQKz
2018-03-15 12:27:34 -07:00
Kris Maglione
b4d543ffb2 Bug 1445551: Part 2 - Remove multiprocessCompatible flag. r=aswan
We no longer support legacy extensions with e10s shims, and the only remaining
uses that matter are in-tree test harnesses, which have been fixed. This flag
no longer serves a purpose.

MozReview-Commit-ID: EdCNqF4MttN
2018-03-13 19:02:42 -07:00
Arjun Krishna Babu
0a93c2178b Bug 1444244 - Fix location where Addon's "Preferences" tab is opened; r=aswan
Addon's "Preferences" tab was opening up to the right of ALL tabs rather than next
to the current tab. This behavior has been corrected, and the aforementioned
tab is now placed relative to the opening tab.

MozReview-Commit-ID: APiUR9VkEEt
2018-03-08 21:06:29 -07:00
Michael Kaply
cf697511f1 Bug 1269294 - Prevent add-on install from add-ons manager if xpinstall disabled and locked. r=aswan
MozReview-Commit-ID: 7Mtk5eFdyP
2018-03-05 10:53:43 -06:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Andrew Swan
2cd1989400 Bug 1402064 AddonRepository spring cleaning r=kmag
Remove unused imports of AddonRepository.jsm plus some more
leftover bits from in-browser search results.

MozReview-Commit-ID: AZyAtnHvaMP
2018-01-10 11:41:26 -08:00
Luca Greco
a01726cc3c Bug 1435705 - Fix WebExtensions options_ui hidden. r=aswan
If a user opens the about:addons page and then immediately switches
to the addon details, while the discovery panel is still loading,
then a ViewChanged event is received once the discovery panel has
been completely loaded and the options_ui of the extension was removed
(because the ViewChanged event is also sent when the about:addons page
navigates between its sub-views).

MozReview-Commit-ID: GBF5NHezpNB
2018-02-13 20:59:11 +01:00
Jared Wein
d5ab8bee00 Bug 1436575 - Manually fix the errors from no-compare-against-boolean-literal that the autofix couldn't change. r=standard8
MozReview-Commit-ID: 6NtfU76sPKv
2018-02-08 13:35:53 -05:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Andrew Swan
129e3eb681 Bug 1356331 Remove hotfix code from addons manager and related tests r=rhelmer
MozReview-Commit-ID: EjCOOgmXvVH
2017-12-13 12:33:52 -08:00
Kris Maglione
0bb74efdf1 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
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 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
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
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
Kris Maglione
5d873245be Bug 1433708: Part 4 - Fix GMP license link innerHTML sanitization. r=aswan
MozReview-Commit-ID: E3Mu765xl1A
2018-01-26 11:31:09 -08:00
Martin Giger
3720518b78 Bug 1387624 - Fix datalist popups in extension options r=mixedpuppy
MozReview-Commit-ID: 9w7Hhv5Fh4n
2017-11-04 13:40:47 +01:00
Masatoshi Kimura
1dfecd5932 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1
2017-12-12 21:35:16 +09:00
Andrew Swan
d43b7151d1 Bug 1263313 Remove search pane from about:addons r=rhelmer
Also remove related code that was only used from here including
stuff related to marketplace purchases, etc.

MozReview-Commit-ID: ESX78tVQK7M
2017-12-05 21:17:13 -08:00
Andrew Swan
d386c97dbe Bug 1263313 Switch search to AMO r=rhelmer
MozReview-Commit-ID: 6FO2dgI5WdH
2017-12-05 21:07:09 -08:00
Mark Banner
8f44f461ba Bug 1417944 - Enable ESLint rule mozilla/use-services for toolkit/mozapps/extensions. r=aswan
MozReview-Commit-ID: 6nK45TknN9x
2017-11-22 13:35:52 +00:00