[webkit-dev] WPT tests and runtime-enabled features
youennf at gmail.com
Fri Jun 2 16:03:44 PDT 2017
Yes this is something we should have a solution for. Right now, we have two
- Enabling the runtime-enabled flag only in DumpRenderTree/WebKitTestRunner
- Updating WebKit testharnessreport.js to call internal APIs for some/all
Ideally, we should be able to set additional configuration information to
WPT tests without modifying them.
A configuration file alongside the WPT test might be feasible and could
supersede the <!--- webkit-test-runner [enableFeatureName=true] -->
Folder-based hierarchical configuration might be nice but I am unsure
whether that would meet the complexity tradeoff bar.
Nothing yet started there so any help would be greatly appreciated!
Le ven. 2 juin 2017 à 13:37, Ali Juma <ajuma at chromium.org> a écrit :
> Hi all,
> While a feature is in development behind a runtime-enabled flag, is there
> a way to write tests in web-platform-tests that enable the feature when
> they're run as part of LayoutTests? Adding "<!--- webkit-test-runner
> [enableFeatureName=true] -->" tags would technically work but seems a bit
> The point of this would be to be able to use web platform tests as
> regression tests while developing a feature, allowing the tests to be
> upstreamed sooner and saving having to write them outside of
> web-platform-tests first and then move them over later.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev