Closed Bug 1516306 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 14664 - [wpt/referrer-policy] Fix generator to support expansion=override

Categories

(Core :: DOM: Security, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 14664 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/14664
Details from upstream follow.

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:
>  [wpt/referrer-policy] Fix generator to support expansion=override
>  
>  Manual changes: generic/tools/generate.py. All others are generated.
>  
>  Previously, when there are two entries under "test_expansion"
>  in spec.src.json with the same selection path,
>  preceding one with expansion=default and
>  folllowing one with expansion=override,
>  two test files for each entry are generated.
>  
>  This caused duplicated test files (with different names and
>  the same contents) in ToT, and
>  would cause conflicting test files if we enable referrer-policy
>  tests on HTTPS.
>  
>  This CL suppresses generating test files for
>  the overridden entries, e.g. only generates one test file
>  for the folllowing entry with expansion=override
>  in the example case above.
>  
>  Bug: 906850
>  Change-Id: Ic294adc3d240f937e37d4df6c1acc60e9ead7d80
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1389926
>  WPT-Export-Revision: c586ad1c9cc6f0053e9c23a5b84f0dee1301d102
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/afa785dd5df5
[wpt PR 14664] - [wpt/referrer-policy] Fix generator to support expansion=override, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/990ddc026785
[wpt PR 14664] - [wpt/referrer-policy] Fix generator to support expansion=override, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.