electron/spec/fixtures/module/preload-webview.js
2018-09-14 14:57:01 +10:00

5 lines
123 B
JavaScript

const { ipcRenderer } = require('electron')
window.onload = function () {
ipcRenderer.send('webview', typeof WebView)
}