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

This commit is contained in:
Patrick McManus
2013-11-17 14:40:06 -05:00
parent ec9cc5fc8f
commit a6c7c67413

View File

@@ -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