Bug 264948
| Summary: | Enable specifying webkit-test-runner header values from a command-line option | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | sideshowbarker <mike> |
| Component: | Tools / Tests | Assignee: | sideshowbarker <mike> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=280053 | ||
sideshowbarker
Add a new option to Tools/Scripts/run-webkit-tests (and WebKitTestRunner) to enable specifying webkit-test-runner Foo=bar header values for test runs — as if those values were provided in a “<!-- webkit-test-runner [ Foo=Bar ] -->” header within each test being run.
For example, given the following command-line invocation:
run-webkit-tests --additional-header='useEphemeralSession=true' imported/w3c/web-platform-tests/clear-site-data/storage.https.html
…that invocation would cause the given test to be run in an ephemeral session — that is, as if the test itself had a “<!-- webkit-test-runner [ useEphemeralSession=true ] -->” header.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
sideshowbarker
Pull request: https://github.com/WebKit/WebKit/pull/20608
Radar WebKit Bug Importer
<rdar://problem/118747902>
EWS
Committed 273763@main (b3cdd4ed520f): <https://commits.webkit.org/273763@main>
Reviewed commits have been landed. Closing PR #20608 and removing active labels.