Skip to content
New issue

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

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

Already on GitHub? # to your account

Missing tasks in parallel steps in Picture-in-Picture #230

Open
2 tasks
dontcallmedom-bot opened this issue Sep 10, 2024 · 0 comments · May be fixed by #233
Open
2 tasks

Missing tasks in parallel steps in Picture-in-Picture #230

dontcallmedom-bot opened this issue Sep 10, 2024 · 0 comments · May be fixed by #233
Assignees

Comments

@dontcallmedom-bot
Copy link

While crawling Picture-in-Picture, the following algorithms fire an event, or resolve or reject a Promise, within a step that runs in parallel without first queuing a task:

  • The algorithm that starts with "The requestPictureInPicture() method, when invoked, MUST return a new promise promise and run the following steps in parallel:" resolves/rejects a promise directly in a step that runs in parallel
  • The algorithm that starts with "The exitPictureInPicture() method, when invoked, MUST return a new promise promise and run the following steps in parallel:" resolves/rejects a promise directly in a step that runs in parallel

See Dealing with the event loop in the HTML specification for guidance on how to deal with algorithm sections that run in parallel.

Cc @dontcallmedom @tidoust

This issue was detected and reported semi-automatically by Strudy based on data collected in webref.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@markafoltz @dontcallmedom-bot and others