Run WPT .any.js and .worker.js variations in run-webkit-tests
When .any.js and .worker.js files are seen during MANIFEST generation they are mapped to .any.html, .any.worker.html, and .worker.html files as appropriate which WPTServe will generate on-the-fly. This allows for easy testing of [Exposed=(Window,Worker)] APIs and tests that are simply script with no boilerplate HTML. These are now supported in run-webkit-tests. When specifying tests to run, the source name should be specified, for example: $ run-webkit-test external/wpt/storage/interfaces.worker.js But expectations will use the generated name, e.g.: external/wpt/storage/interfaces.worker-expected.txt And failures will be reported under the generated name: external/wpt/storage/interfaces.worker.html This change is based on jsbell's crrev.com/2767673002. Bug: 703837 Change-Id: I063b18f44e0460932c3fe8114420a327f1b1e088 Reviewed-on: https://chromium-review.googlesource.com/574645 Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org> Reviewed-by:Quinten Yearsley <qyearsley@chromium.org> Reviewed-by:
Jeff Carpenter <jeffcarp@chromium.org> Reviewed-by:
Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#487304}
Showing
This diff is collapsed.
Please register or sign in to comment