Open Bug 1857790 Opened 1 year ago Updated 1 year ago

Add the option to enable lazy image loading when JavaScript is disabled

Categories

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

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: jannayurevna1979, Unassigned)

References

Details

Steps to reproduce:

I suggest adding something like dom.image-lazy-loading.enabled which will have 3 states (no difference in order): 0 (default), 1 (enabled) and 2 (disabled).
0 (default): lazy loading will be disabled if JavaScript is disabled, as it works now (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#lazy).
1: lazy loading is always enabled
2: lazy loading is always disabled

Actual results:

I disable JavaScript for less traffic usage and improve performance, and expect lazy image loading to work. It doesn't.

Expected results:

See above.

The pref dom.image-lazy-loading.enabled was removed by Bug 1842984.

See Also: → 1856125
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.