mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: remove awkward semi-documented preloadURL WebPreference (#33228)
This commit is contained in:
@@ -155,7 +155,6 @@ ipcMain.on('disable-preload-on-next-will-attach-webview', (event, id) => {
|
||||
event.sender.once('will-attach-webview', (event, webPreferences, params) => {
|
||||
params.src = `file://${path.join(__dirname, '..', 'fixtures', 'pages', 'webview-stripped-preload.html')}`;
|
||||
delete webPreferences.preload;
|
||||
delete webPreferences.preloadURL;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user