Skip to content

IPC handlers on webContents.ipc not unwrapped properly #324

Description

@UndefinedOffset

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' ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions