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

Spec suddenly introduces new variable, scriptResult #1855

Open
gsnedders opened this issue Nov 5, 2024 · 1 comment
Open

Spec suddenly introduces new variable, scriptResult #1855

gsnedders opened this issue Nov 5, 2024 · 1 comment

Comments

@gsnedders
Copy link
Member

https://w3c.github.io/webdriver/#execute-async-script

Let result be the result of calling execute a function body, with arguments body and arguments.

If scriptResult.[[Type]] is not normal, then reject promise with value scriptResult.[[Value]], and abort these steps.

scriptResult is not previously defined, and should presumably be result.

This goes back to 6166c07 when the remote end steps were significantly rewritten, back in 2018.

@whimboo
Copy link
Contributor

whimboo commented Nov 5, 2024

Yes, that's plausible. If you want to provide a PR I'm happy to review quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants