gecko-dev/testing/web-platform/tests/document-policy
Jan Wilken Dörrie ec0ec0cd75 Bug 1641474 [wpt PR 23822] - Revert "Deduplicate document policy violation report", a=testonly
Automatic update from web-platform-tests
Revert "Deduplicate document policy violation report"

This reverts commit a95e3a91191d90cbbdf322b85537b61d1da6f121.

Reason for revert: Likely culprit of https://crbug.com/1087277

Original change's description:
> 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 DocumentPolicyViolationReport to uniquely identify each report and avoid the duplication by remembering these hash values in LocalDOMWindow and filter out reports that are in record.
>
> Some existing web tests rely on the fact that multiple copies of same report generated in same document. This CL also worked around that to either help make reports generated unique or isolate test cases to different documents(iframes).
>
> Bug: 924684, 926199
> Change-Id: I230e32801c77980573b5ed55064d46f94aed3060
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2078837
> Commit-Queue: Charlie Hu <chenleihu@google.com>
> Reviewed-by: Daniel Cheng <dcheng@chromium.org>
> Reviewed-by: Jason Chase <chasej@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#772406}

TBR=dcheng@chromium.org,chasej@chromium.org,chenleihu@google.com

Change-Id: I92e14abb1538a8983fa0c6b1248b355fab024707
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 924684, 926199, 1087277
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218833
Reviewed-by: Jan Wilken Dörrie <jdoerrie@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#772589}

--

wpt-commits: ffd52947d3c8983ad1c9e61ea98654046a209362
wpt-pr: 23822
2020-06-01 14:03:12 +00:00
..
experimental-features Bug 1622819 [wpt PR 22277] - Migrate LayoutAnimations from feature policy to document policy, a=testonly 2020-04-13 14:08:02 +00:00
font-display Bug 1641474 [wpt PR 23822] - Revert "Deduplicate document policy violation report", a=testonly 2020-06-01 14:03:12 +00:00
reporting Bug 1622035 [wpt PR 22221] - Migrate UnsizedMedia from feature policy to document policy, a=testonly 2020-03-15 16:54:23 +00:00
required-policy
resources Bug 1616970 [wpt PR 21908] - Migrate image policies from feature policy to document policy, a=testonly 2020-03-13 16:46:49 +00:00
echo-policy-nested.html
echo-policy-nested.html.headers
echo-policy.py