Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1791332] Add an OPFS-specific synchronous ordered cleanup queue #36182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moz-wptsync-bot
Copy link
Collaborator

The default test.add_cleanup() code from testharness.js in wpt executes the
cleanups in parallel, and even if it wasn't in parallel it would be in FIFO
order (the wrong order).

This adds an OPFS-specific cleanup queue called once from the test cleanup
list, and we process the list synchronously in LIFO order.

Depends on D146203

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1791332
gecko-commit: 388419886525a4b8d6be986bc890f09e6c16052d
gecko-reviewers: asuth, dom-storage-reviewers

The default test.add_cleanup() code from testharness.js in wpt executes the
cleanups in parallel, and even if it wasn't in parallel it would be in FIFO
order (the wrong order).

This adds an OPFS-specific cleanup queue called once from the test cleanup
list, and we process the list synchronously in LIFO order.

Depends on D146203

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1791332
gecko-commit: 388419886525a4b8d6be986bc890f09e6c16052d
gecko-reviewers: asuth, dom-storage-reviewers
Copy link
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.

@jgraham jgraham closed this Oct 13, 2022
@jgraham jgraham reopened this Oct 13, 2022
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.

None yet

3 participants