-
Notifications
You must be signed in to change notification settings - Fork 70
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
RFC 211: Support testdriver.js in other test types #211
RFC 211: Support testdriver.js in other test types #211
Conversation
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.
LGTM
@jgraham could you review? We need this in order to test customizable select menus, among other things. Thanks! |
Here are the relevant meeting notes from this week's discussion. |
So, in principle I support the idea of this. In practice it's really hard for Gecko to implement at the moment, because we have a specific internal endpoint for running reftests, and although it's not impossible to imagine a mechanism to allow it to be interrupted, it feels likely to be challenging. In theory we could fall back to the more standard reftest implementation only for these reftests, allowing an implementation much more similar to the WebDriver one, although that might represent a surprising amount of behaviour change. Also in the meeting @gsnedders brought up some concerns that even with this support some of the use cases listed might be challenging to support cross-browser. In particular, testing |
I thought with this change, reftests do not use testdriver should continue to work as usual? Jonathan has a draft PR here: web-platform-tests/wpt#48486.
Maybe in this RFC our goal is to enable testdriver for reftests, crash tests etc? Other issues should be addressed separately. Popup window is an issue even for now, right? |
Just to clarify, there are two "modes" that |
Also, add the user cases mentioned in [0]. [0]: web-platform-tests/wpt#13183 (comment)
Edited the "Risks" section a bit to capture the practical implementation challenges discussed. PTAL @jgraham @gsnedders |
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.
I think it's true that the only real risk here is with the internal Marionette runner; otherwise this has broadly seemed like a good idea for a while.
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.
I think this is OK; a Gecko implementation that falls back to the WebDriver-style external runner isn't ideal, but it's likely better than not having the feature at all.
7ee02b9
to
5b4c66a
Compare
@web-platform-tests/wpt-core-team Ready to land? |
Thanks! |
Rendered
Tracking issue: web-platform-tests/wpt#13183
Prototype implementation: web-platform-tests/wpt#48486
CC: @mfreed7 @WeizhongX