зеркало из https://github.com/mozilla/pjs.git
XXX removal: don't destroy the stream on failure (a future ActorDestroy callback will take care of that), and other shutdown- and crash-related XXX removal which are handled by bug 529005
This commit is contained in:
Родитель
3712d51cbc
Коммит
42f095d4fa
|
@ -50,11 +50,9 @@ BrowserStreamParent::WriteReady()
|
|||
_MOZ_LOG(__FUNCTION__);
|
||||
|
||||
int32_t result;
|
||||
if (!CallNPP_WriteReady(mStream->end, &result)) {
|
||||
mNPP->mNPNIface->destroystream(mNPP->mNPP, mStream, NPRES_NETWORK_ERR);
|
||||
// XXX is this right?
|
||||
if (!CallNPP_WriteReady(mStream->end, &result))
|
||||
return -1;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -69,8 +69,6 @@ child:
|
|||
returns (NPError rv);
|
||||
|
||||
parent:
|
||||
// XXX does NPN_UserAgent need to be RPC? certainly hope not, but to
|
||||
// XXX be safe ...
|
||||
rpc NPN_UserAgent()
|
||||
returns (nsCString userAgent);
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ PluginProcessParent::PluginProcessParent(const std::string& aPluginFilePath) :
|
|||
GeckoChildProcessHost(GeckoProcessType_Plugin),
|
||||
mPluginFilePath(aPluginFilePath)
|
||||
{
|
||||
// XXXbent Need to catch crashing plugins by watching the process event!
|
||||
}
|
||||
|
||||
PluginProcessParent::~PluginProcessParent()
|
||||
|
|
Загрузка…
Ссылка в новой задаче