Commit Graph

31 Commits

Author SHA1 Message Date
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
Alexandre Poirot
076c0143fe Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx
2017-08-01 16:51:07 +02:00
Wes Kocher
85ba4e7ea1 Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI
2017-08-08 09:17:56 -07:00
Alexandre Poirot
d7402fa992 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx
2017-08-01 16:51:07 +02:00
Julien Wajsberg
43b7fd0903 Bug 1380449 - Do not clone when not in a Web Extension r=kmag
MozReview-Commit-ID: D1Ry7INxnYo
2017-07-20 16:06:15 +02:00
Brian Grinstead
b5d0055391 Bug 1383208 - Allow for null functionName in console messages;r=baku
MozReview-Commit-ID: 47O6kPQ3W8o
2017-07-26 15:14:07 -07:00
Kris Maglione
02abcbfad7 Bug 1357486: Part 0d - Propagate clonable console message args to the parent process. r=aswan
MozReview-Commit-ID: Bkecqr7hRvx
2017-07-07 14:34:37 -07:00
Kris Maglione
4547035c4a Bug 1357486: Part 0c - Propagate addonId to parent process with console messages. r=aswan
MozReview-Commit-ID: I1LzpMcfgEh
2017-07-07 14:34:02 -07:00
Sebastian Hengst
05b5235cbe Backed out changeset c72d36a91e44 (bug 1357486) 2017-07-08 11:23:40 +02:00
Sebastian Hengst
de23ec8f75 Backed out changeset 0159b012fa2d (bug 1357486) 2017-07-08 11:23:36 +02:00
Kris Maglione
279afd4582 Bug 1357486: Part 0d - Propagate clonable console message args to the parent process. r=aswan
MozReview-Commit-ID: Bkecqr7hRvx
2017-07-07 14:34:37 -07:00
Kris Maglione
d0a6dc0361 Bug 1357486: Part 0c - Propagate addonId to parent process with console messages. r=aswan
MozReview-Commit-ID: I1LzpMcfgEh
2017-07-07 14:34:02 -07:00
Julian Descottes
ff793517de Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau
MozReview-Commit-ID: 38XKKM37jC5
2017-05-29 23:36:26 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Andrew McCreight
dd709ecf07 Bug 1355611 - Don't load TelemetryStartup.js in the content process. r=gfritzsche
Instead, run the telemetry startup in ContentProcessSingleton.js, to
avoid loading a .jsm in every content process.

MozReview-Commit-ID: BnwoZTjFB3i
2017-04-11 15:13:30 -07: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
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Haik Aftandilian
39a0f79da5 Bug 1274074 - console.log()ging too much data can crash e10s via IPC call from mozilla::dom::ProcessGlobal::SendAsyncMessage; r=mconley
MozReview-Commit-ID: 6ICgsnNHFpq
2016-05-28 01:15:14 -07:00
J. Ryan Stinnett
687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
J. Ryan Stinnett
2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Alexandre Poirot
a37dc46a40 Bug 1060093 - Implement toolbox to debug chrome of the content process. r=jryans 2014-11-07 14:24:47 -06:00
Bill McCloskey
c878081fc9 Bug 1067576 - Make console.log work in frame scripts (r=Mossop) 2014-10-07 11:46:25 -07:00