Missing tasks in parallel steps in WebDriver
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
While crawling WebDriver, 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 remote end steps, given session, URL variables and parameters are:" resolves/rejects a promise directly in a step that runs in parallel
- The algorithm that starts with "The remote end steps, given session, URL variables and parameters are:" 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebDriver execute-script and execute-async-script algorithms linked in the issue, then read HTML's “Dealing with the event loop” guidance. Check each remote end steps section for promise resolution or rejection inside an in-parallel step. Done means both algorithms follow the required task-queuing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100