Open
Bug 1781718
Opened 3 years ago
[wpt-sync] Sync PR 35243 - log the stack trace for unhandled rejection in promise_test
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(Not tracked)
NEW
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35243 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35243
Details from upstream follow.
fergald <fergal@chromium.org> wrote:
log the stack trace for unhandled rejection in promise_test
Currently we get no information about where the rejection occurred. This makes developing promise_tests painful.
With this change the stack is logged to the console.
An alternative is to insert it into the message but it's a multi-line string, so that's ugly and stacks on the console are more useful (click to open the file etc).
You need to log in
before you can comment on or make changes to this bug.
Description
•