Open Bug 1492020 Opened 7 years ago Updated 3 years ago

[wpt-sync] Sync PR 13042 - [service-workers] Ensure promises settle

Categories

(Core :: DOM: Service Workers, enhancement, P4)

enhancement

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13042 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13042 Details from upstream follow. Mike Pennisi <mike@mikepennisi.com> wrote: > [service-workers] Ensure promises settle > > Previously, two tests written using the `promise_test` API created > Promises which never settled: > > - `fetch-cors-xhr.https.html` - the unsettled promise did not effect > execution and only detracted from the clarity of the test. > - `websocket.https.html` - the unsettled promise prevented the execution > of the test's "cleanup" logic (iframe removal and worker > de-registration). > > Refactor the tests to help ensure that the Promises eventually settle.
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.