fix: ignore non-absolute session preload script paths when sandboxed (#19066)

This commit is contained in:
Milan Burda 2019-07-03 17:05:45 +02:00 committed by John Kleinschmidt
parent 50b9c7051e
commit 69ea0b4ebf
10 changed files with 46 additions and 64 deletions

View file

@ -1 +1 @@
require('electron').ipcRenderer.send('vars', window.preload1, window.preload2)
require('electron').ipcRenderer.send('vars', window.preload1, window.preload2, window.preload3)

View file

@ -0,0 +1 @@
window.preload3 = window.preload2 + '-3'