Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

IPC handlers on webContents.ipc not unwrapped properly

Open
#324 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
electron, typescript
Domain
desktop, devtools

Research direction

Start by running the linked reproduction gist with Devtron and inspect the handlers bound through webContents.ipc. Compare the logged Handle, HandleOnce, SendSync On, and SendSync Once values with the already-correct Send On and Send Once values; done means each handler receives the original arguments rather than the wrapped object.

Written by the indexing model from the issue text.

Description

It looks like devtron is not properly unwrapping ipc handlers bound on webContents.ipc this gist https://gist.github.com/wbgsupport/8cb6257df3c50804675f8de6f0f7f73c reproduces the issue. All events show in devtron as expected but when the request reaches the handler it's not unwrapped. Using the gist the example output is shown in the console.

Handle: {
  __uuid__devtron: 'deb2f126-07a2-49c2-98a4-6fb691ec33d4',
  args: [ 'Hello World' ]
}
HandleOnce: {
  __uuid__devtron: '4becdc5f-4821-42b7-ab88-cd8ac4862ee1',
  args: [ 'Hello World' ]
}
Send On: Hello World
Send Once: Hello World
SendSync On: {
  __uuid__devtron: '795a5dbc-16bb-4833-984d-7b068904f925',
  args: [ 'Hello World' ]
}
SendSync Once: {
  __uuid__devtron: '5eb677b7-07ae-4821-8d69-ea894e052c33',
  args: [ 'Hello World' ]
}
Dominant language
TypeScript
Stars
1.8k
Forks
110
Avg merge
2h 28m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from electron/devtron

All issues in electron/devtron

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.