Closed Bug 1578429 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18800 - [WPT/referrer-policy] Dedup some similar <srcdoc>-related tests

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:

[WPT/referrer-policy] Dedup some similar <srcdoc>-related tests

[1] will
(a) rename test files largely,
(b) split out \<srcdoc>-related subtests for image requests
into separate test files, and
(c) omit some of the subtests, because they are redundant,
or due to mismatches between how tests are executed
before and after [1].

It is hard to track the mixture of (a), (b) and (c),
especially to see whether there are regressions by [1].

To remove the effect of (c) to some extent,
this CL skips some \<srcdoc>-related tests (before [1]).
Ideally, if we can omit (c) from [1], then we can estimate
the number of passing/failing tests before/after [1]
by simple calculation, making it easier to check whether
[1] causes regressions.

The skipped tests have similar (non-skipped) tests so I expect
this CL doesn't substantially reduce test coverage.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1586548/

Bug: 906850
Change-Id: I4b791ba3a6b7512fea1a2e4debf67f382b966906

Reviewed-on: https://chromium-review.googlesource.com/1777094
WPT-Export-Revision: 455fdeac648b7587cb6afe53dec1d947ad9abdfe

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 500 tests and 1237 subtests
OK     : 500
PASS   : 1235
FAIL   : 2
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7eaaf0ffbbf0
[wpt PR 18800] - [WPT/referrer-policy] Dedup some similar <srcdoc>-related tests, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.