Closed Bug 1663155 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25404 - testharness.js: Use the right function name in step_wait_func's assert() call

Categories

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

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>' wrote:

testharness.js: Use the right function name in step_wait_func's assert() call

Using "wait_for" in the call to assert() can lead users into thinking the
error is coming from EventWatcher.wait_for() rather than a call to
t.step_*() functions.

Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.