Closed Bug 1495499 Opened Last year Closed 11 months ago

[wpt-sync] Sync PR 13288 - Apply 'lazyload' feature policy for images

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

PR: https://github.com/web-platform-tests/wpt/pull/13288
Details from upstream follow.

Ehsan Karamad <ekaramad@chromium.org> wrote:
>  Apply 'lazyload' feature policy for images
>  
>  In CL 1171374 'lazyload' feature policy was introduced as a new
>  policy-controlled feature which would modify (restrict) the usage of the
>  lazyload attribute. The implementation only applied the feature to frame
>  owner elements. This CL extends the policy's coverage to images as well.
>  
>  Bug: 869492
>  Change-Id: I9a2bd309ac366b75308b657d3ea129a7717ad23f
>  Reviewed-on: https://chromium-review.googlesource.com/1251024
>  WPT-Export-Revision: 7c848b70518d64e59d02981661580dddd7742e00
Component: web-platform-tests → DOM
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 7 tests and 18 subtests
OK     : 7
PASS   : 10
FAIL   : 8

New tests that have failures or other problems:
/feature-policy/experimental-features/lazyload/lazyload-image-attribute-on-sanity-check-tentative.sub.html
    Verify 'lazyload' attribute state 'on' works as expected: image loads only when in viewport.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a65e858f724
[wpt PR 13288] - Apply 'lazyload' feature policy for images, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/dea9dd8aeafb
[wpt PR 13288] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7790718d63e6
[wpt PR 13288] - Apply 'lazyload' feature policy for images, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/33acf346b32f
[wpt PR 13288] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/7790718d63e6
https://hg.mozilla.org/mozilla-central/rev/33acf346b32f
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.