[wpt-sync] Sync PR 21123 - [WPT/common/security-features] Move per-project config into spec.src.json
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 21123 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/21123
Details from upstream follow.
Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:
[WPT/common/security-features] Move per-project config into spec.src.json
[1] will enable sub projects inheriting parent's
spec.src.json
,
in order to generate similar but subtlely different tests.
As a preparation for [1],
this CL centralizes per-project configs intospec.src.json
,
by moving config values from per-projectgenerate.py
intospec.src.json
.
spec_directory
is now the current directory,
or specified by the--spec
command line option,
while previously it is calculated based on the per-projectgenerate.py
's path.- Script paths (
helper_js
,sanity_checker_js
,spec_json_js
) are now hard-coded
(usingspec_directory
) incommon/security-features/tools/generate.py
.- Other config values are moved into
spec.src.json
.spec_json.js
is moved undergeneric/
, to a little centralize
generator-related files intogeneric/
.Generated files are affected because:
- Scripts (like
test-case.sub.js
) are now referenced as relative paths
from generated test HTMLs.disclaimer.template
is updated.Generated files will be updated in a separate CL [2].
[1] https://chromium-review.googlesource.com/c/chromium/src/+/1991066/
[2] https://chromium-review.googlesource.com/c/chromium/src/+/1992955/Bug: 906850
Change-Id: Id3b2a26b67296a1de2b682e07bdcf473f666cd25Reviewed-on: https://chromium-review.googlesource.com/1989718
WPT-Export-Revision: 8f6977e3c0b29bcedf14bd165aeaa8e87bd3795a
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=ec64939873e102880a85504224467decade36f73
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/888730e8fbcc [wpt PR 21123] - [WPT/common/security-features] Move per-project config into spec.src.json, a=testonly
Assignee | ||
Comment 3•4 years ago
|
||
Test result changes from PR not available.
Comment 4•4 years ago
|
||
bugherder |
Description
•