Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: crash when navigating from a page with webview that has inherite…
…d zoom level (#24764) * fix: cleanup webview zoom level observers on navigation * add spec * webview should be on same partition * wait for webview to finish loading Co-authored-by: deepak1556 <hop2deep@gmail.com>
- Loading branch information
1 parent
faf9434
commit 720e49d
Showing
5 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<html> | ||
<body> | ||
<webview src="./a.html" id="view" partition="webview-temp"/> | ||
</body> | ||
<script> | ||
const {ipcRenderer} = require('electron') | ||
const view = document.getElementById('view') | ||
view.addEventListener('dom-ready', () => { | ||
ipcRenderer.send('dom-ready') | ||
}) | ||
</script> | ||
</html> |