Fix for #18679 setting new stream to plugins seekable until netlib is ready to give this info r=vidur

This commit is contained in:
av%netscape.com 2000-01-19 00:28:41 +00:00
Родитель 4c82cf93b1
Коммит 56ca2bc9c3
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -938,7 +938,10 @@ nsresult nsPluginStreamListenerPeer::SetUpStreamListener(nsIURI* aURL)
return NS_ERROR_NULL_POINTER;
mSetUpListener = PR_TRUE;
mPluginStreamInfo->SetSeekable(PR_FALSE);
//~~~XXX We set it deliberately to true for now until netlib implements
// a mechanism for retreiving this info. This will make Acrobat work.
mPluginStreamInfo->SetSeekable(PR_TRUE);
//mPluginStreamInfo->SetModified(??);
char* urlString;

Просмотреть файл

@ -938,7 +938,10 @@ nsresult nsPluginStreamListenerPeer::SetUpStreamListener(nsIURI* aURL)
return NS_ERROR_NULL_POINTER;
mSetUpListener = PR_TRUE;
mPluginStreamInfo->SetSeekable(PR_FALSE);
//~~~XXX We set it deliberately to true for now until netlib implements
// a mechanism for retreiving this info. This will make Acrobat work.
mPluginStreamInfo->SetSeekable(PR_TRUE);
//mPluginStreamInfo->SetModified(??);
char* urlString;