Closed
Description
- Electron version: 1.2.0
- Operating system: OS X 10.11.5
webview preload attribute seems to be broken in Electron 1.2.0/Chrome 51 (worked with 1.1.3/Chrome 50).
Here is how I used it (successfully) on versions prior to 1.2.0:
@webview.preload = "file://#{app.getAppPath()}/js/player-preload.js"
Tried to put it in the HTML webview tag directly as attribute, same thing.
Note: No error in the Console though, it's just that the script is never actually executed.
Metadata
Metadata
Assignees
Labels
No labels