Peter Van der Beken
317400d75b
Bug 1448850 - Remove nsIMessageListener and nsIMessageListenerManager. r=bz.
2018-02-16 15:28:31 +01: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
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
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
Dave Townsend
ed77ba2c67
Bug 1356292: Switch back to triggering principal checks for add-on install permission checking to allow url bar triggered installs to proceed. r=bz, r=aswan
...
MozReview-Commit-ID: 4HXgGqSGkN0
2017-04-13 14:58:38 -07:00
Florian Quèze
c8cf49999e
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +01:00
Andrew Swan
5868ba8df8
Bug 1323129 part 1: Remove support for installing multiple xpis in InstallTrigger r=rhelmer
...
MozReview-Commit-ID: 567cHYjbjO4
2017-01-04 10:12:53 -08: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
Christoph Kerschbaumer
304a72b87f
Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz
2016-11-08 07:23:12 +01:00
Christoph Kerschbaumer
11504c0800
Bug 1297338 - Use principalToInherit instead of TriggeringPrincipal within AddonManager.js. r=bz,mossop
2016-09-20 08:37:17 +02:00
Dave Townsend
315c15417d
Bug 1226386: Remove functions names where possible. r=rhelmer
...
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.
2015-11-19 16:35:41 -08:00
Dave Townsend
4a20a1e68c
Bug 1200027: Fix installing add-ons from the AMO discovery pane in the add-ons manager. r=dveditz
2015-08-31 11:23:39 -07:00
Dave Townsend
4618999b6b
Bug 1042699: Block cross-origin add-on install requests. r=dveditz
2015-08-18 17:21:05 -07:00
Dave Townsend
a05653e0be
Bug 1082764: Use the correct referrer when the content handler catches an XPI install in e10s. r=Unfocused
2014-11-04 23:28:55 -08:00
Dave Townsend
f5d707425c
Bug 1084558: Switch the web installer interfaces to use browsers instead of DOM windows. r=Unfocused
2014-11-04 19:20:52 -08:00
Kyle Huey
76a2832eea
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
c34b7d9377
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Atul Jangra
db8be2ae7c
Bug 767236 - Part 4: Name all anonymous functions in remaining Add-ons Manager code. r=Unfocused
2012-10-24 22:58:00 +13:00
Blair McBride
c27022ac19
Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin
2012-08-04 13:22:55 +12:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Blair McBride
e57aa19f20
Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend
2011-07-19 13:16:35 -07:00
Gavin Sharp
7a6bbaa11d
Back out 0f11ca4d1733 (bug 670023) due to xpcshell test failures
2011-07-21 22:20:21 -04:00
Blair McBride
a27157de11
Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend
2011-07-19 13:16:35 -07:00
Tim Taubert
39def6724d
Backed out changeset a115d824218c (bug 670023)
2011-07-20 03:28:05 +02:00
Blair McBride
8c3e67983f
Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend
2011-07-19 13:16:35 -07:00
Wes Johnston
9e867d7230
Bug 593025 - Use InstallTrigger for xpi links. r=mossop a=blocking-fennec
2010-10-09 09:27:00 -04:00
Benjamin Smedberg
4eb44d9d34
Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
2010-06-22 12:59:15 -04:00
Dave Townsend
1833be1f5f
Bug 555942: Style and attribute prefix fixes, no review
...
* * *
Fix argument renames for test_registry.js
2010-04-28 09:42:07 -07:00
Dave Townsend
76426230d6
Bug 553169: Implement InstallTrigger, the XPI content handler and confirmation for web triggered installs. r=robstrong, r=dveditz
2010-04-29 13:11:23 -07:00
Dave Townsend
c92630540b
Backout new add-ons manager due to Ts regression on OSX 10.5
2010-05-01 11:04:44 -07:00
Dave Townsend
ca4ca235b4
Bug 555942: Style and attribute prefix fixes, no review
...
* * *
Fix argument renames for test_registry.js
2010-04-28 09:42:07 -07:00
Dave Townsend
fa94aa3e68
Bug 553169: Implement InstallTrigger, the XPI content handler and confirmation for web triggered installs. r=robstrong, r=dveditz
2010-04-29 13:11:23 -07:00