[wpt-sync] Sync PR 21185 - [WPT/common/security-features] Allow `excluded_tests` based on `expectation` value
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox74 fixed)
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 21185 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/21185
Details from upstream follow.
Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:
[WPT/common/security-features] Allow
excluded_tests
based onexpectation
valuePreviously:
excluded_tests
excluded selections
that have the same values for the fields included inselection_pattern
.However, as
selection_pattern
doesn't containexpectation
,
expectation
can't be used inexcluded_tests
, blocking [1].After this CL:
excluded_tests
excluded selections
that have the same values for all the fields (except forname
).For this purpose, this CL:
- Sets
delivery_key
forexcluded_selection
, so that
selections and excluded selections have the same set of fields.- Uses
dump_test_parameters()
rather thanselection_pattern
for exclusion matching (exclusion_dict
).- Applies exclusions after all overrides are processed.
This is a fix for cases like:
- "default" selection A
- "override" selection B, overriding A
- exclusion pattern E, matching B but not A
Previously: E excludes B but not A, so A is generated.
After this CL: B overrides A, then E excludes B.
As A is already overridden, no selections are generated.This CL doesn't change generated results, because before [1]
there are no cases hitting these issues.[1] https://chromium-review.googlesource.com/c/chromium/src/+/1991066
Bug: 906850
Change-Id: Ifa36167df710edd89d4e572346a3f1b928710119Reviewed-on: https://chromium-review.googlesource.com/1991074
WPT-Export-Revision: 251b4c4a6ac75b2f155403835dc33d4d5bc994bc
Assignee | ||
Comment 1•4 years ago
|
||
PR 21185 applied with additional changes from upstream: d0adb1443bac2da650b04db557cf38ae6b368071
Assignee | ||
Comment 2•4 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=5346f56cb9369969670d6e524dd9e10d21a1db73
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebc4e12919f6 [wpt PR 21185] - [WPT/common/security-features] Allow `excluded_tests` based on `expectation` value, a=testonly
Assignee | ||
Comment 4•4 years ago
|
||
Test result changes from PR not available.
Comment 5•4 years ago
|
||
bugherder |
Description
•