[wpt-sync] Sync PR 15955 - Change unoptimized-images feature policy to unoptimized-lossy-images.
Categories
(Testing :: web-platform-tests, enhancement, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream error])
Sync web-platform-tests PR 15955 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15955
Details from upstream follow.
Paul Meyer <paulmeyer@chromium.org> wrote:
Change unoptimized-images feature policy to unoptimized-lossy-images.
This makes it more clear that this policy applies only to lossy image
types (for now, just JPEG). This patch also makes the implementation
more generic in order to make the policy compatible with parsed
policy values and to pave the way for implementing a
lossless-enforcing version of the unoptimized-images policy as well.These changes have been pulled from a larger partially reviewed CL:
https://chromium-review.googlesource.com/c/chromium/src/+/1524869Bug: 942659
Change-Id: I0242ac900b1653b89d6d8dbd63616003dcaaba62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1531354
Commit-Queue: Paul Meyer \<paulmeyer@chromium.org>
Reviewed-by: Paul Meyer \<paulmeyer@chromium.org>
Reviewed-by: Robert Flack \<flackr@chromium.org>
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Reviewed-by: Ken Buchanan \<kenrb@chromium.org>
Reviewed-by: Ian Clelland \<iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644488}
Assignee | ||
Updated•6 years ago
|
Updated•3 years ago
|
Description
•