[wpt-sync] Sync PR 65066 - permissions: await the declared change promise in worker.https.html
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65066 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65066
Details from upstream follow.
Brian Cardarella <bcardarella@gmail.com> wrote:
permissions: await the declared change promise in worker.https.html
The test stores the worker's change message as
changePromisebut awaitsmessagePromise, which is never declared:const changePromise = messageFrom(worker, "change"); const [{state:changedState}] = await Promise.all([messagePromise, setPermissionPromise]);The second line throws a ReferenceError in every browser, so the test cannot pass anywhere. This awaits the declared promise instead; nothing else changes.
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122930
| Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS: 1
Chrome
OK : 1
PASS: 1
Safari
OK : 1
FAIL: 1
Links
Comment 4•8 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/74a48eebf0fa
https://hg.mozilla.org/mozilla-central/rev/5727659d6a23
Description
•