If everything is OK, you can merge this pull request which will report the issue below to the repo, and update the underlying report file with a link to the said issue.
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.
This pull request was automatically created by Strudy upon detecting errors in Missing tasks in parallel steps in Picture-in-Picture.
Please check that these errors were correctly detected, and that they have not already been reported in https://github.com/w3c/picture-in-picture.
If everything is OK, you can merge this pull request which will report the issue below to the repo, and update the underlying report file with a link to the said issue.
Title: Missing tasks in parallel steps in Picture-in-Picture Tracked: N/A Repo: 'https://github.com/w3c/picture-in-picture'
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:
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.