Merge pull request #1382 from deepak1556/webcontents_patch
webContents: workaround reloadIgnoringcache without breaking node integration
This commit is contained in:
commit
e28fc190f2
1 changed files with 3 additions and 0 deletions
|
@ -398,6 +398,9 @@ void WebContents::Reload(const mate::Dictionary& options) {
|
|||
}
|
||||
|
||||
void WebContents::ReloadIgnoringCache(const mate::Dictionary& options) {
|
||||
// Hack to remove pending entries that ignores cache and treated as a fresh
|
||||
// load.
|
||||
web_contents()->GetController().ReloadIgnoringCache(false);
|
||||
Reload(options);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue