Skip to content

Commit

Permalink
playwright causes issues with our ipcMain validation (part one of #…
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Apr 21, 2022
1 parent 08ac1bb commit 88e0a4a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/vs/base/parts/ipc/electron-main/ipcMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ class ValidatedIpcMain implements Event.NodeEventEmitter {
}

const sender = event.senderFrame;
if (!sender) {
return true; // happens when renderer uses `ipcRenderer.postMessage` (TODO@bpasero revisit with newer Electron version)
}

const url = sender.url;
if (!url) {
Expand Down

0 comments on commit 88e0a4a

Please sign in to comment.