You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipcMain.on('ELECTRON_GUEST_WINDOW_MANAGER_WEB_CONTENTS_METHOD',function(event,guestId,method, ...args){constguestContents=webContents.fromId(guestId)if(guestContents==null)returnif(canAccessWindow(event.sender,guestContents)){guestContents[method](...args)}else{console.error(`Blocked ${event.sender.getURL()} from calling ${method} on its opener.`)}})ipcMain.on('ELECTRON_GUEST_WINDOW_MANAGER_WEB_CONTENTS_METHOD_SYNC',function(event,guestId,method, ...args){constguestContents=webContents.fromId(guestId)if(guestContents==null){event.returnValue=nullreturn}if(canAccessWindow(event.sender,guestContents)){event.returnValue=guestContents[method](...args)}else{console.error(`Blocked ${event.sender.getURL()} from calling ${method} on its opener.`)event.returnValue=null}})
The text was updated successfully, but these errors were encountered:
TS and JS Grammar Extension version: 0.4 / latest
Code
The text was updated successfully, but these errors were encountered: