Back out bug 1173467 (changesets a20799ebf48c, 9312c5cb756e, c0e8bba17067, af075443ab21, 30cefdf8d020) for assertion failures in test_app_protocol.html.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user