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

Prevent remove-a-track to recurse. #1022

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

Kaiido
Copy link
Contributor

@Kaiido Kaiido commented Dec 3, 2024

The remove-a-track algorithm currently uses a link to itself in its step 2, making it an endless loop.
Here we're not calling that algorithm again, we're just using the track set's remove method (from infra: https://infra.spec.whatwg.org/#list-remove).

(Ps: [editorial] and [non-substantive])


💥 Error: 500 Internal Server Error 💥

PR Preview failed to build. (Last tried on Dec 3, 2024, 8:10 AM UTC).

More

PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

🚨 Spec Generator - Spec Generator is the web service used to build specs that rely on ReSpec.

🔗 [Related URL]([object Object])

Timed out after waiting 30000ms

If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.

Making this "Remove" a link to the algorithm was making the algorithm loop endlessly. Here we're not calling that algorithm again, we're just using the track set's remove method (from infra: https://infra.spec.whatwg.org/#list-remove).
@w3cbot
Copy link

w3cbot commented Dec 3, 2024

dontcallmedom marked as non substantive for IPR from ash-nazg.

Copy link
Member

@dontcallmedom dontcallmedom left a comment

Choose a reason for hiding this comment

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

thanks! LGTM with a minor suggested improvement

getusermedia.html Outdated Show resolved Hide resolved
This makes it clear that we deal with the set instead of the current algorithm.

Co-authored-by: Dominique Hazael-Massieux <dom@w3.org>
@alvestrand alvestrand merged commit 161b2d7 into w3c:main Dec 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants