Bug 1147562 - Update remaining callsites of newChannel before landing the shim in browser/ (r=bsmedberg)
authorChristoph Kerschbaumer <mozilla@christophkerschbaumer.com>
Thu, 09 Apr 2015 10:11:12 -0700
changeset 257329 e1e70faf3d34d4c43aab09f093963ff47947c7af
parent 257328 de8f3fa1bf8685b001d8059adfa6f50264d4fc4d
child 257330 f9d2b45fca62d69ae33858109374e5b66faac2d4
push id8007
push userraliiev@mozilla.com
push dateMon, 11 May 2015 19:23:16 +0000
treeherdermozilla-aurora@e2ce1aac996e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs1147562
milestone40.0a1
Bug 1147562 - Update remaining callsites of newChannel before landing the shim in browser/ (r=bsmedberg)
browser/base/content/test/general/browser_bug553455.js
--- a/browser/base/content/test/general/browser_bug553455.js
+++ b/browser/base/content/test/general/browser_bug553455.js
@@ -726,17 +726,20 @@ function test_renotify_installed() {
   }));
   gBrowser.selectedTab = gBrowser.addTab();
   gBrowser.loadURI(TESTROOT + "installtrigger.html?" + triggers);
 },
 
 function test_cancel() {
   function complete_install(callback) {
     let url = TESTROOT + "slowinstall.sjs?continue=true"
-    NetUtil.asyncFetch(url, callback || (() => {}));
+    NetUtil.asyncFetch({
+      uri: url,
+      loadUsingSystemPrincipal: true
+    }, callback || (() => {}));
   }
 
   // Wait for the progress notification
   wait_for_notification(PROGRESS_NOTIFICATION, function(aPanel) {
     let notification = aPanel.childNodes[0];
     // Close the notification
     let anchor = document.getElementById("addons-notification-icon");
     anchor.click();