mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1378209 - Add DEBUG log line for received observer notifications. r=automatedtester
For debugging purposes it would be useful to see which observer notifications have been received and handled by the Marionette component. MozReview-Commit-ID: 1EucCEjOXhu --HG-- extra : rebase_source : 09864144c4b92d1652aee6b62c72b29d692bd2ce
This commit is contained in:
parent
dccfbfd03e
commit
be27f8498f
@ -159,6 +159,8 @@ MarionetteComponent.prototype.handle = function(cmdLine) {
|
||||
};
|
||||
|
||||
MarionetteComponent.prototype.observe = function(subject, topic, data) {
|
||||
this.logger.debug(`Received observer notification "${topic}"`);
|
||||
|
||||
switch (topic) {
|
||||
case "command-line-startup":
|
||||
Services.obs.removeObserver(this, topic);
|
||||
|
Loading…
Reference in New Issue
Block a user