[wpt-sync] Sync PR 22333 - Deduplicate document policy violation report
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox79 fixed)
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22333 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22333
Details from upstream follow.
Charlie Hu <chenleihu@google.com> wrote:
Deduplicate document policy violation report
Most image policies can report multiple violations for a single cause(same image not following the rule) during layout, e.g. An unoptimized-lossless-image's bpp(byte per pixel) value can change multiple times if the image is being scaled in an animation.
To avoid unnecessary duplicated reports being generated. This CL adds Hash method for DocumentPolicyViolationReportBody to uniquely identify each report and avoid the duplication by remembering these hash values in ExecutionContext and filter out reports that are in record.
Bug: 924684
Change-Id: I230e32801c77980573b5ed55064d46f94aed3060
Reviewed-on: https://chromium-review.googlesource.com/2078837
WPT-Export-Revision: 2aa06aa29464f351bc9d8120646fe85cfdd4db75
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
TIMEOUT: 4
Chrome
OK : 2
PASS : 2
Safari
TIMEOUT: 4
Links
Details
New Tests That Don't Pass
/document-policy/font-display/font-display-document-policy-reporting.tentative.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
font-display-late-swap Report Format: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
/document-policy/font-display/font-display-document-policy-report-only.tentative.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
font-display-late-swap Report Format: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
Comment 4•5 years ago
|
||
bugherder |
Description
•