Closed Bug 1679981 Opened 4 years ago Closed 2 years ago

Add support for stackTrace to Runtime.consoleAPICalled

Categories

(Remote Protocol :: CDP, task, P3)

task

Tracking

(firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: whimboo, Assigned: canadahonk)

References

Details

Attachments

(1 file)

Bug 1553854 will introduce the basic functionality for Runtime.consoleAPICalled but will not include stackTrace given that it is not always available.

We should figure out in how to get the stack trace retrieved from console API calls, and other console messages.

On bug 1680504 we will have to build the correct stack trace object. Getting it for this API will be easy afterward.

Depends on: 1680504
Component: CDP: Runtime → CDP

We can benefit from the WebDriver BiDi work over on bug 1731553.

Depends on: 1731553

Implements stackTrace for Runtime.consoleAPICalled. Added new tests
covering it as well. Tweaked internals for Runtime to have separate
functions for creating stack traces for console and exception types,
as they differ unfortunately.

Assignee: nobody → oj
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c8f63fdbe28d [cdp] Implement stackTrace for Runtime.consoleAPICalled r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: