Closed Bug 1540393 Opened 10 months ago Closed 9 months ago

[wpt-sync] Sync PR 16113 - Change unoptimized-images feature policy to unoptimized-lossy-images.

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

PR: https://github.com/web-platform-tests/wpt/pull/16113
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/+/1524869

Bug: 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}

PR 16113 applied with additional changes from upstream: 3894f179195a675bf15a8d7aa25bb261701541bc
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Failed to get results from try push
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/614122ed4f55
[wpt PR 16113] - Change unoptimized-images feature policy to unoptimized-lossy-images., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e76da31c2ad1
[wpt PR 16113] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b7a6db8ce61f
[wpt PR 16113] - Change unoptimized-images feature policy to unoptimized-lossy-images., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/b679c2b5b933
[wpt PR 16113] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.