Skip to content

[Feature]: Add location to WebError #39687

Closed

Description

@cpAdm

🚀 Feature Request

Add location method to WebError

Example

Just like ConsoleMessage.location() it should return:

{
  url: string,
  lineNumber: number,
  columnNumber: number,
}

Motivation

In our particular case we would like to know if the error is from a 3rd party. webError.page().url() can be used, however this is not useful if you have a 3rd party iframe that throws the error, since the page object refers to the outer page, not that of the iframe.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions