Closed Bug 1557471 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 17213 - Ignore the stacktrace when checking errors

Categories

(Core :: DOM: Web Payments, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync upstream])

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

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

Danyao Wang <danyao@chromium.org> wrote:

Ignore the stacktrace when checking errors

Fix a test regression introduced by https://github.com/web-platform-tests/wpt/pull/12713.

These tests use assert_array_equals on e.data.details. Pull/12713 changed the expected length of e.data.details by also including the error stacktrace as a 4th element. This pull request changes the tests to only check for the first 3 elements.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/547a3aff362c [wpt PR 17213] - Ignore the stacktrace when checking errors, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Whiteboard: [wptsync downstream error] → [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.