TypeError after upgrading from v84.4.10 to v86.0.241 #3375
-
Hi, I've tried to upgrade cefSharp.Winforms from v84.4.10 to latest stable (v86.0.241) and after that the binding stopped working - I was getting following error: TypeError: Cannot read property 'EditorInit' of undefined. I've only changed the original code:
to new code (as stated in suggestion under ticket #3141):
Am I missing something there? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
What does your javascript look like? Based on this error it looks like you have a case mismatch, you are registering The following would match the naming of based on the error message. WebBrowser.JavascriptObjectRepository.Register("EditorInit", _editorInit, true, new BindingOptions { }); Not clear this has anything to do with the changes in #3141 as the method and property names should have been the only to have been affected. |
Beta Was this translation helpful? Give feedback.
What does your javascript look like?
Based on this error it looks like you have a case mismatch, you are registering
editorInit
and attempting to accessEditorInit
(noting the difference in capitalisation for the first letter).The following would match the naming of based on the error message.
Not clear this has anything to do with the changes in #3141 as the method and property names should have been the only to have been affected.