Open Bug 1738962 Opened 3 years ago

[wpt-sync] Sync PR 31474 - testharness.js: stack traces for rejected errors

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31474 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31474
Details from upstream follow.

Luca Casonato <hello@lcas.dev> wrote:

testharness.js: stack traces for rejected errors

This commit changes testharness.js to include stack traces for errors that are rejected from a promise_test in the assertion error that creates.

You need to log in before you can comment on or make changes to this bug.