Navigation in `execute a function body` should abort script execution
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
If a navigation happens while a script is getting executed the script would always timeout if there isn't an early break out. As of now there is nothing listed in the Webdriver spec:
https://w3c.github.io/webdriver/#execute-script#x13-2-executing-script
With Marionette/geckodriver we currently return a JavascriptError.
CC'ing @jgraham, @andreastt, @AutomatedTester, @shs96c.
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
Read the WebDriver specification's “execute a function body” section first, then compare its stated behavior with the reported Marionette/geckodriver result. Done means the specification explicitly defines how navigation interrupts script execution and the resulting error behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100