Skip to content

Define which methods should provide a stacktrace #203

Open
@whimboo

Description

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 the stacktrace for the following methods:

If method is "assert", "error", "trace", or "warn", let stack be the current stack trace. Otherwise let stack be null.

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions