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
BiDi script.callFunction
#34231
BiDi script.callFunction
#34231
Conversation
92e6ffa
to
e3a62ed
Compare
135a19d
to
48da123
Compare
|
cb691fe
to
e7b2b2d
Compare
e7b2b2d
to
f59b5e2
Compare
@whimboo PTAL |
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.
Thanks for the PR Maksim, a first round of comments. I'll try to use the tests against an implementation in Firefox and will re-review.
c77ce3c
to
65ca5de
Compare
@juliandescottes do you mean you'll use the implementation to find if any of the tests are broken in non-obvious ways? That seems useful, but just want to ensure that actually making the tests pass in Firefox isn't blocking review of this PR. |
@juliandescottes any updates on the PR? |
65ca5de
to
d3e04d4
Compare
Yes, it's just meant to check that there aren't asserts which are going to be challenging to satisfy for other vendors. I did the same for the evaluate test, which helped identifying that asserting line/column in stacktraces was not going to work out.
Sorry I've been delayed a bit, will try to give feedback today. |
Great, running the tests once to look for incorrect assumptions is very useful. If a test has regressed it's also reasonable to dig into what has happened. I just want to check that review of tests isn't tied to implementation progress, since that would become very difficult unless Chrome and Firefox are implementing the same features at the same time. (Coordinating roadmaps to some degree is a good idea for other reasons though.) |
I agree. I just happened to be starting the implementation of |
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.
Thanks. That looks fine to me and passes with Firefox against a dummy implementation of callFunction
. We can add more tests later on, would just be nice to have one for default values, see inline comment
@sadym-chromium Maybe we should start using a formatter for those tests? Not sure we have the tooling to enforce that, especially considering that tests can be contributed and synced from various repositories, but maybe we can just agree on one formatter and try to use it for our patches? We usually use the Black formatter at mozilla. Do you use a formatter on your side? |
I use some IDE auto-formatter, but would be happy to adopt some other later on. |
script.callFunction
BiDi method.