Bug 1217357 - Update broken call to getContentWindow() from larch merge. r=kevingrandon

This commit is contained in:
Tim Chien 2015-10-22 21:05:00 +02:00
parent 796a915525
commit 86615c0856

View File

@ -105,9 +105,9 @@ function clearCache() {
function clearCacheAndReload() {
// Reload the main frame with a cleared cache.
debug('Reloading ' + getContentWindow().location);
debug('Reloading ' + shell.contentBrowser.contentWindow.location);
clearCache();
getContentWindow().location.reload(true);
shell.contentBrowser.contentWindow.location.reload(true);
once('mozbrowserlocationchange').then(
evt => {
shell.sendEvent(window, "ContentStart");