[webkit-dev] Another WPT bite

Maciej Stachowiak mjs at apple.com
Tue May 9 11:10:36 PDT 2017



> On May 9, 2017, at 8:11 AM, Geoffrey Garen <ggaren at apple.com> wrote:
> 
>> What we're suggesting is to give preferential treatments to
>> testharness.js over js-test.js / js-test-pre.js when you were already
>> planning to write a test with the latter two scripts.
> 
> OK, I think this makes sense.
> 
> But I still think the very best kind of test is a flat file with 10-20 lines of code in it. Particularly for debugging JavaScript issues, large wrapper frameworks get in the way.
> 
>> - Tests would be more easily upstreamable to web-platform-tests, which are run by all major browser engines. This would help a lot in terms of interoperability. As previously discussed, Gecko and Blink already do automated export of tests to web-platform-tests. I believe we should do in the same direction and contribute more tests back.
> 
> I wonder why these other projects do automated export instead of incorporating testharness.js directly.

I don't think that's an "also", not an "instead". My understanding is that they do two-way sync with the web-platform-tests GitHub, so there's a process for downloading tests and upstreaming tests authored by their team. But they still have their own copy.

Regards,
Maciej

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20170509/48b5601b/attachment.html>


More information about the webkit-dev mailing list