mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1217357 - Update broken call to getContentWindow() from larch merge. r=kevingrandon
This commit is contained in:
parent
796a915525
commit
86615c0856
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user