-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
browser: race fixes #4523
browser: race fixes #4523
Conversation
8fb90fc
to
86c387b
Compare
The base branch was changed.
86c387b
to
1d973b1
Compare
Specifically for: - dbclick - dispatchEvent - fill - focus - getAttribute - hover - innerHTML - innerText - inputValue
1d973b1
to
e10baf2
Compare
@@ -45,18 +45,23 @@ func mapFrame(vu moduleVU, f *common.Frame) mapping { | |||
return f.Content() //nolint:wrapcheck | |||
}) | |||
}, | |||
"dblclick": func(selector string, opts sobek.Value) *sobek.Promise { | |||
"dblclick": func(selector string, opts sobek.Value) (*sobek.Promise, error) { | |||
popts := common.NewFrameDblClickOptions(f.Timeout()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just as a comment, in this scope, what is the meaning of pops
? Parsed options? It sounds a bit ambiguous to me. We should change to something else where it is or Frame Options or the specific DB Options, which converts to fopts
or dbopts
. I prefer the latter.
Of course, all of this, not in this pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is parsed options and was what was used in the code that we pull out so it isn't in a separate goroutine.
What?
Fixing more page and frame (where they intersect) mappings
Why?
Checklist
make lint
) and all checks pass.make tests
) and all tests pass.Related PR(s)/Issue(s)