Not sure whether that's the right place to add it. For uncaught exceptions we have v8::Isolate::AddMessageListener that adds a callback. Maybe we could model it the same way, or even piggyback onto it?
On Wed, Jan 6, 2016 at 10:26 PM Adam Klein <[email protected]> wrote: > Seems like this is something we could add to v8::Platform, then. > > On Wed, Jan 6, 2016 at 1:00 PM, Yang Guo <[email protected]> wrote: > >> The console object is provided by the embedder. I dont think we have a >> way to pass warnings to Chrome. >> >> Yang >> >> On Wed, Jan 6, 2016, 20:22 Adam Klein <[email protected]> wrote: >> >>> I'm looking for how I might go about wiring up a deprecation message for >>> Object.observe, and searching for "console" in v8.h didn't net me anything. >>> Anyone know if we have something for this or if it's something we need to >>> add? >>> >>> - Adam >>> >>> -- >>> -- >>> 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. >>> >> -- >> -- >> 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. >> > > -- > -- > 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. > -- -- 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.
