Bug 1444680: Follow-up: Disable cached response test on Android because Android. r=bustage DONTBUILD CLOSED TREE
authorKris Maglione <maglione.k@gmail.com>
Mon, 12 Mar 2018 20:00:34 -0700
changeset 407836 a38d3c69ee958a21b131ae579469ca5b22535c9f
parent 407835 dd028c15ede4d10327a06c1ad49383c534a3391a
child 407837 3e60aeb17f19c7f62c72db721e380598e02f9f09
push id33621
push userapavel@mozilla.com
push dateTue, 13 Mar 2018 17:12:05 +0000
treeherdermozilla-central@deb7714a7bcd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1444680
milestone61.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 1444680: Follow-up: Disable cached response test on Android because Android. r=bustage DONTBUILD CLOSED TREE MozReview-Commit-ID: GUYvvqqmamX
toolkit/components/extensions/test/xpcshell/test_ext_webRequest_responseBody.js
--- a/toolkit/components/extensions/test/xpcshell/test_ext_webRequest_responseBody.js
+++ b/toolkit/components/extensions/test/xpcshell/test_ext_webRequest_responseBody.js
@@ -448,16 +448,19 @@ add_task(async function() {
     await Promise.all(TASKS.map(runTest));
   }
 
   await extension.unload();
 });
 
 // Test that registering a listener for a cached response does not cause a crash.
 add_task(async function test_cachedResponse() {
+  if (AppConstants.platform === "android") {
+    return;
+  }
   Services.prefs.setBoolPref("network.http.rcwn.enabled", false);
 
   let extension = ExtensionTestUtils.loadExtension({
     background() {
       browser.webRequest.onHeadersReceived.addListener(
         data => {
           let filter = browser.webRequest.filterResponseData(data.requestId);