Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command-line arguments to js2gtest generated tests.
This will allow testing behavior behind a flag using generated WebUIBrowserTests (specifically, this is to unblock Polymer browser tests for projects behind flags, e.g. --enable-md-settings or --enable-media-router). js2gtest tests can specify their flags on their test fixture's prototype, e.g.: ... browsePreload: 'chrome://md-settings', commandLineSwitches: [{ switchName: '--some-switch', switchValue: 'someValue' }, { switchName: '--enable-boolean-switch' }], ... Review URL: https://codereview.chromium.org/1196513002 Cr-Commit-Position: refs/heads/master@{#335894}
- Loading branch information