mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1210941 P13 Remove ForceNoIntercept from jar channel. r=jduell
This commit is contained in:
parent
73b4850d48
commit
025eda5f7a
@ -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();
|
||||
};
|
||||
|
@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -316,11 +316,6 @@ NS_IMETHODIMP DummyChannel::GetContentDispositionHeader(nsACString&)
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP DummyChannel::ForceNoIntercept()
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* app:// protocol implementation.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user