Back out bug 1173467 (changesets a20799ebf48c, 9312c5cb756e, c0e8bba17067, af075443ab21, 30cefdf8d020) for assertion failures in test_app_protocol.html.

This commit is contained in:
Cameron McCormack
2015-06-27 11:57:17 +10:00
parent e558457a2e
commit 5869f35dd7
8 changed files with 39 additions and 97 deletions

View File

@@ -54,14 +54,9 @@ CreateCacheStorage(nsIPrincipal* aPrincipal, ErrorResult& aRv,
sandbox.forget(aHolder);
}
// We assume private browsing is not enabled here. The ScriptLoader
// explicitly fails for private browsing so there should never be
// a service worker running in private browsing mode. Therefore if
// we are purging scripts or running a comparison algorithm we cannot
// be in private browing.
return CacheStorage::CreateOnMainThread(cache::CHROME_ONLY_NAMESPACE,
sandboxGlobalObject, aPrincipal,
false /* private browsing */, aRv);
sandboxGlobalObject,
aPrincipal, aRv);
}
class CompareManager;