Skip to content

[Gecko Bug 1920115] Allow selecting tasks from all existing web schedulers for main thread#50908

Merged
moz-wptsync-bot merged 2 commits into
masterfrom
gecko/1920115
Apr 1, 2025
Merged

[Gecko Bug 1920115] Allow selecting tasks from all existing web schedulers for main thread#50908
moz-wptsync-bot merged 2 commits into
masterfrom
gecko/1920115

Conversation

@moz-wptsync-bot
Copy link
Copy Markdown
Collaborator

This is a missing step in the current implementation. When we about
to select a task, it should pick one from all scheduled tasks, including
the ones scheduled by different schedulers.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1920115
gecko-commit: 7522970c5a1d2f0cb2dad9cd4249ae5d0e222c14
gecko-reviewers: jjaschke, smaug

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.

This is a missing step in the current implementation. When we about
to select a task, it should pick one from all scheduled tasks, including
the ones scheduled by different schedulers.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1920115
gecko-commit: 41d90165c19adfa61486484b7ffb5ccab599461c
gecko-reviewers: jjaschke, smaug
Instead of passing a single `AbortSignal` argument to `CreateTask`,
we now separate it into a `AbortSignal` and a `TaskSignal`. They
could be the same when `TaskController` is used, and if its
`AbortController`, only `AbortSignal` is non-null.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1920115
gecko-commit: 00dc9f4af854b9ad0096aabf57e8a9cb19fda858
gecko-reviewers: smaug
@moz-wptsync-bot moz-wptsync-bot merged commit fc9db69 into master Apr 1, 2025
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1920115 branch April 1, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment