[wpt-sync] Sync PR 21217 - [WPT/common/security-features] Support sub projects and split referrer-policy 4K tests
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox74 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Attachments
(1 file)
|
89.59 KB,
text/plain
|
Details |
Sync web-platform-tests PR 21217 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/21217
Details from upstream follow.
Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:
[WPT/common/security-features] Support sub projects and split referrer-policy 4K tests
This CL implements the support for sub projects in common/security-features infra,
to support similar but slightly different generated tests.
See README.md changes for how it works.
Particularly, this CL implements logics to read and merge multiplespec.src.jsons,
and include multipletest-case.sub.jsin generated tests.By using sub projects, this CL split referrer-policy tests for
4KB referrer policy length limitations into separate generated files under
e.g.referrer-policy/4K/gen/.
Previously, the 4KB limit tests are done within the same files as
the main referrer-policy tests. They required multiple forward and back
navigations viahistory.replaceStateandhistory.back
within a single generated test,
and this hit race conditions and interoperability issues,
especially aroundhistory.backnavigations +\<iframe>navigations.
After this CL, only one forward navigation occurs per one test file.This CL doesn't affect existing generated files, because they
don't use sub projects.
The newly generated files underreferrer-policy/4K*will be added by
https://chromium-review.googlesource.com/c/chromium/src/+/1993003/.Bug: 906850
Change-Id: Ic2d3de0492b097adf293f55ebcbe4690065e4ba8Reviewed-on: https://chromium-review.googlesource.com/1991066
WPT-Export-Revision: 191862fabf255a3b1af7cfb11bd3a7e0f52bbe49
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
Comment 5•6 years ago
|
||
| bugherder | ||
Description
•