[Webkit-unassigned] [Bug 208758] JSContext Inspector: CommandLineAPI `dir({a:1})` does not work - undefined is not an object (evaluating 'inspectedGlobalObject.console.dir')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 6 23:58:36 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=208758

--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to Devin Rousso from comment #2)
> (In reply to Joseph Pecoraro from comment #0)
> > Steps to Reproduce:
> > 1. Setup Safari to auto-inspect JSContexts
> > 2. $ jsc --remote-debug
> > 3. jsc> 123
> > 4. In JSContext Inspector evaluate: dir({a:1})
> >   => TypeError: undefined is not an object (evaluating 'inspectedGlobalObject.console.dir')
> 
> Interestingly, it looks like `console` and `globalThis.console` are
> `undefined` here too.  I'm not sure how that is possible ��

Ohhhh, this might just be `jsc` which purposely deletes `console`.

This might be my mistake then.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200307/fbb73663/attachment.htm>


More information about the webkit-unassigned mailing list