From 849dd0db64b382de1baf428813b51a25aeb444e1 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Fri, 4 Jan 2019 08:25:47 -0800 Subject: [PATCH] fix: correctly pass hidden-page argument to isolated renderers (#16258) --- lib/isolated_renderer/init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/isolated_renderer/init.js b/lib/isolated_renderer/init.js index c419c0230bb..4df07b705c5 100644 --- a/lib/isolated_renderer/init.js +++ b/lib/isolated_renderer/init.js @@ -11,6 +11,6 @@ if (setupWebView) { } const isolatedWorldArgs = v8Util.getHiddenValue(isolatedWorld, 'isolated-world-args') -const { ipcRenderer, guestInstanceId, hiddenPage, openerId, usesNativeWindowOpen } = isolatedWorldArgs +const { ipcRenderer, guestInstanceId, isHiddenPage, openerId, usesNativeWindowOpen } = isolatedWorldArgs -require('@electron/internal/renderer/window-setup')(ipcRenderer, guestInstanceId, openerId, hiddenPage, usesNativeWindowOpen) +require('@electron/internal/renderer/window-setup')(ipcRenderer, guestInstanceId, openerId, isHiddenPage, usesNativeWindowOpen)