ariya/phantomjs — comment on commit 1531595d2e2a44c3b9ef425d78fa38614e3ab493
File:  line 0
By jonleighton:

@lfranchi I have been playing with this. I noticed that the console does not show stack traces like it does with "normal" pages. It shows the error message, but there's no ability to click an arrow and see the full trace.

I thought it was to do with this change, so I reverted and tried that, but actually whether the page contents are set to a real file or added by `setHtml` doesn't make a difference.

Do you know if this is a webkit issue? Or if there is a way around it?

(You can get a stack trace by setting the inspector to pause on exceptions, but it'd be nice if that wasn't necessary.)