Closed Bug 1586648 Opened 6 years ago Closed 1 year ago

[wpt-sync] Sync PR 19540 - Wait for a promise returned by reg.unregister() in wpt

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Makoto Shimazu <shimazu@chromium.org> wrote:

Wait for a promise returned by reg.unregister() in wpt

add_completion_callback() doesn't wait for settling a promise. This replaces it
with promise_test().

R=yhirano@chromium.org

Bug: none
Change-Id: I58f4dceacbad533390997e55610875376e9f63ae
Reviewed-on: https://chromium-review.googlesource.com/1844006
WPT-Export-Revision: 057a29f90bbee84e28c639feb4b35998b2414ce3

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Severity: normal → S3
Status: REOPENED → RESOLVED
Closed: 5 years ago1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.