Fix coming up: https://chromium-review.googlesource.com/c/v8/v8/+/1291372
Yang On Tuesday, October 16, 2018 at 7:52:07 AM UTC+2, Dan Pike wrote: > > Does anyone use untemplated properties that store C++ Function callbacks? > Can you tell me what I’m doing wrong here, because I find that DevTools > causes my embedded V8 engine to assert() when I do that. > > > > A quick scan of the V8 code on the assert()’s call-stack leads me to the > following: > > > > > > In my case, the property that I clicked on in DevTools is not part of an > object template; it has been added dynamically to that object using code > that looks something like this: > > > > > > If I try to call the function using the property, V8 does actually invoke > *myCallback*() but, if I accidentally click on it while inspecting the > object in DevTools, then V8 asserts and blows up. > > > > Thank you for any help! > > > > Dan > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
