Skip to content

[Gecko Bug 2028907] Part 2: Re-work tests that don't work with #wait-for-all.#59308

Merged
foolip merged 1 commit intomasterfrom
gecko/2028907
May 4, 2026
Merged

[Gecko Bug 2028907] Part 2: Re-work tests that don't work with #wait-for-all.#59308
foolip merged 1 commit intomasterfrom
gecko/2028907

Conversation

@moz-wptsync-bot
Copy link
Copy Markdown
Collaborator

The issue is that when there are no intercept handlers, or the handlers
provide a result immediately by returning or resolving/rejecting. This
will mean that the reactions for committed and finished will run in the
same microtask, which is correct according to spec.

Differential Revision: https://phabricator.services.mozilla.com/D291776

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2028907
gecko-commit: 289586a1a04ef5ebb259721340de41f5ecdd92cd
gecko-commit-git: ebed8d507ea5c9740c9916d9b5a7aef7f11b3fa1
gecko-reviewers: dom-core, jjaschke

The issue is that when there are no intercept handlers, or the handlers
provide a result immediately by returning or resolving/rejecting. This
will mean that the reactions for committed and finished will run in the
same microtask, which is correct according to spec.

Differential Revision: https://phabricator.services.mozilla.com/D291776

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2028907
gecko-commit: 289586a1a04ef5ebb259721340de41f5ecdd92cd
gecko-commit-git: ebed8d507ea5c9740c9916d9b5a7aef7f11b3fa1
gecko-reviewers: dom-core, jjaschke
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

@farre
Copy link
Copy Markdown
Contributor

farre commented Apr 17, 2026

@noamr , @zcorpan: Here's a batch of ordering fixes. This is the spec trace I used when reworking them.

@jgraham
Copy link
Copy Markdown
Contributor

jgraham commented Apr 23, 2026

@foolip Assuming the thumbs up means that @noamr is OK with this, can you approve on behalf of @web-platform-tests/interop ?

@noamr
Copy link
Copy Markdown
Contributor

noamr commented Apr 29, 2026

I see that this closed without merging @farre ?

@farre
Copy link
Copy Markdown
Contributor

farre commented Apr 29, 2026

I don't know. @jgraham do you?

@farre farre reopened this Apr 29, 2026
@jgraham jgraham reopened this Apr 29, 2026
@foolip foolip merged commit 3248b40 into master May 4, 2026
44 of 45 checks passed
@foolip foolip deleted the gecko/2028907 branch May 4, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants