Bug 1269264 - Remove SEC_NORMAL from test_ril_code_quality.py (r=sicking)
authorChristoph Kerschbaumer <ckerschb@christophkerschbaumer.com>
Sun, 08 May 2016 20:06:37 +0200
changeset 337562 076df0206f544046125624e8d08979698d1ebc24
parent 337561 e7bfb11e947d34734090deb83d0391fc50cd5f06
child 337563 be4a6303512e8062c3bfb0a33ffc7440af203ae3
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssicking
bugs1269264
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 1269264 - Remove SEC_NORMAL from test_ril_code_quality.py (r=sicking)
dom/system/gonk/tests/marionette/test_ril_code_quality.py
--- a/dom/system/gonk/tests/marionette/test_ril_code_quality.py
+++ b/dom/system/gonk/tests/marionette/test_ril_code_quality.py
@@ -113,17 +113,17 @@ class ResourceUriFileReader:
     var secMan = Cc["@mozilla.org/scriptsecuritymanager;1"].getService(Ci.nsIScriptSecurityManager);
     global.uri = '%(uri)s';
     global.channel = ios.newChannel2(global.uri,
                                      null,
                                      null,
                                      null,      // aLoadingNode
                                      secMan.getSystemPrincipal(),
                                      null,      // aTriggeringPrincipal
-                                     Ci.nsILoadInfo.SEC_NORMAL,
+                                     Ci.nsILoadInfo.SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
                                      Ci.nsIContentPolicy.TYPE_OTHER);
     '''
 
     CODE_GET_SPEC = '''
     return global.channel.URI.spec;
     '''
 
     CODE_READ_CONTENT = '''