Rename AbortFollower to something that matches the latest spec
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
People
(Reporter: vhilla, Assigned: saschanaz)
References
()
Details
Bug 1830781 implemented AbortSignal.any(). The according spec PR also removes the follow algorithm and mentions some follow-up work to remove its usages:
Assignee | ||
Comment 1•9 months ago
•
|
||
But we still need something corresponding to "add algorithm to AbortSignal" and so far AbortFollower was used for that internally. Can we just rename it and keep it?
Reporter | ||
Comment 2•9 months ago
|
||
Renaming seems like a good idea.
I briefly looked through the follow-up work and PR 1646 appears to be the only one that replaces a usage of follow with AbortSignal.any()
. I'm not familiar with our fetch code, but it could be beneficial to replicate this change so that our implementation stays close to the spec.
Assignee | ||
Comment 3•9 months ago
|
||
I don't think this needs dev doc? This should be just an internal refactoring.
Assignee | ||
Comment 4•1 month ago
|
||
We should also remove AbortFollower inheritance in AbortSignal.
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Description
•