зеркало из https://github.com/mozilla/pjs.git
fix for 165287 throbber never stops loading a page with only a .swf plugin object/embed r=av,sr=darin
This commit is contained in:
Родитель
6055a8b83e
Коммит
bdded7ae70
|
@ -5621,7 +5621,8 @@ NS_IMETHODIMP nsPluginHostImpl::NewPluginURLStream(const nsString& aURL,
|
|||
|
||||
nsCOMPtr<nsIChannel> channel;
|
||||
|
||||
rv = NS_NewChannel(getter_AddRefs(channel), url, nsnull, loadGroup, callbacks);
|
||||
rv = NS_NewChannel(getter_AddRefs(channel), url, nsnull, loadGroup, callbacks,
|
||||
/* prevents throbber from becoming active */ nsIRequest::LOAD_BACKGROUND);
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
|
@ -5822,7 +5823,8 @@ nsresult nsPluginHostImpl::NewEmbededPluginStream(nsIURI* aURL,
|
|||
|
||||
nsCOMPtr<nsIChannel> channel;
|
||||
|
||||
rv = NS_NewChannel(getter_AddRefs(channel), aURL, nsnull, loadGroup);
|
||||
rv = NS_NewChannel(getter_AddRefs(channel), aURL, nsnull, loadGroup, nsnull,
|
||||
/* prevents throbber from becoming active */ nsIRequest::LOAD_BACKGROUND);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
// if this is http channel, set referrer, some servers are configured
|
||||
// to reject requests without referrer set, see bug 157796
|
||||
|
|
Загрузка…
Ссылка в новой задаче