Commit Graph

22 Commits

Author SHA1 Message Date
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +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
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Bill McCloskey
1dac3c4779 Bug 1142542 - Use AppConstants in browser/modules (r=gavin) 2015-03-13 08:19:09 -07:00
Katie Thomas
ded5252954 Bug 891194 - Changed BROKEN_WM_Z_ORDER to not be defined for mac. r=dao 2013-12-12 12:48:41 +01:00
Dão Gottwald
31abec7067 Backed out changeset 9f7da731bf06 (CLOSED TREE) 2013-12-12 12:38:34 +01:00
Katie Thomas
177b0f5f6a Bug 891194 - Changed BROKEN_WM_Z_ORDER to not be defined for mac. r=dao 2013-12-12 09:58:28 +01:00
Tim Taubert
7c753343bc Bug 860621 - Fix allowPopups option for RecentWindow.getMostRecentBrowserWindow; r=dao 2013-04-11 14:11:14 +02:00
Dão Gottwald
424562528a Backed out changeset f029edccac09 2013-03-18 16:46:17 +01:00
Josh Matthews
4f33961b66 Bug 847971 - Make openURL select recent windows that match the current privacy state. r=dolske 2013-03-14 17:41:52 -04:00
Josh Matthews
3c8ee63def Bug 847952 - Make utility function to return the topmost window discriminate between public and private windows. r=dao 2013-03-17 11:12:54 -04:00
Dão Gottwald
f0e1745a44 Backed out changeset 3f534921cf61 2013-03-17 22:44:57 +01:00
Josh Matthews
b379facd32 Bug 847952 - Make utility function to return the topmost window discriminate between public and private windows. r=ehsan 2013-03-17 11:12:54 -04:00
Josh Matthews
fe444c3bf3 Bug 847959 - Make RecentWindow return any browser window regardless of requested privacy state when perma-PB mode is enabled. r=ehsan 2013-03-07 10:30:47 -05:00
Ehsan Akhgari
5ab06de081 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium 2013-01-29 13:12:13 -05:00
Ehsan Akhgari
0c1f47cd5d Bug 829180 - Never open externally opened links in a private window; r=gavin 2013-01-10 23:25:56 -05:00
Ehsan Akhgari
fd636baa14 Bug 817337 - Add a JS module to get the most recent browser window, with the option of restricting the search to include only private windows; r=dao 2012-12-05 20:59:26 -05:00