Skip to content

Chromium interprets normalized error stack wrongly #1213

@xmedeko

Description

@xmedeko

We use Electron.js with Intern tests running in the rendered (browser) process. When the test throws an error, Intern's ErrorFormatter._normalizeStackTrace changed stacktrace from

Error: err msg
  at SomeFile.method (file:///C:/workdir/project/SomeFile.js:26:7)

to:

Error: err msg
  at SomeFile.method @ file:///C:/workdir/project/SomeFile.js:26:7

Chromium DevTools console changes the later format to a link pointing to file:///C:/prace/workdir/node_modules/intern/SomeFile.method which is wrong and click to it does not show me the source of the problem.

Please, do not change the stacktrace format or add some option to skip stacktrace normalization. Outputting raw stacktrace work fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions