Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #15885 from KevinGrandon/bug_966592_nightly_errors
Browse files Browse the repository at this point in the history
Bug 966592 - Remove logged errors for DEBUG profiles r=fabrice
  • Loading branch information
KevinGrandon committed Feb 3, 2014
2 parents 11c3080 + 324c99e commit a574fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tools/extensions/activities/components/ActivitiesGlue.js
Expand Up @@ -10,7 +10,6 @@ const Cu = Components.utils;

Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import('resource://gre/modules/ObjectWrapper.jsm');

function ActivitiesDialog() {
this._id = 0;
Expand Down Expand Up @@ -55,7 +54,7 @@ ActivitiesDialog.prototype = {

let event = content.document.createEvent('CustomEvent');
event.initCustomEvent('mozChromeEvent', true, true,
ObjectWrapper.wrap(detail, content));
Cu.cloneInto(detail, content));
content.dispatchEvent(event);
},

Expand Down
Expand Up @@ -26,15 +26,14 @@ function sendChromeEvent(details, type) {

let event = content.document.createEvent('CustomEvent');
event.initCustomEvent(type, true, true,
ObjectWrapper.wrap(details, content));
Cu.cloneInto(details, content));
content.dispatchEvent(event);
}

// Listen for app.launch calls and forward them to the the system app.
// Copy of /b2g/chrome/content/shell.js
Cu.import('resource://gre/modules/Webapps.jsm');
Cu.import('resource://gre/modules/AppsUtils.jsm');
Cu.import('resource://gre/modules/ObjectWrapper.jsm');

Services.obs.addObserver(function onLaunch(subject, topic, data) {
let json = JSON.parse(data);
Expand Down

0 comments on commit a574fdb

Please sign in to comment.