Skip to content

Commit

Permalink
Bug 810453: Load background services in the background. r=jlebar a=bl…
Browse files Browse the repository at this point in the history
…ocking-basecamp
  • Loading branch information
joneschrisg committed Nov 30, 2012
1 parent 0680d1c commit afa45a9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/system/js/background_service.js
Expand Up @@ -137,6 +137,13 @@ var BackgroundServiceManager = (function bsm() {
frames[manifestURL][name] = frame;

document.body.appendChild(frame);

// Background services should load in the background.
//
// (The funky setTimeout(0) is to work around
// https://bugzilla.mozilla.org/show_bug.cgi?id=810431 .)
setTimeout(function () { frame.setVisible(false) }, 0);

return true;
};

Expand Down

0 comments on commit afa45a9

Please sign in to comment.