electron/docs/api/structures/ipc-main-invoke-event.md
Sam Maddock 26da3c5d6e
feat: service worker preload scripts for improved extensions support (#44411)
* feat: preload scripts for service workers

* feat: service worker IPC

* test: service worker preload scripts and ipc
2025-01-31 09:32:45 -05:00

540 B

IpcMainInvokeEvent Object extends Event

  • type String - Possible values include frame
  • processId Integer - The internal ID of the renderer process that sent this message
  • frameId Integer - The ID of the renderer frame that sent this message
  • sender WebContents - Returns the webContents that sent the message
  • senderFrame WebFrameMain | null Readonly - The frame that sent this message. May be null if accessed after the frame has either navigated or been destroyed.