Bug 1278641 - Remove SEC_NORMAL from test_authentication.js. r=dd
authorChristoph Kerschbaumer <ckerschb@christophkerschbaumer.com>
Tue, 07 Jun 2016 20:38:48 +0200
changeset 301068 ff0dfc12d86e25c3a16e40dcd16af8b1b8f6ba3d
parent 301067 2cbc8d093dfaa7a72b48127a584c7ccdcdd315e5
child 301069 f22cca9ad502563f7e15a5a44c4bf9d04ad2e87f
push id30325
push userkwierso@gmail.com
push dateWed, 08 Jun 2016 23:17:01 +0000
treeherdermozilla-central@051765f8237d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdd
bugs1278641
milestone50.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 1278641 - Remove SEC_NORMAL from test_authentication.js. r=dd
netwerk/test/unit/test_authentication.js
--- a/netwerk/test/unit/test_authentication.js
+++ b/netwerk/test/unit/test_authentication.js
@@ -288,18 +288,17 @@ var listener = {
 function makeChan(url, loadingUrl) {
   var ios = Cc["@mozilla.org/network/io-service;1"].
               getService(Ci.nsIIOService);
   var ssm = Cc["@mozilla.org/scriptsecuritymanager;1"]
               .getService(Ci.nsIScriptSecurityManager);
   var principal = ssm.createCodebasePrincipal(ios.newURI(loadingUrl, null, null), {});
   return NetUtil.newChannel(
     { uri: url, loadingPrincipal: principal,
-      securityFlags: Ci.nsILoadInfo.SEC_NORMAL |
-                     Ci.nsILoadInfo.SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
+      securityFlags: Ci.nsILoadInfo.SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
       contentPolicyType: Components.interfaces.nsIContentPolicy.TYPE_OTHER
     });
 }
 
 var tests = [test_noauth, test_returnfalse1, test_wrongpw1, test_prompt1,
              test_prompt1CrossOrigin, test_prompt2CrossOrigin,
              test_returnfalse2, test_wrongpw2, test_prompt2, test_ntlm,
              test_basicrealm, test_digest_noauth, test_digest,