Bug 1210941 P13 Remove ForceNoIntercept from jar channel. r=jduell

This commit is contained in:
Ben Kelly 2015-10-06 06:37:07 -07:00
parent 73b4850d48
commit 025eda5f7a
3 changed files with 1 additions and 19 deletions

View File

@ -8,7 +8,7 @@
interface nsIFile;
interface nsIZipEntry;
[scriptable, builtinclass, uuid(1adea16e-aa6c-4201-8f71-e9ff0acfb52e)]
[scriptable, builtinclass, uuid(e72b179b-d5df-4d87-b5de-fd73a65c60f6)]
interface nsIJARChannel : nsIChannel
{
/**
@ -34,10 +34,4 @@ interface nsIJARChannel : nsIChannel
* This will work even without opening the channel.
*/
readonly attribute nsIZipEntry zipEntry;
/**
* Force the channel to skip any chack for possible interception and
* proceed immediately to the network.
*/
void forceNoIntercept();
};

View File

@ -1126,13 +1126,6 @@ nsJARChannel::GetZipEntry(nsIZipEntry **aZipEntry)
return reader->GetEntry(mJarEntry, aZipEntry);
}
NS_IMETHODIMP
nsJARChannel::ForceNoIntercept()
{
mLoadFlags |= LOAD_BYPASS_SERVICE_WORKER;
return NS_OK;
}
//-----------------------------------------------------------------------------
// mozilla::net::MemoryDownloader::IObserver
//-----------------------------------------------------------------------------

View File

@ -316,11 +316,6 @@ NS_IMETHODIMP DummyChannel::GetContentDispositionHeader(nsACString&)
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP DummyChannel::ForceNoIntercept()
{
return NS_OK;
}
/**
* app:// protocol implementation.
*/