Commit Graph

22 Commits

Author SHA1 Message Date
Eric Rahm
7e2ced8e4d Bug 1436614 - Report ghost windows in Memory.jsm. r=mconley
This adds a 'ghosts' field to the object returned by Memory.summary.
2018-02-07 15:46:57 -08: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
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
Rutuja Surve
84320f02a5 Bug 1255843 - Add process memory reporting tool to about:performance. r=mconley
MozReview-Commit-ID: EHCkl6G3bTT
2016-09-02 00:21:00 -04:00
Mike Conley
fe6ec6ce4d Backed out changeset 5ad925dd2e4e for epic build bustage.
MozReview-Commit-ID: 2TwkxThgvV4
2016-09-02 02:21:39 -04:00
Rutuja Surve
7518fe9b91 Bug 1255843 - Add process memory reporting tool to about:performance. r=mconley
MozReview-Commit-ID: EHCkl6G3bTT
2016-09-02 00:21:00 -04:00
Mike Conley
2960b2540e Bug 1290567 - Remove inner-window-destroyed observer in process-content.js at xpcom-shutdown. r=Gijs
It seems to be possible for an inner-window-destroyed notification to be dispatched
after xpcom-shutdown. This means that communications over the Services.cpmm are
attempted after the connection to the parent process has already been torn down. This
can cause an Exception to be thrown, which can keep the ContentProcessMessageManager
alive long enough to cause SpiderMonkey to complain that there are still living
elements in its heap at JS shutdown time.

MozReview-Commit-ID: wmCHtqcjkJ
2016-08-16 09:32:14 -04:00
Gijs Kruitbosch
10ad3819f0 Bug 1255270, r=mak
MozReview-Commit-ID: 5fInAZiZMhl
2016-05-23 10:09:13 +01:00
Chris Pearce
a080d7d7da Bug 1266286 - Ensure crash reports work for GMP used by EME code. r=mconley
Crash reporting for GMPs being used from the EME call site are not generating
crash reports because they depend on the MediaKeys object calling
GMPService::AddPluginCrashHandler() to associate a window to which the
PluginCrashedEvent is fired. This doesn't work with e10s enabled because the
GMPParent which causes the plugin crash handlers to run is in the chrome
process, but the MediaKeys which adds the handler is in the child process. So
the crash handler is on the GMPServiceChild, but we only run the crash handlers
that were added to the GMPServiceParent in the chrome/parent process.

The solution is to broadcast a message from the chrome process to all the
content processes when a GMP has crashed that causes the GMPServiceChild to
also run its crash handlers.

MozReview-Commit-ID: 8Lek16G9ZGb
2016-05-04 20:32:00 -04:00
Kit Cambridge
e3d564db42 Bug 1239584, Part 2 - Remove message manager usage from PushService.jsm. r=dragana 2016-01-13 22:24:37 -07:00
Kit Cambridge
6bbd351b71 Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE. 2016-01-22 11:06:14 -08:00
Kit Cambridge
b2ddd0a83a Bug 1239584, Part 2 - Remove message manager usage from PushService.jsm. r=dragana 2016-01-13 22:24:37 -07: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
Eitan Isaacson
19a81d251b Bug 1184626 - Add a per-process push message listener. r=smaug 2015-07-17 14:54:38 -07:00
Dave Townsend
e035eed93b Bug 1068087: Add a simple mechanism for content pages to communicate with chrome. r=mconley 2015-03-10 09:19:17 -07:00