Bug 264948 - Enable specifying webkit-test-runner header values from a command-line option
Summary: Enable specifying webkit-test-runner header values from a command-line option
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: sideshowbarker
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-16 07:14 PST by sideshowbarker
Modified: 2024-01-30 10:04 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sideshowbarker 2023-11-16 07:14:28 PST
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.
Comment 1 sideshowbarker 2023-11-16 07:48:37 PST
Pull request: https://github.com/WebKit/WebKit/pull/20608
Comment 2 Radar WebKit Bug Importer 2023-11-23 07:15:15 PST
<rdar://problem/118747902>
Comment 3 EWS 2024-01-30 10:04:27 PST
Committed 273763@main (b3cdd4ed520f): <https://commits.webkit.org/273763@main>

Reviewed commits have been landed. Closing PR #20608 and removing active labels.