-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define which methods should provide a stacktrace #203
Comments
We do define at least one place where when a stack is expected: trace. In this instance, it's clear the behavior the developer wants. Is the ask here to require agents to include the stack in their side effect actions? Or is the ask to make it clearer that agents may include a stack? |
I see. So the requirement for console commands to have a stacktrace included only exists for |
@whimboo Would you be willing to submit a spec PR for this? I'm happy to review it |
@domfarolino I think it depends on the outcome of the above discussion. Can I assume that you all are fine with only |
Sure, thanks for clarifying. Yes I think that sounds good to me, and would match implementations (i.e., Chrome adding stack trace information for @terinjokes does this sound good? |
That clarification, that it's optional for other logging methods, sounds fine by me. |
This would align behavior in Chrome and the spec. Related discussions: - puppeteer/puppeteer#13264 - whatwg/console#203
This would align behavior in Chrome and the spec. Related discussions: - puppeteer/puppeteer#13264 - whatwg/console#203
In Chrome also the @domfarolino and @terinjokes does that still sound ok to you? |
Does |
While implementing
stacktrace
support for console API calls for the WebDriver BiDi support in Firefox I noticed differences between browsers. Per the specification we should include thestacktrace
for the following methods:Hereby Firefox does not add a stacktrace for calls to
warn()
, whereby Chrome does it.It would be easy to add, but in general it would be great to have the availability of the
stacktrace
for methods defined in the console specification.The text was updated successfully, but these errors were encountered: