Bug 563738 - remove privileged mozBackgroundRequest property. r=trivial a=blocking
authorMarco Bonardo <mbonardo@mozilla.com>
Mon, 13 Sep 2010 11:44:30 +0200
changeset 53691 84ee6bc0484dd0e9c2193461f33a481a28e92371
parent 53690 508d0a50827c32b4b7ec0940595aebcef7353108
child 53692 dbf6d4e33e139f4f6bf73edad6a107b082edf714
push idunknown
push userunknown
push dateunknown
reviewerstrivial, blocking
bugs563738
milestone2.0b6pre
Bug 563738 - remove privileged mozBackgroundRequest property. r=trivial a=blocking
browser/base/content/aboutHome.js
--- a/browser/base/content/aboutHome.js
+++ b/browser/base/content/aboutHome.js
@@ -136,17 +136,16 @@ function loadSnippets()
 {
   // Check last snippets update.
   let lastUpdate = localStorage["snippets-last-update"];
   let updateURL = localStorage["snippets-update-url"];
   if (updateURL && (!lastUpdate ||
                     Date.now() - lastUpdate > SNIPPETS_UPDATE_INTERVAL_MS)) {
     // Try to update from network.
     let xhr = new XMLHttpRequest();
-    xhr.mozBackgroundRequest = true;
     xhr.open('GET', updateURL, true);
     xhr.onerror = function (event) {
       showSnippets();
     };
     xhr.onload = function (event)
     {
       if (xhr.status == 200) {
         localStorage["snippets"] = xhr.responseText;