
* fix: cleanup webview zoom level observers on navigation * add spec * webview should be on same partition * wait for webview to finish loading
12 lines
285 B
HTML
12 lines
285 B
HTML
<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>
|