Bug 1269261 - Remove SEC_NORMAL form browser_favicon_setAndFetchFaviconForPage.js (r=sicking)
authorChristoph Kerschbaumer <ckerschb@christophkerschbaumer.com>
Fri, 06 May 2016 15:29:45 +0200
changeset 296406 c2fa32f6f29c4a881f015f837d4e646878707c06
parent 296405 a3c193dd2a9c2e6968fd23a7083ee0a233122283
child 296407 3aa3b8a544fb70ec7edf0df7699287a483d618f2
push id76314
push usermozilla@christophkerschbaumer.com
push dateFri, 06 May 2016 13:52:06 +0000
treeherdermozilla-inbound@09de5ebe553f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking
bugs1269261
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1269261 - Remove SEC_NORMAL form browser_favicon_setAndFetchFaviconForPage.js (r=sicking)
toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js
--- a/toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js
+++ b/toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js
@@ -28,18 +28,16 @@ function test() {
       aWin.close();
     });
   });
 
   function getIconFile(aCallback) {
     NetUtil.asyncFetch({
       uri: favIconLocation,
       loadUsingSystemPrincipal: true,
-      // XXXckerschb: remove securityFlags once imageLoader uses asyncOpen2()
-      securityFlags: Ci.nsILoadInfo.SEC_NORMAL,
       contentPolicyType: Ci.nsIContentPolicy.TYPE_INTERNAL_IMAGE
     }, function(inputStream, status) {
         if (!Components.isSuccessCode(status)) {
           ok(false, "Could not get the icon file");
           // Handle error.
           return;
         }