зеркало из https://github.com/mozilla/pjs.git
When using bookmark timers, set channel load attributes to always validate.
This commit is contained in:
Родитель
6763f39040
Коммит
66a5ecddf0
|
@ -2223,6 +2223,7 @@ nsBookmarksService::FireTimer(nsITimer* aTimer, void* aClosure)
|
|||
nsCOMPtr<nsIChannel> channel;
|
||||
if (NS_SUCCEEDED(rv = NS_OpenURI(getter_AddRefs(channel), uri, nsnull)))
|
||||
{
|
||||
channel->SetLoadAttributes(nsIChannel::FORCE_VALIDATION | nsIChannel::VALIDATE_ALWAYS);
|
||||
nsCOMPtr<nsIHTTPChannel> httpChannel = do_QueryInterface(channel);
|
||||
if (httpChannel)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче