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
vladimiry
changed the title
[Bug]: "Failed to serialize arguments" error if "context-menu" handler attached to "webContents" of a "webview"
[Bug]: "Failed to serialize arguments" error occurs on left mouse click on "webview" content
Oct 2, 2021
vladimiry
changed the title
[Bug]: "Failed to serialize arguments" error occurs on left mouse click on "webview" content
[Bug]: "Failed to serialize arguments" error occurs on right mouse click on "webview" content
Oct 2, 2021
@vladimiry The issue closed automatically when I merged the fix PR above, but we're cutting new 15 and 16 releases today - this should be available in 15.1.1 and 16.0.0-beta.5. Thanks again for reporting!
Preflight Checklist
Electron Version
15.1.0 / and all 16.0.0-alpha.x
What operating system are you using?
Other Linux
Operating System Version
kernel 5.14.7-2
What arch are you using?
x64
Last Known Working Electron version
15.0.0
Expected Behavior
No error occurs.
Actual Behavior
The
Failed to serialize arguments
error occurs on right mouse click on the webview's content.Testcase Gist URL
No response
Additional Information
Notice there is no error when you do the right mouse click on the browserwindow's content but on webview's.
Notice that adding the "context-menu" handler is not even required.
The "input" controls were added to the snippet just for the convenience of testing. The right mouse click on any area of webview triggers the error.
To reproduce:
The text was updated successfully, but these errors were encountered: