bug 831153 iframes are not reloaded on shift reload r=bz

--HG--
extra : rebase_source : 583df6c8ec0bfcaf641465d0ea127a1714818b99
This commit is contained in:
Patrick McManus 2013-11-17 14:40:06 -05:00
Родитель 4f441f5d46
Коммит 16af8bf16c
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -1383,6 +1383,12 @@ nsDocShell::LoadURI(nsIURI * aURI,
// want to update global/session history. However,
// this child frame is not an error page.
loadType = LOAD_BYPASS_HISTORY;
} else if ((parentLoadType == LOAD_RELOAD_BYPASS_CACHE) ||
(parentLoadType == LOAD_RELOAD_BYPASS_PROXY) ||
(parentLoadType == LOAD_RELOAD_BYPASS_PROXY_AND_CACHE)) {
// the new frame should inherit the parent's load type so that it also
// bypasses the cache and/or proxy
loadType = parentLoadType;
}
} else {
// This is a pre-existing subframe. If the load was not originally initiated