We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Partly motivated by web-platform-tests/wpt#48825:
What should be the behaviour of:
def test_window_navigates(session): session.url = "about:blank" response = execute_async_script(session, """ let resolve = arguments[0]; setTimeout(() => resolve(), 10000); location = "about:blank?new_url"; """) assert_error(response, "script timeout")
Currently:
As far as I can tell, we should fall into:
If promise is still pending and timer's timeout fired flag is set, return error with error code script timeout.
…because the setTimeout call never calls its argument.
setTimeout
And thus the command should always take the current script timeout to complete. (It doesn't in any browser.)
This seems wrong, and we should move towards interop here.
The text was updated successfully, but these errors were encountered:
This is a dupe of #1708, right?
Sorry, something went wrong.
No branches or pull requests
Partly motivated by web-platform-tests/wpt#48825:
What should be the behaviour of:
Currently:
As far as I can tell, we should fall into:
…because the
setTimeout
call never calls its argument.And thus the command should always take the current script timeout to complete. (It doesn't in any browser.)
This seems wrong, and we should move towards interop here.
The text was updated successfully, but these errors were encountered: